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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic 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.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>public DocumentationRule getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic DocumentationRule build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic DocumentationRule buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic DocumentationRule.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone 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.BuildersetField 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.BuilderclearField 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.BuilderclearOneof 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.BuildersetRepeatedField 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.BuilderaddRepeatedField 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.BuildermergeFrom 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.MessageLiteOrBuilderisInitialized 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.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<DocumentationRule.Builder>java.io.IOExceptionpublic 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 DocumentationRuleOrBuilderpublic 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 DocumentationRuleOrBuilderpublic 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 DocumentationRuleOrBuilderpublic com.google.protobuf.ByteString getDescriptionBytes()
Description of the selected API(s).
string description = 2;getDescriptionBytes in interface DocumentationRuleOrBuilderpublic 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 DocumentationRuleOrBuilderpublic 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 DocumentationRuleOrBuilderpublic 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.BuildersetUnknownFields 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.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<DocumentationRule.Builder>