Class DescriptorProtos.GeneratedCodeInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<DescriptorProtos.GeneratedCodeInfo, DescriptorProtos.GeneratedCodeInfo.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.GeneratedCodeInfo, DescriptorProtos.GeneratedCodeInfo.Builder>
com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Builder
- All Implemented Interfaces:
DescriptorProtos.GeneratedCodeInfoOrBuilder, MessageLite.Builder, MessageLiteOrBuilder, Cloneable
- Enclosing class:
DescriptorProtos.GeneratedCodeInfo
public static final class DescriptorProtos.GeneratedCodeInfo.Builder
extends GeneratedMessageLite.Builder<DescriptorProtos.GeneratedCodeInfo, DescriptorProtos.GeneratedCodeInfo.Builder>
implements DescriptorProtos.GeneratedCodeInfoOrBuilder
Describes the relationship between generated code and its original source file. A GeneratedCodeInfo message is associated with only one generated source file, but may contain references to different source .proto files.Protobuf type
google.protobuf.GeneratedCodeInfo-
Nested Class Summary
Nested classes/interfaces inherited from class AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream -
Field Summary
Fields inherited from class GeneratedMessageLite.Builder
instance -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddAllAnnotation(Iterable<? extends DescriptorProtos.GeneratedCodeInfo.Annotation> values) An Annotation connects some span of text in generated code to an element of its generating .proto file.addAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation value) An Annotation connects some span of text in generated code to an element of its generating .proto file.addAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) An Annotation connects some span of text in generated code to an element of its generating .proto file.An Annotation connects some span of text in generated code to an element of its generating .proto file.addAnnotation(DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) An Annotation connects some span of text in generated code to an element of its generating .proto file.An Annotation connects some span of text in generated code to an element of its generating .proto file.getAnnotation(int index) An Annotation connects some span of text in generated code to an element of its generating .proto file.intAn Annotation connects some span of text in generated code to an element of its generating .proto file.An Annotation connects some span of text in generated code to an element of its generating .proto file.removeAnnotation(int index) An Annotation connects some span of text in generated code to an element of its generating .proto file.setAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation value) An Annotation connects some span of text in generated code to an element of its generating .proto file.setAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) An Annotation connects some span of text in generated code to an element of its generating .proto file.Methods inherited from class GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Constructor Details
-
Builder
private Builder()
-
-
Method Details
-
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;- Specified by:
getAnnotationListin interfaceDescriptorProtos.GeneratedCodeInfoOrBuilder
-
getAnnotationCount
public 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;- Specified by:
getAnnotationCountin interfaceDescriptorProtos.GeneratedCodeInfoOrBuilder
-
getAnnotation
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;- Specified by:
getAnnotationin interfaceDescriptorProtos.GeneratedCodeInfoOrBuilder
-
setAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder setAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation value) 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; -
setAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder setAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) 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; -
addAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder addAnnotation(DescriptorProtos.GeneratedCodeInfo.Annotation value) 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; -
addAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder addAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation value) 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; -
addAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder addAnnotation(DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) 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; -
addAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder addAnnotation(int index, DescriptorProtos.GeneratedCodeInfo.Annotation.Builder builderForValue) 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; -
addAllAnnotation
public DescriptorProtos.GeneratedCodeInfo.Builder addAllAnnotation(Iterable<? extends DescriptorProtos.GeneratedCodeInfo.Annotation> values) 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; -
clearAnnotation
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; -
removeAnnotation
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;
-