Package com.google.protobuf
Class DescriptorProtos.DescriptorProto.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder>
-
- com.google.protobuf.DescriptorProtos.DescriptorProto.Builder
-
- All Implemented Interfaces:
DescriptorProtos.DescriptorProtoOrBuilder,MessageLite.Builder,MessageLiteOrBuilder,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.DescriptorProto
public static final class DescriptorProtos.DescriptorProto.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.DescriptorProto,DescriptorProtos.DescriptorProto.Builder> implements DescriptorProtos.DescriptorProtoOrBuilder
Protobuf typegoogle.protobuf.DescriptorProto
-
-
Field Summary
-
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.DescriptorProto.BuilderaddAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderaddAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderaddAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderaddAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderaddAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderaddAllOneofDecl(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderaddAllReservedName(java.lang.Iterable<java.lang.String> values)repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.BuilderaddAllReservedRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderaddEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderaddEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderaddExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderaddExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderaddExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderaddField(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderaddField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderaddField(DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderaddField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderaddNestedType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderaddNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderaddNestedType(DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderaddNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderaddOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderaddReservedName(java.lang.String value)repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.BuilderaddReservedNameBytes(ByteString value)repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.BuilderaddReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderaddReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderaddReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderaddReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderclearEnumType()repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderclearExtension()repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderclearExtensionRange()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderclearField()repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderclearName()optional string name = 1 [json_name = "name"];DescriptorProtos.DescriptorProto.BuilderclearNestedType()repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderclearOneofDecl()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderclearOptions()optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];DescriptorProtos.DescriptorProto.BuilderclearReservedName()repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.BuilderclearReservedRange()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuilderclearVisibility()optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];DescriptorProtos.EnumDescriptorProtogetEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];intgetEnumTypeCount()repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];java.util.List<DescriptorProtos.EnumDescriptorProto>getEnumTypeList()repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.FieldDescriptorProtogetExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];intgetExtensionCount()repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];java.util.List<DescriptorProtos.FieldDescriptorProto>getExtensionList()repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.ExtensionRangegetExtensionRange(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];intgetExtensionRangeCount()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange>getExtensionRangeList()repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.FieldDescriptorProtogetField(int index)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];intgetFieldCount()repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];java.util.List<DescriptorProtos.FieldDescriptorProto>getFieldList()repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];java.lang.StringgetName()optional string name = 1 [json_name = "name"];ByteStringgetNameBytes()optional string name = 1 [json_name = "name"];DescriptorProtos.DescriptorProtogetNestedType(int index)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];intgetNestedTypeCount()repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];java.util.List<DescriptorProtos.DescriptorProto>getNestedTypeList()repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.OneofDescriptorProtogetOneofDecl(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];intgetOneofDeclCount()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];java.util.List<DescriptorProtos.OneofDescriptorProto>getOneofDeclList()repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.MessageOptionsgetOptions()optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];java.lang.StringgetReservedName(int index)repeated string reserved_name = 10 [json_name = "reservedName"];ByteStringgetReservedNameBytes(int index)repeated string reserved_name = 10 [json_name = "reservedName"];intgetReservedNameCount()repeated string reserved_name = 10 [json_name = "reservedName"];java.util.List<java.lang.String>getReservedNameList()repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.ReservedRangegetReservedRange(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];intgetReservedRangeCount()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];java.util.List<DescriptorProtos.DescriptorProto.ReservedRange>getReservedRangeList()repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.SymbolVisibilitygetVisibility()optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];booleanhasName()optional string name = 1 [json_name = "name"];booleanhasOptions()optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];booleanhasVisibility()optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];DescriptorProtos.DescriptorProto.BuildermergeOptions(DescriptorProtos.MessageOptions value)optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];DescriptorProtos.DescriptorProto.BuilderremoveEnumType(int index)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuilderremoveExtension(int index)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuilderremoveExtensionRange(int index)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuilderremoveField(int index)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuilderremoveNestedType(int index)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuilderremoveOneofDecl(int index)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuilderremoveReservedRange(int index)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto value)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuildersetEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];DescriptorProtos.DescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuildersetExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];DescriptorProtos.DescriptorProto.BuildersetExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuildersetExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];DescriptorProtos.DescriptorProto.BuildersetField(int index, DescriptorProtos.FieldDescriptorProto value)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuildersetField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];DescriptorProtos.DescriptorProto.BuildersetName(java.lang.String value)optional string name = 1 [json_name = "name"];DescriptorProtos.DescriptorProto.BuildersetNameBytes(ByteString value)optional string name = 1 [json_name = "name"];DescriptorProtos.DescriptorProto.BuildersetNestedType(int index, DescriptorProtos.DescriptorProto value)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuildersetNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];DescriptorProtos.DescriptorProto.BuildersetOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuildersetOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];DescriptorProtos.DescriptorProto.BuildersetOptions(DescriptorProtos.MessageOptions value)optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];DescriptorProtos.DescriptorProto.BuildersetOptions(DescriptorProtos.MessageOptions.Builder builderForValue)optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];DescriptorProtos.DescriptorProto.BuildersetReservedName(int index, java.lang.String value)repeated string reserved_name = 10 [json_name = "reservedName"];DescriptorProtos.DescriptorProto.BuildersetReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuildersetReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];DescriptorProtos.DescriptorProto.BuildersetVisibility(DescriptorProtos.SymbolVisibility value)optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
-
-
-
Method Detail
-
hasName
public boolean hasName()
optional string name = 1 [json_name = "name"];- Specified by:
hasNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The name.
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The bytes for name.
-
setName
public DescriptorProtos.DescriptorProto.Builder setName(java.lang.String value)
optional string name = 1 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DescriptorProtos.DescriptorProto.Builder clearName()
optional string name = 1 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public DescriptorProtos.DescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
getFieldList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getFieldList()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];- Specified by:
getFieldListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getFieldCount
public int getFieldCount()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];- Specified by:
getFieldCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getField
public DescriptorProtos.FieldDescriptorProto getField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];- Specified by:
getFieldin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
setField
public DescriptorProtos.DescriptorProto.Builder setField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addField
public DescriptorProtos.DescriptorProto.Builder addField(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
addAllField
public DescriptorProtos.DescriptorProto.Builder addAllField(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
clearField
public DescriptorProtos.DescriptorProto.Builder clearField()
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
removeField
public DescriptorProtos.DescriptorProto.Builder removeField(int index)
repeated .google.protobuf.FieldDescriptorProto field = 2 [json_name = "field"];
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];- Specified by:
getExtensionListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];- Specified by:
getExtensionCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];- Specified by:
getExtensionin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
setExtension
public DescriptorProtos.DescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addExtension
public DescriptorProtos.DescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
addAllExtension
public DescriptorProtos.DescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
clearExtension
public DescriptorProtos.DescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
removeExtension
public DescriptorProtos.DescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 6 [json_name = "extension"];
-
getNestedTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getNestedTypeList()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];- Specified by:
getNestedTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedTypeCount
public int getNestedTypeCount()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];- Specified by:
getNestedTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getNestedType
public DescriptorProtos.DescriptorProto getNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];- Specified by:
getNestedTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
setNestedType
public DescriptorProtos.DescriptorProto.Builder setNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addNestedType
public DescriptorProtos.DescriptorProto.Builder addNestedType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
addAllNestedType
public DescriptorProtos.DescriptorProto.Builder addAllNestedType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
clearNestedType
public DescriptorProtos.DescriptorProto.Builder clearNestedType()
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
removeNestedType
public DescriptorProtos.DescriptorProto.Builder removeNestedType(int index)
repeated .google.protobuf.DescriptorProto nested_type = 3 [json_name = "nestedType"];
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];- Specified by:
getEnumTypeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];- Specified by:
getEnumTypeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];- Specified by:
getEnumTypein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
setEnumType
public DescriptorProtos.DescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addEnumType
public DescriptorProtos.DescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
addAllEnumType
public DescriptorProtos.DescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
clearEnumType
public DescriptorProtos.DescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
removeEnumType
public DescriptorProtos.DescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 4 [json_name = "enumType"];
-
getExtensionRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ExtensionRange> getExtensionRangeList()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];- Specified by:
getExtensionRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRangeCount
public int getExtensionRangeCount()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];- Specified by:
getExtensionRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getExtensionRange
public DescriptorProtos.DescriptorProto.ExtensionRange getExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];- Specified by:
getExtensionRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
setExtensionRange
public DescriptorProtos.DescriptorProto.Builder setExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange value)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addExtensionRange
public DescriptorProtos.DescriptorProto.Builder addExtensionRange(int index, DescriptorProtos.DescriptorProto.ExtensionRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
addAllExtensionRange
public DescriptorProtos.DescriptorProto.Builder addAllExtensionRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ExtensionRange> values)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
clearExtensionRange
public DescriptorProtos.DescriptorProto.Builder clearExtensionRange()
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
removeExtensionRange
public DescriptorProtos.DescriptorProto.Builder removeExtensionRange(int index)
repeated .google.protobuf.DescriptorProto.ExtensionRange extension_range = 5 [json_name = "extensionRange"];
-
getOneofDeclList
public java.util.List<DescriptorProtos.OneofDescriptorProto> getOneofDeclList()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];- Specified by:
getOneofDeclListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDeclCount
public int getOneofDeclCount()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];- Specified by:
getOneofDeclCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getOneofDecl
public DescriptorProtos.OneofDescriptorProto getOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];- Specified by:
getOneofDeclin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
setOneofDecl
public DescriptorProtos.DescriptorProto.Builder setOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto value)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addOneofDecl
public DescriptorProtos.DescriptorProto.Builder addOneofDecl(int index, DescriptorProtos.OneofDescriptorProto.Builder builderForValue)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
addAllOneofDecl
public DescriptorProtos.DescriptorProto.Builder addAllOneofDecl(java.lang.Iterable<? extends DescriptorProtos.OneofDescriptorProto> values)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
clearOneofDecl
public DescriptorProtos.DescriptorProto.Builder clearOneofDecl()
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
removeOneofDecl
public DescriptorProtos.DescriptorProto.Builder removeOneofDecl(int index)
repeated .google.protobuf.OneofDescriptorProto oneof_decl = 8 [json_name = "oneofDecl"];
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];- Specified by:
hasOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public DescriptorProtos.MessageOptions getOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];- Specified by:
getOptionsin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The options.
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
setOptions
public DescriptorProtos.DescriptorProto.Builder setOptions(DescriptorProtos.MessageOptions.Builder builderForValue)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
mergeOptions
public DescriptorProtos.DescriptorProto.Builder mergeOptions(DescriptorProtos.MessageOptions value)
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
clearOptions
public DescriptorProtos.DescriptorProto.Builder clearOptions()
optional .google.protobuf.MessageOptions options = 7 [json_name = "options"];
-
getReservedRangeList
public java.util.List<DescriptorProtos.DescriptorProto.ReservedRange> getReservedRangeList()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];- Specified by:
getReservedRangeListin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRangeCount
public int getReservedRangeCount()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];- Specified by:
getReservedRangeCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
getReservedRange
public DescriptorProtos.DescriptorProto.ReservedRange getReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];- Specified by:
getReservedRangein interfaceDescriptorProtos.DescriptorProtoOrBuilder
-
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
setReservedRange
public DescriptorProtos.DescriptorProto.Builder setReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange value)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addReservedRange
public DescriptorProtos.DescriptorProto.Builder addReservedRange(int index, DescriptorProtos.DescriptorProto.ReservedRange.Builder builderForValue)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
addAllReservedRange
public DescriptorProtos.DescriptorProto.Builder addAllReservedRange(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto.ReservedRange> values)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
clearReservedRange
public DescriptorProtos.DescriptorProto.Builder clearReservedRange()
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
removeReservedRange
public DescriptorProtos.DescriptorProto.Builder removeReservedRange(int index)
repeated .google.protobuf.DescriptorProto.ReservedRange reserved_range = 9 [json_name = "reservedRange"];
-
getReservedNameList
public java.util.List<java.lang.String> getReservedNameList()
repeated string reserved_name = 10 [json_name = "reservedName"];- Specified by:
getReservedNameListin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- A list containing the reservedName.
-
getReservedNameCount
public int getReservedNameCount()
repeated string reserved_name = 10 [json_name = "reservedName"];- Specified by:
getReservedNameCountin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The count of reservedName.
-
getReservedName
public java.lang.String getReservedName(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];- Specified by:
getReservedNamein interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The reservedName at the given index.
-
getReservedNameBytes
public ByteString getReservedNameBytes(int index)
repeated string reserved_name = 10 [json_name = "reservedName"];- Specified by:
getReservedNameBytesin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the reservedName at the given index.
-
setReservedName
public DescriptorProtos.DescriptorProto.Builder setReservedName(int index, java.lang.String value)
repeated string reserved_name = 10 [json_name = "reservedName"];- Parameters:
index- The index to set the value at.value- The reservedName to set.- Returns:
- This builder for chaining.
-
addReservedName
public DescriptorProtos.DescriptorProto.Builder addReservedName(java.lang.String value)
repeated string reserved_name = 10 [json_name = "reservedName"];- Parameters:
value- The reservedName to add.- Returns:
- This builder for chaining.
-
addAllReservedName
public DescriptorProtos.DescriptorProto.Builder addAllReservedName(java.lang.Iterable<java.lang.String> values)
repeated string reserved_name = 10 [json_name = "reservedName"];- Parameters:
values- The reservedName to add.- Returns:
- This builder for chaining.
-
clearReservedName
public DescriptorProtos.DescriptorProto.Builder clearReservedName()
repeated string reserved_name = 10 [json_name = "reservedName"];- Returns:
- This builder for chaining.
-
addReservedNameBytes
public DescriptorProtos.DescriptorProto.Builder addReservedNameBytes(ByteString value)
repeated string reserved_name = 10 [json_name = "reservedName"];- Parameters:
value- The bytes of the reservedName to add.- Returns:
- This builder for chaining.
-
hasVisibility
public boolean hasVisibility()
optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];- Specified by:
hasVisibilityin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- Whether the visibility field is set.
-
getVisibility
public DescriptorProtos.SymbolVisibility getVisibility()
optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];- Specified by:
getVisibilityin interfaceDescriptorProtos.DescriptorProtoOrBuilder- Returns:
- The visibility.
-
setVisibility
public DescriptorProtos.DescriptorProto.Builder setVisibility(DescriptorProtos.SymbolVisibility value)
optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];- Parameters:
value- The enum numeric value on the wire for visibility to set.- Returns:
- This builder for chaining.
-
clearVisibility
public DescriptorProtos.DescriptorProto.Builder clearVisibility()
optional .google.protobuf.SymbolVisibility visibility = 11 [json_name = "visibility"];- Returns:
- This builder for chaining.
-
-