Class RelatedUrl.Builder (2.4.0)

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

Metadata for any related URL information.

Protobuf type grafeas.v1beta1.RelatedUrl

Implements

RelatedUrlOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RelatedUrl.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RelatedUrl.Builder
Overrides

build()

public RelatedUrl build()
Returns
TypeDescription
RelatedUrl

buildPartial()

public RelatedUrl buildPartial()
Returns
TypeDescription
RelatedUrl

clear()

public RelatedUrl.Builder clear()
Returns
TypeDescription
RelatedUrl.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RelatedUrl.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RelatedUrl.Builder
Overrides

clearLabel()

public RelatedUrl.Builder clearLabel()

Label to describe usage of the URL.

string label = 2;

Returns
TypeDescription
RelatedUrl.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RelatedUrl.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
RelatedUrl.Builder
Overrides

clearUrl()

public RelatedUrl.Builder clearUrl()

Specific URL associated with the resource.

string url = 1;

Returns
TypeDescription
RelatedUrl.Builder

This builder for chaining.

clone()

public RelatedUrl.Builder clone()
Returns
TypeDescription
RelatedUrl.Builder
Overrides

getDefaultInstanceForType()

public RelatedUrl getDefaultInstanceForType()
Returns
TypeDescription
RelatedUrl

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RelatedUrl.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RelatedUrl.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RelatedUrl.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RelatedUrl.Builder
Overrides

mergeFrom(RelatedUrl other)

public RelatedUrl.Builder mergeFrom(RelatedUrl other)
Parameter
NameDescription
otherRelatedUrl
Returns
TypeDescription
RelatedUrl.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RelatedUrl.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RelatedUrl.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RelatedUrl.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RelatedUrl.Builder
Overrides

setLabel(String value)

public RelatedUrl.Builder setLabel(String value)

Label to describe usage of the URL.

string label = 2;

Parameter
NameDescription
valueString

The label to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for label to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RelatedUrl.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RelatedUrl.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RelatedUrl.Builder
Overrides

setUrl(String value)

public RelatedUrl.Builder setUrl(String value)

Specific URL associated with the resource.

string url = 1;

Parameter
NameDescription
valueString

The url to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for url to set.

Returns
TypeDescription
RelatedUrl.Builder

This builder for chaining.