Package com.google.protobuf
Class DescriptorProtos.GeneratedCodeInfo.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite.Builder<DescriptorProtos.GeneratedCodeInfo,DescriptorProtos.GeneratedCodeInfo.Builder>
com.google.protobuf.DescriptorProtos.GeneratedCodeInfo.Builder
- All Implemented Interfaces:
DescriptorProtos.GeneratedCodeInfoOrBuilder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,Cloneable
- Enclosing class:
- DescriptorProtos.GeneratedCodeInfo
public static final class DescriptorProtos.GeneratedCodeInfo.Builder
extends com.google.protobuf.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-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
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 com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
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 [json_name = "annotation"];- 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 [json_name = "annotation"];- 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 [json_name = "annotation"];- 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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"]; -
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 [json_name = "annotation"];
-