Package akka.protobuf
Class DescriptorProtos.FileDescriptorProto.Builder
- java.lang.Object
-
- akka.protobuf.AbstractMessageLite.Builder<BuilderType>
-
- akka.protobuf.AbstractMessage.Builder<BuilderType>
-
- akka.protobuf.GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
- akka.protobuf.DescriptorProtos.FileDescriptorProto.Builder
-
- All Implemented Interfaces:
DescriptorProtos.FileDescriptorProtoOrBuilder
,Message.Builder
,MessageLite.Builder
,MessageLiteOrBuilder
,MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- DescriptorProtos.FileDescriptorProto
public static final class DescriptorProtos.FileDescriptorProto.Builder extends GeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder> implements DescriptorProtos.FileDescriptorProtoOrBuilder
Protobuf typegoogle.protobuf.FileDescriptorProto
Describes a complete .proto file.
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.FileDescriptorProto.Builder
addAllDependency(java.lang.Iterable<java.lang.String> values)
repeated string dependency = 3;
DescriptorProtos.FileDescriptorProto.Builder
addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 public_dependency = 10;
DescriptorProtos.FileDescriptorProto.Builder
addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 weak_dependency = 11;
DescriptorProtos.FileDescriptorProto.Builder
addDependency(java.lang.String value)
repeated string dependency = 3;
DescriptorProtos.FileDescriptorProto.Builder
addDependencyBytes(ByteString value)
repeated string dependency = 3;
DescriptorProtos.FileDescriptorProto.Builder
addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProto.Builder
addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProto.Builder
addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProto.Builder
addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProto.Builder
addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
addMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
addMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
addMessageType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.DescriptorProto.Builder
addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.DescriptorProto.Builder
addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
addPublicDependency(int value)
repeated int32 public_dependency = 10;
DescriptorProtos.FileDescriptorProto.Builder
addService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
addService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProto.Builder
addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProto.Builder
addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
addWeakDependency(int value)
repeated int32 weak_dependency = 11;
DescriptorProtos.FileDescriptorProto
build()
Constructs the message based on the state of the Builder.DescriptorProtos.FileDescriptorProto
buildPartial()
LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields.DescriptorProtos.FileDescriptorProto.Builder
clear()
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.DescriptorProtos.FileDescriptorProto.Builder
clearDependency()
repeated string dependency = 3;
DescriptorProtos.FileDescriptorProto.Builder
clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
clearName()
optional string name = 1;
DescriptorProtos.FileDescriptorProto.Builder
clearOptions()
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileDescriptorProto.Builder
clearPackage()
optional string package = 2;
DescriptorProtos.FileDescriptorProto.Builder
clearPublicDependency()
repeated int32 public_dependency = 10;
DescriptorProtos.FileDescriptorProto.Builder
clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.FileDescriptorProto.Builder
clearWeakDependency()
repeated int32 weak_dependency = 11;
DescriptorProtos.FileDescriptorProto.Builder
clone()
Clones the Builder.DescriptorProtos.FileDescriptorProto
getDefaultInstanceForType()
Get an instance of the type with no fields set.java.lang.String
getDependency(int index)
repeated string dependency = 3;
ByteString
getDependencyBytes(int index)
repeated string dependency = 3;
int
getDependencyCount()
repeated string dependency = 3;
java.util.List<java.lang.String>
getDependencyList()
repeated string dependency = 3;
static Descriptors.Descriptor
getDescriptor()
Descriptors.Descriptor
getDescriptorForType()
Get the message's type's descriptor.DescriptorProtos.EnumDescriptorProto
getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProto.Builder
getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
java.util.List<DescriptorProtos.EnumDescriptorProto.Builder>
getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
int
getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
java.util.List<DescriptorProtos.EnumDescriptorProto>
getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.EnumDescriptorProtoOrBuilder
getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder>
getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FieldDescriptorProto
getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProto.Builder
getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
java.util.List<DescriptorProtos.FieldDescriptorProto.Builder>
getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
int
getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
java.util.List<DescriptorProtos.FieldDescriptorProto>
getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FieldDescriptorProtoOrBuilder
getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder>
getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.DescriptorProto
getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.DescriptorProto.Builder
getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
java.util.List<DescriptorProtos.DescriptorProto.Builder>
getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
int
getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
java.util.List<DescriptorProtos.DescriptorProto>
getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.DescriptorProtoOrBuilder
getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder>
getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
java.lang.String
getName()
optional string name = 1;
ByteString
getNameBytes()
optional string name = 1;
DescriptorProtos.FileOptions
getOptions()
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileOptions.Builder
getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileOptionsOrBuilder
getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;
java.lang.String
getPackage()
optional string package = 2;
ByteString
getPackageBytes()
optional string package = 2;
int
getPublicDependency(int index)
repeated int32 public_dependency = 10;
int
getPublicDependencyCount()
repeated int32 public_dependency = 10;
java.util.List<java.lang.Integer>
getPublicDependencyList()
repeated int32 public_dependency = 10;
DescriptorProtos.ServiceDescriptorProto
getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProto.Builder
getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder>
getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
int
getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
java.util.List<DescriptorProtos.ServiceDescriptorProto>
getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.ServiceDescriptorProtoOrBuilder
getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder>
getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.SourceCodeInfo
getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.SourceCodeInfo.Builder
getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.SourceCodeInfoOrBuilder
getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
int
getWeakDependency(int index)
repeated int32 weak_dependency = 11;
int
getWeakDependencyCount()
repeated int32 weak_dependency = 11;
java.util.List<java.lang.Integer>
getWeakDependencyList()
repeated int32 weak_dependency = 11;
boolean
hasName()
optional string name = 1;
boolean
hasOptions()
optional .google.protobuf.FileOptions options = 8;
boolean
hasPackage()
optional string package = 2;
boolean
hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
protected GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable()
Get the FieldAccessorTable for this type.boolean
isInitialized()
Returns true if all required fields in the message and all embedded messages are set, false otherwise.DescriptorProtos.FileDescriptorProto.Builder
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions.DescriptorProtos.FileDescriptorProto.Builder
mergeFrom(DescriptorProtos.FileDescriptorProto other)
DescriptorProtos.FileDescriptorProto.Builder
mergeFrom(Message other)
Mergeother
into the message being built.DescriptorProtos.FileDescriptorProto.Builder
mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileDescriptorProto.Builder
mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.FileDescriptorProto.Builder
removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
setDependency(int index, java.lang.String value)
repeated string dependency = 3;
DescriptorProtos.FileDescriptorProto.Builder
setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
DescriptorProtos.FileDescriptorProto.Builder
setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
DescriptorProtos.FileDescriptorProto.Builder
setMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
setMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
DescriptorProtos.FileDescriptorProto.Builder
setName(java.lang.String value)
optional string name = 1;
DescriptorProtos.FileDescriptorProto.Builder
setNameBytes(ByteString value)
optional string name = 1;
DescriptorProtos.FileDescriptorProto.Builder
setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileDescriptorProto.Builder
setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8;
DescriptorProtos.FileDescriptorProto.Builder
setPackage(java.lang.String value)
optional string package = 2;
DescriptorProtos.FileDescriptorProto.Builder
setPackageBytes(ByteString value)
optional string package = 2;
DescriptorProtos.FileDescriptorProto.Builder
setPublicDependency(int index, int value)
repeated int32 public_dependency = 10;
DescriptorProtos.FileDescriptorProto.Builder
setService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
setService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
DescriptorProtos.FileDescriptorProto.Builder
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.FileDescriptorProto.Builder
setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
DescriptorProtos.FileDescriptorProto.Builder
setWeakDependency(int index, int value)
repeated int32 weak_dependency = 11;
-
Methods inherited from class akka.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, getAllFields, getField, getFieldBuilder, getParentForChildren, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, isClean, markClean, mergeUnknownFields, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields
-
Methods inherited from class akka.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class akka.protobuf.AbstractMessageLite.Builder
addAll, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface akka.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField
-
-
-
-
Method Detail
-
getDescriptor
public static final Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Description copied from class:GeneratedMessage.Builder
Get the FieldAccessorTable for this type. We can't have the message class pass this in to the constructor because of bootstrapping trouble with DescriptorProtos.- Specified by:
internalGetFieldAccessorTable
in classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
clear
public DescriptorProtos.FileDescriptorProto.Builder clear()
Description copied from class:GeneratedMessage.Builder
Called by the initialization and clear code paths to allow subclasses to reset any of their builtin fields back to the initial values.- Specified by:
clear
in interfaceMessage.Builder
- Specified by:
clear
in interfaceMessageLite.Builder
- Overrides:
clear
in classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
clone
public DescriptorProtos.FileDescriptorProto.Builder clone()
Description copied from interface:MessageLite.Builder
Clones the Builder.- Specified by:
clone
in interfaceMessage.Builder
- Specified by:
clone
in interfaceMessageLite.Builder
- Overrides:
clone
in classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
- See Also:
Object.clone()
-
getDescriptorForType
public Descriptors.Descriptor getDescriptorForType()
Description copied from interface:Message.Builder
Get the message's type's descriptor. SeeMessageOrBuilder.getDescriptorForType()
.- Specified by:
getDescriptorForType
in interfaceMessage.Builder
- Specified by:
getDescriptorForType
in interfaceMessageOrBuilder
- Overrides:
getDescriptorForType
in classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
getDefaultInstanceForType
public DescriptorProtos.FileDescriptorProto getDefaultInstanceForType()
Description copied from interface:MessageLiteOrBuilder
Get an instance of the type with no fields set. Because no fields are set, all getters for singular fields will return default values and repeated fields will appear empty. This may or may not be a singleton. This differs from thegetDefaultInstance()
method of generated message classes in that this method is an abstract method of theMessageLite
interface whereasgetDefaultInstance()
is a static method of a specific class. They return the same thing.- Specified by:
getDefaultInstanceForType
in interfaceMessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceMessageOrBuilder
-
build
public DescriptorProtos.FileDescriptorProto build()
Description copied from interface:MessageLite.Builder
Constructs the message based on the state of the Builder. Subsequent changes to the Builder will not affect the returned message.- Specified by:
build
in interfaceMessage.Builder
- Specified by:
build
in interfaceMessageLite.Builder
-
buildPartial
public DescriptorProtos.FileDescriptorProto buildPartial()
Description copied from interface:MessageLite.Builder
LikeMessageLite.Builder.build()
, but does not throw an exception if the message is missing required fields. Instead, a partial message is returned. Subsequent changes to the Builder will not affect the returned message.- Specified by:
buildPartial
in interfaceMessage.Builder
- Specified by:
buildPartial
in interfaceMessageLite.Builder
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(Message other)
Description copied from interface:Message.Builder
Mergeother
into the message being built.other
must have the exact same type asthis
(i.e.getDescriptorForType() == other.getDescriptorForType()
). Merging occurs as follows. For each field:
* For singular primitive fields, if the field is set inother
, thenother
's value overwrites the value in this message.
* For singular message fields, if the field is set inother
, it is merged into the corresponding sub-message of this message using the same merging rules.
* For repeated fields, the elements inother
are concatenated with the elements in this message. This is equivalent to theMessage::MergeFrom
method in C++.- Specified by:
mergeFrom
in interfaceMessage.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(DescriptorProtos.FileDescriptorProto other)
-
isInitialized
public final boolean isInitialized()
Description copied from interface:MessageLiteOrBuilder
Returns true if all required fields in the message and all embedded messages are set, false otherwise.- Specified by:
isInitialized
in interfaceMessageLiteOrBuilder
- Overrides:
isInitialized
in classGeneratedMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
-
mergeFrom
public DescriptorProtos.FileDescriptorProto.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
Description copied from interface:MessageLite.Builder
LikeMessageLite.Builder.mergeFrom(CodedInputStream)
, but also parses extensions. The extensions that you want to be able to parse must be registered inextensionRegistry
. Extensions not in the registry will be treated as unknown fields.- Specified by:
mergeFrom
in interfaceMessage.Builder
- Specified by:
mergeFrom
in interfaceMessageLite.Builder
- Overrides:
mergeFrom
in classAbstractMessage.Builder<DescriptorProtos.FileDescriptorProto.Builder>
- Throws:
java.io.IOException
-
hasName
public boolean hasName()
optional string name = 1;
file name, relative to root of source tree
- Specified by:
hasName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getName
public java.lang.String getName()
optional string name = 1;
file name, relative to root of source tree
- Specified by:
getName
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getNameBytes
public ByteString getNameBytes()
optional string name = 1;
file name, relative to root of source tree
- Specified by:
getNameBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setName
public DescriptorProtos.FileDescriptorProto.Builder setName(java.lang.String value)
optional string name = 1;
file name, relative to root of source tree
-
clearName
public DescriptorProtos.FileDescriptorProto.Builder clearName()
optional string name = 1;
file name, relative to root of source tree
-
setNameBytes
public DescriptorProtos.FileDescriptorProto.Builder setNameBytes(ByteString value)
optional string name = 1;
file name, relative to root of source tree
-
hasPackage
public boolean hasPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
- Specified by:
hasPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackage
public java.lang.String getPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
- Specified by:
getPackage
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPackageBytes
public ByteString getPackageBytes()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
- Specified by:
getPackageBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setPackage
public DescriptorProtos.FileDescriptorProto.Builder setPackage(java.lang.String value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
clearPackage
public DescriptorProtos.FileDescriptorProto.Builder clearPackage()
optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
setPackageBytes
public DescriptorProtos.FileDescriptorProto.Builder setPackageBytes(ByteString value)
optional string package = 2;
e.g. "foo", "foo.bar", etc.
-
getDependencyList
public java.util.List<java.lang.String> getDependencyList()
repeated string dependency = 3;
Names of files imported by this file.
- Specified by:
getDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyCount
public int getDependencyCount()
repeated string dependency = 3;
Names of files imported by this file.
- Specified by:
getDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependency
public java.lang.String getDependency(int index)
repeated string dependency = 3;
Names of files imported by this file.
- Specified by:
getDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getDependencyBytes
public ByteString getDependencyBytes(int index)
repeated string dependency = 3;
Names of files imported by this file.
- Specified by:
getDependencyBytes
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setDependency
public DescriptorProtos.FileDescriptorProto.Builder setDependency(int index, java.lang.String value)
repeated string dependency = 3;
Names of files imported by this file.
-
addDependency
public DescriptorProtos.FileDescriptorProto.Builder addDependency(java.lang.String value)
repeated string dependency = 3;
Names of files imported by this file.
-
addAllDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllDependency(java.lang.Iterable<java.lang.String> values)
repeated string dependency = 3;
Names of files imported by this file.
-
clearDependency
public DescriptorProtos.FileDescriptorProto.Builder clearDependency()
repeated string dependency = 3;
Names of files imported by this file.
-
addDependencyBytes
public DescriptorProtos.FileDescriptorProto.Builder addDependencyBytes(ByteString value)
repeated string dependency = 3;
Names of files imported by this file.
-
getPublicDependencyList
public java.util.List<java.lang.Integer> getPublicDependencyList()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependencyCount
public int getPublicDependencyCount()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getPublicDependency
public int getPublicDependency(int index)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
- Specified by:
getPublicDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder setPublicDependency(int index, int value)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
addPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder addPublicDependency(int value)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
addAllPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllPublicDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
clearPublicDependency
public DescriptorProtos.FileDescriptorProto.Builder clearPublicDependency()
repeated int32 public_dependency = 10;
Indexes of the public imported files in the dependency list above.
-
getWeakDependencyList
public java.util.List<java.lang.Integer> getWeakDependencyList()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependencyList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependencyCount
public int getWeakDependencyCount()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependencyCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getWeakDependency
public int getWeakDependency(int index)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
- Specified by:
getWeakDependency
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder setWeakDependency(int index, int value)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
addWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder addWeakDependency(int value)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
addAllWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder addAllWeakDependency(java.lang.Iterable<? extends java.lang.Integer> values)
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
clearWeakDependency
public DescriptorProtos.FileDescriptorProto.Builder clearWeakDependency()
repeated int32 weak_dependency = 11;
Indexes of the weak imported files in the dependency list. For Google-internal migration only. Do not use.
-
getMessageTypeList
public java.util.List<DescriptorProtos.DescriptorProto> getMessageTypeList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
- Specified by:
getMessageTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeCount
public int getMessageTypeCount()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
- Specified by:
getMessageTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageType
public DescriptorProtos.DescriptorProto getMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
- Specified by:
getMessageType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setMessageType
public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
setMessageType
public DescriptorProtos.FileDescriptorProto.Builder setMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto value)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addMessageType
public DescriptorProtos.FileDescriptorProto.Builder addMessageType(int index, DescriptorProtos.DescriptorProto.Builder builderForValue)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addAllMessageType
public DescriptorProtos.FileDescriptorProto.Builder addAllMessageType(java.lang.Iterable<? extends DescriptorProtos.DescriptorProto> values)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
clearMessageType
public DescriptorProtos.FileDescriptorProto.Builder clearMessageType()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
removeMessageType
public DescriptorProtos.FileDescriptorProto.Builder removeMessageType(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder getMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeOrBuilder
public DescriptorProtos.DescriptorProtoOrBuilder getMessageTypeOrBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
- Specified by:
getMessageTypeOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getMessageTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.DescriptorProtoOrBuilder> getMessageTypeOrBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
- Specified by:
getMessageTypeOrBuilderList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
addMessageTypeBuilder
public DescriptorProtos.DescriptorProto.Builder addMessageTypeBuilder(int index)
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getMessageTypeBuilderList
public java.util.List<DescriptorProtos.DescriptorProto.Builder> getMessageTypeBuilderList()
repeated .google.protobuf.DescriptorProto message_type = 4;
All top-level definitions in this file.
-
getEnumTypeList
public java.util.List<DescriptorProtos.EnumDescriptorProto> getEnumTypeList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeCount
public int getEnumTypeCount()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumType
public DescriptorProtos.EnumDescriptorProto getEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumType
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setEnumType
public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
setEnumType
public DescriptorProtos.FileDescriptorProto.Builder setEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto value)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumType
public DescriptorProtos.FileDescriptorProto.Builder addEnumType(int index, DescriptorProtos.EnumDescriptorProto.Builder builderForValue)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addAllEnumType
public DescriptorProtos.FileDescriptorProto.Builder addAllEnumType(java.lang.Iterable<? extends DescriptorProtos.EnumDescriptorProto> values)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
clearEnumType
public DescriptorProtos.FileDescriptorProto.Builder clearEnumType()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
removeEnumType
public DescriptorProtos.FileDescriptorProto.Builder removeEnumType(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder getEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeOrBuilder
public DescriptorProtos.EnumDescriptorProtoOrBuilder getEnumTypeOrBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getEnumTypeOrBuilderList
public java.util.List<? extends DescriptorProtos.EnumDescriptorProtoOrBuilder> getEnumTypeOrBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
- Specified by:
getEnumTypeOrBuilderList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
addEnumTypeBuilder
public DescriptorProtos.EnumDescriptorProto.Builder addEnumTypeBuilder(int index)
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getEnumTypeBuilderList
public java.util.List<DescriptorProtos.EnumDescriptorProto.Builder> getEnumTypeBuilderList()
repeated .google.protobuf.EnumDescriptorProto enum_type = 5;
-
getServiceList
public java.util.List<DescriptorProtos.ServiceDescriptorProto> getServiceList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceCount
public int getServiceCount()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getService
public DescriptorProtos.ServiceDescriptorProto getService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getService
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setService
public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
setService
public DescriptorProtos.FileDescriptorProto.Builder setService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto value)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addService
public DescriptorProtos.FileDescriptorProto.Builder addService(int index, DescriptorProtos.ServiceDescriptorProto.Builder builderForValue)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addAllService
public DescriptorProtos.FileDescriptorProto.Builder addAllService(java.lang.Iterable<? extends DescriptorProtos.ServiceDescriptorProto> values)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
clearService
public DescriptorProtos.FileDescriptorProto.Builder clearService()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
removeService
public DescriptorProtos.FileDescriptorProto.Builder removeService(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder getServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceOrBuilder
public DescriptorProtos.ServiceDescriptorProtoOrBuilder getServiceOrBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getServiceOrBuilderList
public java.util.List<? extends DescriptorProtos.ServiceDescriptorProtoOrBuilder> getServiceOrBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
- Specified by:
getServiceOrBuilderList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
addServiceBuilder
public DescriptorProtos.ServiceDescriptorProto.Builder addServiceBuilder(int index)
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getServiceBuilderList
public java.util.List<DescriptorProtos.ServiceDescriptorProto.Builder> getServiceBuilderList()
repeated .google.protobuf.ServiceDescriptorProto service = 6;
-
getExtensionList
public java.util.List<DescriptorProtos.FieldDescriptorProto> getExtensionList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionCount
public int getExtensionCount()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionCount
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtension
public DescriptorProtos.FieldDescriptorProto getExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtension
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setExtension
public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
setExtension
public DescriptorProtos.FileDescriptorProto.Builder setExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto value)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtension
public DescriptorProtos.FileDescriptorProto.Builder addExtension(int index, DescriptorProtos.FieldDescriptorProto.Builder builderForValue)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addAllExtension
public DescriptorProtos.FileDescriptorProto.Builder addAllExtension(java.lang.Iterable<? extends DescriptorProtos.FieldDescriptorProto> values)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
clearExtension
public DescriptorProtos.FileDescriptorProto.Builder clearExtension()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
removeExtension
public DescriptorProtos.FileDescriptorProto.Builder removeExtension(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder getExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionOrBuilder
public DescriptorProtos.FieldDescriptorProtoOrBuilder getExtensionOrBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getExtensionOrBuilderList
public java.util.List<? extends DescriptorProtos.FieldDescriptorProtoOrBuilder> getExtensionOrBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
- Specified by:
getExtensionOrBuilderList
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
addExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
addExtensionBuilder
public DescriptorProtos.FieldDescriptorProto.Builder addExtensionBuilder(int index)
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
getExtensionBuilderList
public java.util.List<DescriptorProtos.FieldDescriptorProto.Builder> getExtensionBuilderList()
repeated .google.protobuf.FieldDescriptorProto extension = 7;
-
hasOptions
public boolean hasOptions()
optional .google.protobuf.FileOptions options = 8;
- Specified by:
hasOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getOptions
public DescriptorProtos.FileOptions getOptions()
optional .google.protobuf.FileOptions options = 8;
- Specified by:
getOptions
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setOptions
public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
-
setOptions
public DescriptorProtos.FileDescriptorProto.Builder setOptions(DescriptorProtos.FileOptions.Builder builderForValue)
optional .google.protobuf.FileOptions options = 8;
-
mergeOptions
public DescriptorProtos.FileDescriptorProto.Builder mergeOptions(DescriptorProtos.FileOptions value)
optional .google.protobuf.FileOptions options = 8;
-
clearOptions
public DescriptorProtos.FileDescriptorProto.Builder clearOptions()
optional .google.protobuf.FileOptions options = 8;
-
getOptionsBuilder
public DescriptorProtos.FileOptions.Builder getOptionsBuilder()
optional .google.protobuf.FileOptions options = 8;
-
getOptionsOrBuilder
public DescriptorProtos.FileOptionsOrBuilder getOptionsOrBuilder()
optional .google.protobuf.FileOptions options = 8;
- Specified by:
getOptionsOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
hasSourceCodeInfo
public boolean hasSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
hasSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
getSourceCodeInfo
public DescriptorProtos.SourceCodeInfo getSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
getSourceCodeInfo
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
setSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
setSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder setSourceCodeInfo(DescriptorProtos.SourceCodeInfo.Builder builderForValue)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
mergeSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder mergeSourceCodeInfo(DescriptorProtos.SourceCodeInfo value)
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
clearSourceCodeInfo
public DescriptorProtos.FileDescriptorProto.Builder clearSourceCodeInfo()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
getSourceCodeInfoBuilder
public DescriptorProtos.SourceCodeInfo.Builder getSourceCodeInfoBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
-
getSourceCodeInfoOrBuilder
public DescriptorProtos.SourceCodeInfoOrBuilder getSourceCodeInfoOrBuilder()
optional .google.protobuf.SourceCodeInfo source_code_info = 9;
This field contains optional information about the original source code. You may safely remove this entire field whithout harming runtime functionality of the descriptors -- the information is needed only by development tools.
- Specified by:
getSourceCodeInfoOrBuilder
in interfaceDescriptorProtos.FileDescriptorProtoOrBuilder
-
-