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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder>