Class Help.Builder (2.10.0)

Stay organized with collections Save and categorize content based on your preferences.
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

Implements

HelpOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

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
NameDescription
valuesIterable<? extends com.google.rpc.Help.Link>
Returns
TypeDescription
Help.Builder
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
NameDescription
valueHelp.Link
Returns
TypeDescription
Help.Builder
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
NameDescription
builderForValueHelp.Link.Builder
Returns
TypeDescription
Help.Builder
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
NameDescription
indexint
valueHelp.Link
Returns
TypeDescription
Help.Builder
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
NameDescription
indexint
builderForValueHelp.Link.Builder
Returns
TypeDescription
Help.Builder

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
TypeDescription
Help.Link.Builder

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
NameDescription
indexint
Returns
TypeDescription
Help.Link.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Help.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Help.Builder
Overrides

build()

public Help build()
Returns
TypeDescription
Help

buildPartial()

public Help buildPartial()
Returns
TypeDescription
Help

clear()

public Help.Builder clear()
Returns
TypeDescription
Help.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Help.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Help.Builder
Overrides
public Help.Builder clearLinks()

URL(s) pointing to additional information on handling the current error.

repeated .google.rpc.Help.Link links = 1;

Returns
TypeDescription
Help.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Help.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Help.Builder
Overrides

clone()

public Help.Builder clone()
Returns
TypeDescription
Help.Builder
Overrides

getDefaultInstanceForType()

public Help getDefaultInstanceForType()
Returns
TypeDescription
Help

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides
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
NameDescription
indexint
Returns
TypeDescription
Help.Link

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
NameDescription
indexint
Returns
TypeDescription
Help.Link.Builder

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
TypeDescription
List<Builder>

getLinksCount()

public int getLinksCount()

URL(s) pointing to additional information on handling the current error.

repeated .google.rpc.Help.Link links = 1;

Returns
TypeDescription
int
public List<Help.Link> getLinksList()

URL(s) pointing to additional information on handling the current error.

repeated .google.rpc.Help.Link links = 1;

Returns
TypeDescription