public static final class DescriptorProtos.GeneratedCodeInfo.Annotation.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder> implements DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
google.protobuf.GeneratedCodeInfo.Annotation| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
addAllPath(java.lang.Iterable<? extends java.lang.Integer> values)
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
addPath(int value)
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
DescriptorProtos.GeneratedCodeInfo.Annotation |
build() |
DescriptorProtos.GeneratedCodeInfo.Annotation |
buildPartial() |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clear() |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearBegin()
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearEnd()
Identifies the ending offset in bytes in the generated code that
relates to the identified offset.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearPath()
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearSourceFile()
Identifies the filesystem path to the original source .proto.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clone() |
int |
getBegin()
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
DescriptorProtos.GeneratedCodeInfo.Annotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getEnd()
Identifies the ending offset in bytes in the generated code that
relates to the identified offset.
|
int |
getPath(int index)
Identifies the element in the original source .proto file.
|
int |
getPathCount()
Identifies the element in the original source .proto file.
|
java.util.List<java.lang.Integer> |
getPathList()
Identifies the element in the original source .proto file.
|
java.lang.String |
getSourceFile()
Identifies the filesystem path to the original source .proto.
|
com.google.protobuf.ByteString |
getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
|
boolean |
hasBegin()
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
boolean |
hasEnd()
Identifies the ending offset in bytes in the generated code that
relates to the identified offset.
|
boolean |
hasSourceFile()
Identifies the filesystem path to the original source .proto.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
mergeFrom(DescriptorProtos.GeneratedCodeInfo.Annotation other) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
mergeFrom(com.google.protobuf.Message other) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setBegin(int value)
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setEnd(int value)
Identifies the ending offset in bytes in the generated code that
relates to the identified offset.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setPath(int index,
int value)
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setSourceFile(java.lang.String value)
Identifies the filesystem path to the original source .proto.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setSourceFileBytes(com.google.protobuf.ByteString value)
Identifies the filesystem path to the original source .proto.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DescriptorProtos.GeneratedCodeInfo.Annotation build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.GeneratedCodeInfo.Annotation buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder mergeFrom(DescriptorProtos.GeneratedCodeInfo.Annotation other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>java.io.IOExceptionpublic java.util.List<java.lang.Integer> getPathList()
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];getPathList in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic int getPathCount()
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];getPathCount in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic int getPath(int index)
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];getPath in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setPath(int index, int value)
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addPath(int value)
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addAllPath(java.lang.Iterable<? extends java.lang.Integer> values)
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearPath()
Identifies the element in the original source .proto file. This field is formatted the same as SourceCodeInfo.Location.path.
repeated int32 path = 1 [packed = true];public boolean hasSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;hasSourceFile in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic java.lang.String getSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;getSourceFile in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic com.google.protobuf.ByteString getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;getSourceFileBytes in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setSourceFile(java.lang.String value)
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setSourceFileBytes(com.google.protobuf.ByteString value)
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;public boolean hasBegin()
Identifies the starting offset in bytes in the generated code that relates to the identified object.
optional int32 begin = 3;hasBegin in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic int getBegin()
Identifies the starting offset in bytes in the generated code that relates to the identified object.
optional int32 begin = 3;getBegin in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setBegin(int value)
Identifies the starting offset in bytes in the generated code that relates to the identified object.
optional int32 begin = 3;public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearBegin()
Identifies the starting offset in bytes in the generated code that relates to the identified object.
optional int32 begin = 3;public boolean hasEnd()
Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;hasEnd in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic int getEnd()
Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;getEnd in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setEnd(int value)
Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder clearEnd()
Identifies the ending offset in bytes in the generated code that relates to the identified offset. The end offset should be one past the last relevant byte (so the length of the text = end - begin).
optional int32 end = 4;public final DescriptorProtos.GeneratedCodeInfo.Annotation.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>public final DescriptorProtos.GeneratedCodeInfo.Annotation.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder>