Class OnDisplayToOrder.Builder (0.20.0)

public static final class OnDisplayToOrder.Builder extends GeneratedMessageV3.Builder<OnDisplayToOrder.Builder> implements OnDisplayToOrderOrBuilder

Collection of information related to the on display to order (ODO).

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public OnDisplayToOrder build()
Returns
Type Description
OnDisplayToOrder

buildPartial()

public OnDisplayToOrder buildPartial()
Returns
Type Description
OnDisplayToOrder

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public OnDisplayToOrder.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
OnDisplayToOrder.Builder

This builder for chaining.

clearUri()

public OnDisplayToOrder.Builder clearUri()

Required. The on display to order (ODO) policy URI.

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

Returns
Type Description
OnDisplayToOrder.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public OnDisplayToOrder getDefaultInstanceForType()
Returns
Type Description
OnDisplayToOrder

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 on display to order (ODO) policy URI.

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

Returns
Type Description
String

The uri.

getUriBytes()

public ByteString getUriBytes()

Required. The on display to order (ODO) policy URI.

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

Returns
Type Description
ByteString

The bytes for uri.

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 OnDisplayToOrder.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OnDisplayToOrder.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

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

mergeFrom(OnDisplayToOrder other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setState(ReviewState.State value)

public OnDisplayToOrder.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
OnDisplayToOrder.Builder

This builder for chaining.

setStateValue(int value)

public OnDisplayToOrder.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
OnDisplayToOrder.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setUri(String value)

public OnDisplayToOrder.Builder setUri(String value)

Required. The on display to order (ODO) policy URI.

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

Parameter
Name Description
value String

The uri to set.

Returns
Type Description
OnDisplayToOrder.Builder

This builder for chaining.

setUriBytes(ByteString value)

public OnDisplayToOrder.Builder setUriBytes(ByteString value)

Required. The on display to order (ODO) policy URI.

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

Parameter
Name Description
value ByteString

The bytes for uri to set.

Returns
Type Description
OnDisplayToOrder.Builder

This builder for chaining.