Class Help.Builder (1.51.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.HelpLink>
Returns
TypeDescription
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
NameDescription
valueHelpLink
Returns
TypeDescription
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
NameDescription
builderForValueHelpLink.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueHelpLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHelpLink.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
HelpLink.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.cloud.compute.v1.HelpLink links = 102977465;

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 HelpLink getLinks(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.compute.v1.HelpLinkOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Help other)

public Help.Builder mergeFrom(Help other)
Parameter
NameDescription
otherHelp
Returns
TypeDescription
Help.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Help.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Help.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Help.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Help.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Help.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
Help.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public Help.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valueHelpLink
Returns
TypeDescription
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
NameDescription
indexint
builderForValueHelpLink.Builder
Returns
TypeDescription
Help.Builder

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

public Help.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Help.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Help.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Help.Builder
Overrides