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
instance, isBuilt
Modifier and Type | Method and Description |
---|---|
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.
|
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 |
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(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(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 |
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.
|
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.Builder builderForValue)
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.
|
build, buildPartial, clear, clone, copyOnWrite, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom
addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDefaultInstanceForType, isInitialized
public 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;
getAnnotationList
in interface DescriptorProtos.GeneratedCodeInfoOrBuilder
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;
getAnnotationCount
in interface DescriptorProtos.GeneratedCodeInfoOrBuilder
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;
getAnnotation
in interface DescriptorProtos.GeneratedCodeInfoOrBuilder
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;
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;
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;
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;
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;
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;
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;
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;
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;
Copyright © 2008–2016 Google. All rights reserved.