Interface DescriptorProtos.GeneratedCodeInfoOrBuilder (3.19.4)

public static interface DescriptorProtos.GeneratedCodeInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAnnotation(int index)

public abstract DescriptorProtos.GeneratedCodeInfo.Annotation getAnnotation(int index)

An Annotation connects some span of text in generated code to an element of its generating .proto file.

repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.GeneratedCodeInfo.Annotation

getAnnotationCount()

public abstract int getAnnotationCount()

An Annotation connects some span of text in generated code to an element of its generating .proto file.

repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;

Returns
TypeDescription
int

getAnnotationList()

public abstract List<DescriptorProtos.GeneratedCodeInfo.Annotation> getAnnotationList()

An Annotation connects some span of text in generated code to an element of its generating .proto file.

repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;

Returns
TypeDescription
List<Annotation>

getAnnotationOrBuilder(int index)

public abstract DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder getAnnotationOrBuilder(int index)

An Annotation connects some span of text in generated code to an element of its generating .proto file.

repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder

getAnnotationOrBuilderList()

public abstract List<? extends DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> getAnnotationOrBuilderList()

An Annotation connects some span of text in generated code to an element of its generating .proto file.

repeated .google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;

Returns
TypeDescription
List<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder>