Class RelatedUrl.Builder (2.14.0)

Stay organized with collections Save and categorize content based on your preferences.
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
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.