public static final class DescriptorProtos.GeneratedCodeInfo.Annotation extends com.google.protobuf.GeneratedMessageV3 implements DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
google.protobuf.GeneratedCodeInfo.Annotation| Modifier and Type | Class and Description |
|---|---|
static class |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder
Protobuf type
google.protobuf.GeneratedCodeInfo.Annotation |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
BEGIN_FIELD_NUMBER |
static int |
END_FIELD_NUMBER |
static com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> |
PARSER
Deprecated.
|
static int |
PATH_FIELD_NUMBER |
static int |
SOURCE_FILE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
int |
getBegin()
Identifies the starting offset in bytes in the generated code
that relates to the identified object.
|
static DescriptorProtos.GeneratedCodeInfo.Annotation |
getDefaultInstance() |
DescriptorProtos.GeneratedCodeInfo.Annotation |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getEnd()
Identifies the ending offset in bytes in the generated code that
relates to the identified offset.
|
com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
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.
|
int |
hashCode() |
boolean |
hasSourceFile()
Identifies the filesystem path to the original source .proto.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
newBuilder() |
static DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
newBuilder(DescriptorProtos.GeneratedCodeInfo.Annotation prototype) |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
newBuilderForType() |
protected DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseDelimitedFrom(java.io.InputStream input) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(byte[] data) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(java.nio.ByteBuffer data) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(com.google.protobuf.ByteString data) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(com.google.protobuf.CodedInputStream input) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(java.io.InputStream input) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> |
parser() |
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int PATH_FIELD_NUMBER
public static final int SOURCE_FILE_FIELD_NUMBER
public static final int BEGIN_FIELD_NUMBER
public static final int END_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilder()
public static DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilder(DescriptorProtos.GeneratedCodeInfo.Annotation prototype)
public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstance()
public static com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> parser()
public com.google.protobuf.Parser<DescriptorProtos.GeneratedCodeInfo.Annotation> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder