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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
addLinksBuilder()
public Help.Link.Builder addLinksBuilder()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
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 |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Help.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
Returns |
---|
Type | Description |
Help | |
buildPartial()
public Help buildPartial()
Returns |
---|
Type | Description |
Help | |
clear()
public Help.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public Help.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLinks()
public Help.Builder clearLinks()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public Help.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Help.Builder clone()
Overrides
getDefaultInstanceForType()
public Help getDefaultInstanceForType()
Returns |
---|
Type | Description |
Help | |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Name | Description |
index | int
|
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 |
---|
Name | Description |
index | int
|
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;
getLinksCount()
public int getLinksCount()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
Returns |
---|
Type | Description |
int | |
getLinksList()
public List<Help.Link> getLinksList()
URL(s) pointing to additional information on handling the current error.
repeated .google.rpc.Help.Link links = 1;
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 |
---|
Name | Description |
index | int
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Help.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Help.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(Help other)
public Help.Builder mergeFrom(Help other)
Parameter |
---|
Name | Description |
other | Help
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Help.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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 |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public Help.Builder setField(Descriptors.FieldDescriptor field, Object value)
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Help.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Help.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides