Package com.google.protobuf
Interface DescriptorProtos.FieldOptionsOrBuilder
-
- All Superinterfaces:
GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FieldOptions>,MessageLiteOrBuilder,MessageOrBuilder
- All Known Implementing Classes:
DescriptorProtos.FieldOptions,DescriptorProtos.FieldOptions.Builder
- Enclosing class:
- DescriptorProtos
public static interface DescriptorProtos.FieldOptionsOrBuilder extends GeneratedMessageV3.ExtendableMessageOrBuilder<DescriptorProtos.FieldOptions>
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DescriptorProtos.FieldOptions.CTypegetCtype()optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];booleangetDeprecated()optional bool deprecated = 3 [default = false, json_name = "deprecated"];DescriptorProtos.FieldOptions.JSTypegetJstype()optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];booleangetLazy()optional bool lazy = 5 [default = false, json_name = "lazy"];booleangetPacked()optional bool packed = 2 [json_name = "packed"];DescriptorProtos.UninterpretedOptiongetUninterpretedOption(int index)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];intgetUninterpretedOptionCount()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];java.util.List<DescriptorProtos.UninterpretedOption>getUninterpretedOptionList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];DescriptorProtos.UninterpretedOptionOrBuildergetUninterpretedOptionOrBuilder(int index)repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder>getUninterpretedOptionOrBuilderList()repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];booleangetUnverifiedLazy()optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];booleangetWeak()optional bool weak = 10 [default = false, json_name = "weak"];booleanhasCtype()optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];booleanhasDeprecated()optional bool deprecated = 3 [default = false, json_name = "deprecated"];booleanhasJstype()optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];booleanhasLazy()optional bool lazy = 5 [default = false, json_name = "lazy"];booleanhasPacked()optional bool packed = 2 [json_name = "packed"];booleanhasUnverifiedLazy()optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];booleanhasWeak()optional bool weak = 10 [default = false, json_name = "weak"];-
Methods inherited from interface com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder
getDefaultInstanceForType, getExtension, getExtension, getExtension, getExtension, getExtension, getExtension, getExtensionCount, getExtensionCount, getExtensionCount, hasExtension, hasExtension, hasExtension
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCtype
boolean hasCtype()
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];- Returns:
- Whether the ctype field is set.
-
getCtype
DescriptorProtos.FieldOptions.CType getCtype()
optional .google.protobuf.FieldOptions.CType ctype = 1 [default = STRING, json_name = "ctype"];- Returns:
- The ctype.
-
hasPacked
boolean hasPacked()
optional bool packed = 2 [json_name = "packed"];- Returns:
- Whether the packed field is set.
-
getPacked
boolean getPacked()
optional bool packed = 2 [json_name = "packed"];- Returns:
- The packed.
-
hasJstype
boolean hasJstype()
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];- Returns:
- Whether the jstype field is set.
-
getJstype
DescriptorProtos.FieldOptions.JSType getJstype()
optional .google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL, json_name = "jstype"];- Returns:
- The jstype.
-
hasLazy
boolean hasLazy()
optional bool lazy = 5 [default = false, json_name = "lazy"];- Returns:
- Whether the lazy field is set.
-
getLazy
boolean getLazy()
optional bool lazy = 5 [default = false, json_name = "lazy"];- Returns:
- The lazy.
-
hasUnverifiedLazy
boolean hasUnverifiedLazy()
optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];- Returns:
- Whether the unverifiedLazy field is set.
-
getUnverifiedLazy
boolean getUnverifiedLazy()
optional bool unverified_lazy = 15 [default = false, json_name = "unverifiedLazy"];- Returns:
- The unverifiedLazy.
-
hasDeprecated
boolean hasDeprecated()
optional bool deprecated = 3 [default = false, json_name = "deprecated"];- Returns:
- Whether the deprecated field is set.
-
getDeprecated
boolean getDeprecated()
optional bool deprecated = 3 [default = false, json_name = "deprecated"];- Returns:
- The deprecated.
-
hasWeak
boolean hasWeak()
optional bool weak = 10 [default = false, json_name = "weak"];- Returns:
- Whether the weak field is set.
-
getWeak
boolean getWeak()
optional bool weak = 10 [default = false, json_name = "weak"];- Returns:
- The weak.
-
getUninterpretedOptionList
java.util.List<DescriptorProtos.UninterpretedOption> getUninterpretedOptionList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getUninterpretedOption
DescriptorProtos.UninterpretedOption getUninterpretedOption(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getUninterpretedOptionCount
int getUninterpretedOptionCount()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getUninterpretedOptionOrBuilderList
java.util.List<? extends DescriptorProtos.UninterpretedOptionOrBuilder> getUninterpretedOptionOrBuilderList()
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
getUninterpretedOptionOrBuilder
DescriptorProtos.UninterpretedOptionOrBuilder getUninterpretedOptionOrBuilder(int index)
repeated .google.protobuf.UninterpretedOption uninterpreted_option = 999 [json_name = "uninterpretedOption"];
-
-