Class HelpLink (1.53.0)

public final class HelpLink extends GeneratedMessageV3 implements HelpLinkOrBuilder

Describes a URL link.

Protobuf type google.cloud.compute.v1.HelpLink

Implements

HelpLinkOrBuilder

Static Fields

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
Type Description
int
public static final int URL_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

public static HelpLink getDefaultInstance()
Returns
Type Description
HelpLink
public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor
public static HelpLink.Builder newBuilder()
Returns
Type Description
HelpLink.Builder
public static HelpLink.Builder newBuilder(HelpLink prototype)
Parameter
Name Description
prototype HelpLink
Returns
Type Description
HelpLink.Builder
public static HelpLink parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static HelpLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static HelpLink parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
IOException
public static HelpLink parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
HelpLink
Exceptions
Type Description
InvalidProtocolBufferException
public static Parser<HelpLink> parser()
Returns
Type Description
Parser<HelpLink>

Methods

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides
public HelpLink getDefaultInstanceForType()
Returns
Type Description
HelpLink
public String getDescription()

Describes what the link offers.

optional string description = 422937596;

Returns
Type Description
String

The description.

public ByteString getDescriptionBytes()

Describes what the link offers.

optional string description = 422937596;

Returns
Type Description
ByteString

The bytes for description.

public Parser<HelpLink> getParserForType()
Returns
Type Description
Parser<HelpLink>
Overrides
public int getSerializedSize()
Returns
Type Description
int
Overrides
public String getUrl()

The URL of the link.

optional string url = 116079;

Returns
Type Description
String

The url.

public ByteString getUrlBytes()

The URL of the link.

optional string url = 116079;

Returns
Type Description
ByteString

The bytes for url.

public boolean hasDescription()

Describes what the link offers.

optional string description = 422937596;

Returns
Type Description
boolean

Whether the description field is set.

public boolean hasUrl()

The URL of the link.

optional string url = 116079;

Returns
Type Description
boolean

Whether the url field is set.

public int hashCode()
Returns
Type Description
int
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides
public final boolean isInitialized()
Returns
Type Description
boolean
Overrides
public HelpLink.Builder newBuilderForType()
Returns
Type Description
HelpLink.Builder
protected HelpLink.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
HelpLink.Builder
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides
public HelpLink.Builder toBuilder()
Returns
Type Description
HelpLink.Builder
public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException