public static final class OnDisplayToOrder.Builder extends GeneratedMessage.Builder<OnDisplayToOrder.Builder> implements OnDisplayToOrderOrBuilderCollection of information related to the on display to order (ODO).
Protobuf type google.shopping.merchant.accounts.v1.OnDisplayToOrder
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > OnDisplayToOrder.BuilderImplements
OnDisplayToOrderOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
clearState()
public OnDisplayToOrder.Builder clearState()Output only. The state of the URI.
.google.shopping.merchant.accounts.v1.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. |
getDefaultInstanceForType()
public OnDisplayToOrder getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
OnDisplayToOrder |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getState()
public ReviewState.State getState()Output only. The state of the URI.
.google.shopping.merchant.accounts.v1.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.v1.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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public OnDisplayToOrder.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
OnDisplayToOrder.Builder |
|
mergeFrom(OnDisplayToOrder other)
public OnDisplayToOrder.Builder mergeFrom(OnDisplayToOrder other)| Parameter | |
|---|---|
| Name | Description |
other |
OnDisplayToOrder |
| Returns | |
|---|---|
| Type | Description |
OnDisplayToOrder.Builder |
|
setState(ReviewState.State value)
public OnDisplayToOrder.Builder setState(ReviewState.State value)Output only. The state of the URI.
.google.shopping.merchant.accounts.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ReviewState.StateThe 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.v1.ReviewState.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for state to set. |
| Returns | |
|---|---|
| Type | Description |
OnDisplayToOrder.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for uri to set. |
| Returns | |
|---|---|
| Type | Description |
OnDisplayToOrder.Builder |
This builder for chaining. |