Class Help.Link (2.21.1)

public static final class Help.Link extends GeneratedMessageV3 implements Help.LinkOrBuilder

Describes a URL link.

Protobuf type google.rpc.Help.Link

Implements

Help.LinkOrBuilder

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

Methods

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

Describes what the link offers.

string description = 1;

Returns
TypeDescription
String

The description.

public ByteString getDescriptionBytes()

Describes what the link offers.

string description = 1;

Returns
TypeDescription
ByteString

The bytes for description.

public Parser<Help.Link> getParserForType()
Returns
TypeDescription
Parser<Link>
Overrides
public int getSerializedSize()
Returns
TypeDescription
int
Overrides
public String getUrl()

The URL of the link.

string url = 2;

Returns
TypeDescription
String

The url.

public ByteString getUrlBytes()

The URL of the link.

string url = 2;

Returns
TypeDescription
ByteString

The bytes for url.

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