public static final class Help.Builder extends GeneratedMessageV3.Builder<Help.Builder> implements HelpOrBuilder
Provides links to documentation or for performing an out of band action.
For example, if a quota check failed with an error indicating the calling
project hasn't enabled the accessed service, this can contain a URL pointing
directly to the right place in the developer console to flip the bit.
Protobuf type google.rpc.Help
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllLinks(Iterable<? extends Help.Link> values)
public Help.Builder addAllLinks(Iterable<? extends Help.Link> values)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.rpc.Help.Link>
|
Returns
addLinks(Help.Link value)
public Help.Builder addLinks(Help.Link value)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
addLinks(Help.Link.Builder builderForValue)
public Help.Builder addLinks(Help.Link.Builder builderForValue)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
addLinks(int index, Help.Link value)
public Help.Builder addLinks(int index, Help.Link value)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameters
Returns
addLinks(int index, Help.Link.Builder builderForValue)
public Help.Builder addLinks(int index, Help.Link.Builder builderForValue)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameters
Returns
addLinksBuilder()
public Help.Link.Builder addLinksBuilder()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
addLinksBuilder(int index)
public Help.Link.Builder addLinksBuilder(int index)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Help.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
Returns
buildPartial()
public Help buildPartial()
Returns
clear()
public Help.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public Help.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearLinks()
public Help.Builder clearLinks()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public Help.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public Help.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public Help getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getLinks(int index)
public Help.Link getLinks(int index)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
getLinksBuilder(int index)
public Help.Link.Builder getLinksBuilder(int index)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
getLinksBuilderList()
public List<Help.Link.Builder> getLinksBuilderList()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
getLinksCount()
public int getLinksCount()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
getLinksList()
public List<Help.Link> getLinksList()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
getLinksOrBuilder(int index)
public Help.LinkOrBuilder getLinksOrBuilder(int index)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
getLinksOrBuilderList()
public List<? extends Help.LinkOrBuilder> getLinksOrBuilderList()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns
Type | Description |
List<? extends com.google.rpc.Help.LinkOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
public Help.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public Help.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeFrom(Help other)
public Help.Builder mergeFrom(Help other)
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Help.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeLinks(int index)
public Help.Builder removeLinks(int index)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public Help.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setLinks(int index, Help.Link value)
public Help.Builder setLinks(int index, Help.Link value)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameters
Returns
setLinks(int index, Help.Link.Builder builderForValue)
public Help.Builder setLinks(int index, Help.Link.Builder builderForValue)
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Help.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Help.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides