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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
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(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.
|
List<Integer> |
getPathList()
Identifies the element in the original source .proto file.
|
int |
getSerializedSize() |
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) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseDelimitedFrom(InputStream input) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseDelimitedFrom(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(ByteBuffer data) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(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(InputStream input) |
static DescriptorProtos.GeneratedCodeInfo.Annotation |
parseFrom(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, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, 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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class com.google.protobuf.GeneratedMessageV3
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.google.protobuf.MessageOrBuilder
getUnknownFields
in class com.google.protobuf.GeneratedMessageV3
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3
public 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.AnnotationOrBuilder
public 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.AnnotationOrBuilder
public 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.AnnotationOrBuilder
index
- The index of the element to return.public boolean hasSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;
hasSourceFile
in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
public String getSourceFile()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;
getSourceFile
in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
public com.google.protobuf.ByteString getSourceFileBytes()
Identifies the filesystem path to the original source .proto.
optional string source_file = 2;
getSourceFileBytes
in interface DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder
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.AnnotationOrBuilder
public 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.AnnotationOrBuilder
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.AnnotationOrBuilder
public 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.AnnotationOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface com.google.protobuf.MessageLite
writeTo
in class com.google.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.google.protobuf.MessageLite
getSerializedSize
in class com.google.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.google.protobuf.Message
equals
in class com.google.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface com.google.protobuf.Message
hashCode
in class com.google.protobuf.AbstractMessage
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom(InputStream input) throws IOException
IOException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOException
public static DescriptorProtos.GeneratedCodeInfo.Annotation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilderForType()
newBuilderForType
in interface com.google.protobuf.Message
newBuilderForType
in interface com.google.protobuf.MessageLite
public 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.Message
toBuilder
in interface com.google.protobuf.MessageLite
protected DescriptorProtos.GeneratedCodeInfo.Annotation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.google.protobuf.GeneratedMessageV3
public 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.Message
getParserForType
in interface com.google.protobuf.MessageLite
getParserForType
in class com.google.protobuf.GeneratedMessageV3
public DescriptorProtos.GeneratedCodeInfo.Annotation getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
Copyright © 2008–2022. All rights reserved.