Class RelatedUrl.Builder (2.47.0)

public static final class RelatedUrl.Builder extends GeneratedMessageV3.Builder<RelatedUrl.Builder> implements RelatedUrlOrBuilder

Metadata for any related URL information.

Protobuf type grafeas.v1.RelatedUrl

Implements

RelatedUrlOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RelatedUrl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RelatedUrl.Builder
Overrides

build()

public RelatedUrl build()
Returns
Type Description
RelatedUrl

buildPartial()

public RelatedUrl buildPartial()
Returns
Type Description
RelatedUrl

clear()

public RelatedUrl.Builder clear()
Returns
Type Description
RelatedUrl.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RelatedUrl.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RelatedUrl.Builder
Overrides

clearLabel()

public RelatedUrl.Builder clearLabel()

Label to describe usage of the URL.

string label = 2;

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RelatedUrl.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RelatedUrl.Builder
Overrides

clearUrl()

public RelatedUrl.Builder clearUrl()

Specific URL associated with the resource.

string url = 1;

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.

clone()

public RelatedUrl.Builder clone()
Returns
Type Description
RelatedUrl.Builder
Overrides

getDefaultInstanceForType()

public RelatedUrl getDefaultInstanceForType()
Returns
Type Description
RelatedUrl

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLabel()

public String getLabel()

Label to describe usage of the URL.

string label = 2;

Returns
Type Description
String

The label.

getLabelBytes()

public ByteString getLabelBytes()

Label to describe usage of the URL.

string label = 2;

Returns
Type Description
ByteString

The bytes for label.

getUrl()

public String getUrl()

Specific URL associated with the resource.

string url = 1;

Returns
Type Description
String

The url.

getUrlBytes()

public ByteString getUrlBytes()

Specific URL associated with the resource.

string url = 1;

Returns
Type Description
ByteString

The bytes for url.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RelatedUrl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RelatedUrl.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RelatedUrl.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RelatedUrl.Builder
Overrides

mergeFrom(RelatedUrl other)

public RelatedUrl.Builder mergeFrom(RelatedUrl other)
Parameter
Name Description
other RelatedUrl
Returns
Type Description
RelatedUrl.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RelatedUrl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RelatedUrl.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RelatedUrl.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RelatedUrl.Builder
Overrides

setLabel(String value)

public RelatedUrl.Builder setLabel(String value)

Label to describe usage of the URL.

string label = 2;

Parameter
Name Description
value String

The label to set.

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.

setLabelBytes(ByteString value)

public RelatedUrl.Builder setLabelBytes(ByteString value)

Label to describe usage of the URL.

string label = 2;

Parameter
Name Description
value ByteString

The bytes for label to set.

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.

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

public RelatedUrl.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RelatedUrl.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RelatedUrl.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RelatedUrl.Builder
Overrides

setUrl(String value)

public RelatedUrl.Builder setUrl(String value)

Specific URL associated with the resource.

string url = 1;

Parameter
Name Description
value String

The url to set.

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.

setUrlBytes(ByteString value)

public RelatedUrl.Builder setUrlBytes(ByteString value)

Specific URL associated with the resource.

string url = 1;

Parameter
Name Description
value ByteString

The bytes for url to set.

Returns
Type Description
RelatedUrl.Builder

This builder for chaining.