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
,MessageLite.Builder
,MessageLiteOrBuilder
,java.lang.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 typegoogle.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 Modifier Constructor Description private
Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DescriptorProtos.GeneratedCodeInfo.Builder
addAllAnnotation(java.lang.Iterable<? extends DescriptorProtos.GeneratedCodeInfo.Annotation> values)
An Annotation connects some span of text in generated code to an element of its generating .proto file.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.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.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.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.DescriptorProtos.GeneratedCodeInfo.Builder
clearAnnotation()
An Annotation connects some span of text in generated code to an element of its generating .proto file.DescriptorProtos.GeneratedCodeInfo.Annotation
getAnnotation(int index)
An Annotation connects some span of text in generated code to an element of its generating .proto file.int
getAnnotationCount()
An Annotation connects some span of text in generated code to an element of its generating .proto file.java.util.List<DescriptorProtos.GeneratedCodeInfo.Annotation>
getAnnotationList()
An Annotation connects some span of text in generated code to an element of its generating .proto file.DescriptorProtos.GeneratedCodeInfo.Builder
removeAnnotation(int index)
An Annotation connects some span of text in generated code to an element of its generating .proto file.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.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.-
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
-
-
-
-
Method Detail
-
getAnnotationList
public java.util.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;
- 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
public 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;
- 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(java.lang.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
public DescriptorProtos.GeneratedCodeInfo.Builder 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
public DescriptorProtos.GeneratedCodeInfo.Builder removeAnnotation(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;
-
-