Send feedback
Class Help.Builder (2.9.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.9.0 keyboard_arrow_down
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
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
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]