public static final class RelatedUrl.Builder extends GeneratedMessage.Builder<RelatedUrl.Builder> implements RelatedUrlOrBuilderMetadata for any related URL information.
Protobuf type grafeas.v1.RelatedUrl
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RelatedUrl.BuilderImplements
RelatedUrlOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearLabel()
public RelatedUrl.Builder clearLabel()Label to describe usage of the URL.
string label = 2;
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
This builder for chaining. |
clearUrl()
public RelatedUrl.Builder clearUrl()Specific URL associated with the resource.
string url = 1;
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public RelatedUrl getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RelatedUrl |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RelatedUrl.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
|
mergeFrom(RelatedUrl other)
public RelatedUrl.Builder mergeFrom(RelatedUrl other)| Parameter | |
|---|---|
| Name | Description |
other |
RelatedUrl |
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
|
setLabel(String value)
public RelatedUrl.Builder setLabel(String value)Label to describe usage of the URL.
string label = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for label to set. |
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
This builder for chaining. |
setUrl(String value)
public RelatedUrl.Builder setUrl(String value)Specific URL associated with the resource.
string url = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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 |
ByteStringThe bytes for url to set. |
| Returns | |
|---|---|
| Type | Description |
RelatedUrl.Builder |
This builder for chaining. |