public static final class DocumentationRule.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder> implements DocumentationRuleOrBuilder
A documentation rule provides information about individual API elements.Protobuf type
google.api.DocumentationRule
Modifier and Type | Method and Description |
---|---|
DocumentationRule.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentationRule |
build() |
DocumentationRule |
buildPartial() |
DocumentationRule.Builder |
clear() |
DocumentationRule.Builder |
clearDeprecationDescription()
Deprecation description of the selected element(s).
|
DocumentationRule.Builder |
clearDescription()
Description of the selected API(s).
|
DocumentationRule.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
DocumentationRule.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
DocumentationRule.Builder |
clearSelector()
The selector is a comma-separated list of patterns.
|
DocumentationRule.Builder |
clone() |
DocumentationRule |
getDefaultInstanceForType() |
java.lang.String |
getDeprecationDescription()
Deprecation description of the selected element(s).
|
com.google.protobuf.ByteString |
getDeprecationDescriptionBytes()
Deprecation description of the selected element(s).
|
java.lang.String |
getDescription()
Description of the selected API(s).
|
com.google.protobuf.ByteString |
getDescriptionBytes()
Description of the selected API(s).
|
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getSelector()
The selector is a comma-separated list of patterns.
|
com.google.protobuf.ByteString |
getSelectorBytes()
The selector is a comma-separated list of patterns.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
DocumentationRule.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
DocumentationRule.Builder |
mergeFrom(DocumentationRule other) |
DocumentationRule.Builder |
mergeFrom(com.google.protobuf.Message other) |
DocumentationRule.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
DocumentationRule.Builder |
setDeprecationDescription(java.lang.String value)
Deprecation description of the selected element(s).
|
DocumentationRule.Builder |
setDeprecationDescriptionBytes(com.google.protobuf.ByteString value)
Deprecation description of the selected element(s).
|
DocumentationRule.Builder |
setDescription(java.lang.String value)
Description of the selected API(s).
|
DocumentationRule.Builder |
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the selected API(s).
|
DocumentationRule.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
DocumentationRule.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
DocumentationRule.Builder |
setSelector(java.lang.String value)
The selector is a comma-separated list of patterns.
|
DocumentationRule.Builder |
setSelectorBytes(com.google.protobuf.ByteString value)
The selector is a comma-separated list of patterns.
|
DocumentationRule.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.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<DocumentationRule.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<DocumentationRule.Builder>
public DocumentationRule getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public DocumentationRule build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public DocumentationRule buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public DocumentationRule.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<DocumentationRule.Builder>
public DocumentationRule.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder mergeFrom(DocumentationRule other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public DocumentationRule.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.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<DocumentationRule.Builder>
java.io.IOException
public java.lang.String getSelector()
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.
string selector = 1;
getSelector
in interface DocumentationRuleOrBuilder
public com.google.protobuf.ByteString getSelectorBytes()
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.
string selector = 1;
getSelectorBytes
in interface DocumentationRuleOrBuilder
public DocumentationRule.Builder setSelector(java.lang.String value)
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.
string selector = 1;
public DocumentationRule.Builder clearSelector()
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.
string selector = 1;
public DocumentationRule.Builder setSelectorBytes(com.google.protobuf.ByteString value)
The selector is a comma-separated list of patterns. Each pattern is a qualified name of the element which may end in "*", indicating a wildcard. Wildcards are only allowed at the end and for a whole component of the qualified name, i.e. "foo.*" is ok, but not "foo.b*" or "foo.*.bar". To specify a default for all applicable elements, the whole pattern "*" is used.
string selector = 1;
public java.lang.String getDescription()
Description of the selected API(s).
string description = 2;
getDescription
in interface DocumentationRuleOrBuilder
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the selected API(s).
string description = 2;
getDescriptionBytes
in interface DocumentationRuleOrBuilder
public DocumentationRule.Builder setDescription(java.lang.String value)
Description of the selected API(s).
string description = 2;
public DocumentationRule.Builder clearDescription()
Description of the selected API(s).
string description = 2;
public DocumentationRule.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the selected API(s).
string description = 2;
public java.lang.String getDeprecationDescription()
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
string deprecation_description = 3;
getDeprecationDescription
in interface DocumentationRuleOrBuilder
public com.google.protobuf.ByteString getDeprecationDescriptionBytes()
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
string deprecation_description = 3;
getDeprecationDescriptionBytes
in interface DocumentationRuleOrBuilder
public DocumentationRule.Builder setDeprecationDescription(java.lang.String value)
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
string deprecation_description = 3;
public DocumentationRule.Builder clearDeprecationDescription()
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
string deprecation_description = 3;
public DocumentationRule.Builder setDeprecationDescriptionBytes(com.google.protobuf.ByteString value)
Deprecation description of the selected element(s). It can be provided if an element is marked as `deprecated`.
string deprecation_description = 3;
public final DocumentationRule.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>
public final DocumentationRule.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>