Class About.Builder (1.11.0)

public static final class About.Builder extends GeneratedMessage.Builder<About.Builder> implements AboutOrBuilder

Collection of information related to the about page (impressum).

Protobuf type google.shopping.merchant.accounts.v1beta.About

Implements

AboutOrBuilder

Static Methods

getDescriptor()

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

Methods

build()

public About build()
Returns
Type Description
About

buildPartial()

public About buildPartial()
Returns
Type Description
About

clear()

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

clearState()

public About.Builder clearState()

Output only. The state of the URI.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
About.Builder

This builder for chaining.

clearUri()

public About.Builder clearUri()

Required. The about page URI.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
About.Builder

This builder for chaining.

getDefaultInstanceForType()

public About getDefaultInstanceForType()
Returns
Type Description
About

getDescriptorForType()

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

getState()

public ReviewState.State getState()

Output only. The state of the URI.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ReviewState.State

The state.

getStateValue()

public int getStateValue()

Output only. The state of the URI.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getUri()

public String getUri()

Required. The about page URI.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The about page URI.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for uri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(About other)

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

setState(ReviewState.State value)

public About.Builder setState(ReviewState.State value)

Output only. The state of the URI.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ReviewState.State

The state to set.

Returns
Type Description
About.Builder

This builder for chaining.

setStateValue(int value)

public About.Builder setStateValue(int value)

Output only. The state of the URI.

.google.shopping.merchant.accounts.v1beta.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
About.Builder

This builder for chaining.

setUri(String value)

public About.Builder setUri(String value)

Required. The about page URI.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
About.Builder

This builder for chaining.

setUriBytes(ByteString value)

public About.Builder setUriBytes(ByteString value)

Required. The about page URI.

string uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
About.Builder

This builder for chaining.