public static final class DescriptorProtos.GeneratedCodeInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<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
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.Annotation.Builder |
addAnnotationBuilder()
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
addAnnotationBuilder(int index)
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DescriptorProtos.GeneratedCodeInfo |
build() |
DescriptorProtos.GeneratedCodeInfo |
buildPartial() |
DescriptorProtos.GeneratedCodeInfo.Builder |
clear() |
DescriptorProtos.GeneratedCodeInfo.Builder |
clearAnnotation()
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DescriptorProtos.GeneratedCodeInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DescriptorProtos.GeneratedCodeInfo.Builder |
clone() |
DescriptorProtos.GeneratedCodeInfo.Annotation |
getAnnotation(int index)
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
DescriptorProtos.GeneratedCodeInfo.Annotation.Builder |
getAnnotationBuilder(int index)
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
List<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder> |
getAnnotationBuilderList()
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.AnnotationOrBuilder |
getAnnotationOrBuilder(int index)
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
List<? extends DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> |
getAnnotationOrBuilderList()
An Annotation connects some span of text in generated code to an element
of its generating .proto file.
|
DescriptorProtos.GeneratedCodeInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DescriptorProtos.GeneratedCodeInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DescriptorProtos.GeneratedCodeInfo.Builder |
mergeFrom(DescriptorProtos.GeneratedCodeInfo other) |
DescriptorProtos.GeneratedCodeInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
DescriptorProtos.GeneratedCodeInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
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.
|
DescriptorProtos.GeneratedCodeInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
DescriptorProtos.GeneratedCodeInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
DescriptorProtos.GeneratedCodeInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DescriptorProtos.GeneratedCodeInfo build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.GeneratedCodeInfo buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DescriptorProtos.GeneratedCodeInfo.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder mergeFrom(DescriptorProtos.GeneratedCodeInfo other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public DescriptorProtos.GeneratedCodeInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
IOException
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;
public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder getAnnotationBuilder(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;
public DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder getAnnotationOrBuilder(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;
getAnnotationOrBuilder
in interface DescriptorProtos.GeneratedCodeInfoOrBuilder
public List<? extends DescriptorProtos.GeneratedCodeInfo.AnnotationOrBuilder> getAnnotationOrBuilderList()
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;
getAnnotationOrBuilderList
in interface DescriptorProtos.GeneratedCodeInfoOrBuilder
public DescriptorProtos.GeneratedCodeInfo.Annotation.Builder addAnnotationBuilder()
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.Annotation.Builder addAnnotationBuilder(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;
public List<DescriptorProtos.GeneratedCodeInfo.Annotation.Builder> getAnnotationBuilderList()
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 final DescriptorProtos.GeneratedCodeInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
public final DescriptorProtos.GeneratedCodeInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DescriptorProtos.GeneratedCodeInfo.Builder>
Copyright © 2008–2022. All rights reserved.