Class RelatedUrl (2.37.0)

public final class RelatedUrl extends GeneratedMessageV3 implements RelatedUrlOrBuilder

Metadata for any related URL information.

Protobuf type grafeas.v1beta1.RelatedUrl

Implements

RelatedUrlOrBuilder

Static Fields

LABEL_FIELD_NUMBER

public static final int LABEL_FIELD_NUMBER
Field Value
TypeDescription
int

URL_FIELD_NUMBER

public static final int URL_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RelatedUrl getDefaultInstance()
Returns
TypeDescription
RelatedUrl

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RelatedUrl.Builder newBuilder()
Returns
TypeDescription
RelatedUrl.Builder

newBuilder(RelatedUrl prototype)

public static RelatedUrl.Builder newBuilder(RelatedUrl prototype)
Parameter
NameDescription
prototypeRelatedUrl
Returns
TypeDescription
RelatedUrl.Builder

parseDelimitedFrom(InputStream input)

public static RelatedUrl parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RelatedUrl parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RelatedUrl parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RelatedUrl parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RelatedUrl parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RelatedUrl parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RelatedUrl parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RelatedUrl> parser()
Returns
TypeDescription
Parser<RelatedUrl>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public RelatedUrl getDefaultInstanceForType()
Returns
TypeDescription
RelatedUrl

getLabel()

public String getLabel()

Label to describe usage of the URL.

string label = 2;

Returns
TypeDescription
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Label to describe usage of the URL.

string label = 2;

Returns
TypeDescription
ByteString

The bytes for label.

getParserForType()

public Parser<RelatedUrl> getParserForType()
Returns
TypeDescription
Parser<RelatedUrl>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUrl()

public String getUrl()

Specific URL associated with the resource.

string url = 1;

Returns
TypeDescription
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Specific URL associated with the resource.

string url = 1;

Returns
TypeDescription
ByteString

The bytes for url.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RelatedUrl.Builder newBuilderForType()
Returns
TypeDescription
RelatedUrl.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RelatedUrl.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RelatedUrl.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RelatedUrl.Builder toBuilder()
Returns
TypeDescription
RelatedUrl.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException