Class Help.Builder (1.56.0)

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.cloud.compute.v1.Help

Implements

HelpOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

public Help.Builder addAllLinks(Iterable<? extends HelpLink> values)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.HelpLink>
Returns
Type Description
Help.Builder
public Help.Builder addLinks(HelpLink value)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
value HelpLink
Returns
Type Description
Help.Builder
public Help.Builder addLinks(HelpLink.Builder builderForValue)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
builderForValue HelpLink.Builder
Returns
Type Description
Help.Builder
public Help.Builder addLinks(int index, HelpLink value)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameters
Name Description
index int
value HelpLink
Returns
Type Description
Help.Builder
public Help.Builder addLinks(int index, HelpLink.Builder builderForValue)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameters
Name Description
index int
builderForValue HelpLink.Builder
Returns
Type Description
Help.Builder

addLinksBuilder()

public HelpLink.Builder addLinksBuilder()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
HelpLink.Builder

addLinksBuilder(int index)

public HelpLink.Builder addLinksBuilder(int index)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
index int
Returns
Type Description
HelpLink.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Help.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Help.Builder
Overrides

build()

public Help build()
Returns
Type Description
Help

buildPartial()

public Help buildPartial()
Returns
Type Description
Help

clear()

public Help.Builder clear()
Returns
Type Description
Help.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Help.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Help.Builder
Overrides
public Help.Builder clearLinks()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
Help.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public Help.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Help.Builder
Overrides

clone()

public Help.Builder clone()
Returns
Type Description
Help.Builder
Overrides

getDefaultInstanceForType()

public Help getDefaultInstanceForType()
Returns
Type Description
Help

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides
public HelpLink getLinks(int index)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
index int
Returns
Type Description
HelpLink

getLinksBuilder(int index)

public HelpLink.Builder getLinksBuilder(int index)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
index int
Returns
Type Description
HelpLink.Builder

getLinksBuilderList()

public List<HelpLink.Builder> getLinksBuilderList()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
List<Builder>

getLinksCount()

public int getLinksCount()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
int
public List<HelpLink> getLinksList()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
List<HelpLink>

getLinksOrBuilder(int index)

public HelpLinkOrBuilder getLinksOrBuilder(int index)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
index int
Returns
Type Description
HelpLinkOrBuilder

getLinksOrBuilderList()

public List<? extends HelpLinkOrBuilder> getLinksOrBuilderList()

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.HelpLinkOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Help other)

public Help.Builder mergeFrom(Help other)
Parameter
Name Description
other Help
Returns
Type Description
Help.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Help.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Help.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Help.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Help.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Help.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Help.Builder
Overrides
public Help.Builder removeLinks(int index)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameter
Name Description
index int
Returns
Type Description
Help.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Help.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Help.Builder
Overrides
public Help.Builder setLinks(int index, HelpLink value)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameters
Name Description
index int
value HelpLink
Returns
Type Description
Help.Builder
public Help.Builder setLinks(int index, HelpLink.Builder builderForValue)

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

repeated .google.cloud.compute.v1.HelpLink links = 102977465;

Parameters
Name Description
index int
builderForValue HelpLink.Builder
Returns
Type Description
Help.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Help.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Help.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Help.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Help.Builder
Overrides