public static final class DescriptorProtos.GeneratedCodeInfo.Annotation.Builder extends GeneratedMessageLite.Builder<DescriptorProtos.GeneratedCodeInfo.Annotation,DescriptorProtos.GeneratedCodeInfo.Annotation.Builder> implements DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
google.protobuf.GeneratedCodeInfo.Annotationinstance, isBuilt| Modifier and Type | Method and Description |
|---|---|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
addAllPath(Iterable<? extends 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 |
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 |
clearPath()
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
clearSourceFile()
Identifies the filesystem path to the original source .proto.
|
int |
getBegin()
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
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.
|
List<Integer> |
getPathList()
Identifies the element in the original source .proto file.
|
String |
getSourceFile()
Identifies the filesystem path to the original source .proto.
|
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.
|
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 |
setPath(int index,
int value)
Identifies the element in the original source .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setSourceFile(String value)
Identifies the filesystem path to the original source .proto.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
setSourceFileBytes(ByteString value)
Identifies the filesystem path to the original source .proto.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFromaddAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDefaultInstanceForType, isInitializedpublic List<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(Iterable<? extends 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 String getSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;getSourceFile in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilderpublic 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(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(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;Copyright © 2008–2016 Google. All rights reserved.