Package com.google.protobuf
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 com.google.protobuf.AbstractMessageLite.Builder
AbstractMessageLite.Builder.LimitedInputStream
-
Field Summary
Fields inherited from class com.google.protobuf.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.int
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.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, mergeFrom
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface com.google.protobuf.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:
getAnnotationList
in 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:
getAnnotationCount
in 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:
getAnnotation
in 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;
-