Class HelpLink (1.27.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
TypeDescription
int
public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

public static HelpLink getDefaultInstance()
Returns
TypeDescription
HelpLink
public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor
public static HelpLink.Builder newBuilder()
Returns
TypeDescription
HelpLink.Builder
public static HelpLink.Builder newBuilder(HelpLink prototype)
Parameter
NameDescription
prototypeHelpLink
Returns
TypeDescription
HelpLink.Builder
public static HelpLink parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static HelpLink parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static HelpLink parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
IOException
public static HelpLink parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static HelpLink parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
HelpLink
Exceptions
TypeDescription
InvalidProtocolBufferException
public static Parser<HelpLink> parser()
Returns
TypeDescription
Parser<HelpLink>

Methods

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides
public HelpLink getDefaultInstanceForType()
Returns
TypeDescription
HelpLink
public String getDescription()

Describes what the link offers.

optional string description = 422937596;

Returns
TypeDescription
String

The description.

public ByteString getDescriptionBytes()

Describes what the link offers.

optional string description = 422937596;

Returns
TypeDescription
ByteString

The bytes for description.

public Parser<HelpLink> getParserForType()
Returns
TypeDescription
Parser<HelpLink>
Overrides
public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides
public String getUrl()

The URL of the link.

optional string url = 116079;

Returns
TypeDescription
String

The url.

public ByteString getUrlBytes()

The URL of the link.

optional string url = 116079;

Returns
TypeDescription
ByteString

The bytes for url.

public boolean hasDescription()

Describes what the link offers.

optional string description = 422937596;

Returns
TypeDescription
boolean

Whether the description field is set.

public boolean hasUrl()

The URL of the link.

optional string url = 116079;

Returns
TypeDescription
boolean

Whether the url field is set.

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