public static final class Handshake.Builder extends GeneratedMessage.Builder<Handshake.Builder> implements HandshakeOrBuilderThe current status of establishing of the service. (for example, pending approval or approved).
Protobuf type google.shopping.merchant.accounts.v1.Handshake
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Handshake.BuilderImplements
HandshakeOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Handshake build()| Returns | |
|---|---|
| Type | Description |
Handshake |
|
buildPartial()
public Handshake buildPartial()| Returns | |
|---|---|
| Type | Description |
Handshake |
|
clear()
public Handshake.Builder clear()| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
|
clearActor()
public Handshake.Builder clearActor() Output only. The most recent account to modify the account service's
approval_status.
.google.shopping.merchant.accounts.v1.Handshake.Actor actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |
clearApprovalState()
public Handshake.Builder clearApprovalState()Output only. The approval state of this handshake.
.google.shopping.merchant.accounts.v1.Handshake.ApprovalState approval_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |
getActor()
public Handshake.Actor getActor() Output only. The most recent account to modify the account service's
approval_status.
.google.shopping.merchant.accounts.v1.Handshake.Actor actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Handshake.Actor |
The actor. |
getActorValue()
public int getActorValue() Output only. The most recent account to modify the account service's
approval_status.
.google.shopping.merchant.accounts.v1.Handshake.Actor actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for actor. |
getApprovalState()
public Handshake.ApprovalState getApprovalState()Output only. The approval state of this handshake.
.google.shopping.merchant.accounts.v1.Handshake.ApprovalState approval_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Handshake.ApprovalState |
The approvalState. |
getApprovalStateValue()
public int getApprovalStateValue()Output only. The approval state of this handshake.
.google.shopping.merchant.accounts.v1.Handshake.ApprovalState approval_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for approvalState. |
getDefaultInstanceForType()
public Handshake getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Handshake |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Handshake.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Handshake.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
|
mergeFrom(Handshake other)
public Handshake.Builder mergeFrom(Handshake other)| Parameter | |
|---|---|
| Name | Description |
other |
Handshake |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
|
setActor(Handshake.Actor value)
public Handshake.Builder setActor(Handshake.Actor value) Output only. The most recent account to modify the account service's
approval_status.
.google.shopping.merchant.accounts.v1.Handshake.Actor actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Handshake.ActorThe actor to set. |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |
setActorValue(int value)
public Handshake.Builder setActorValue(int value) Output only. The most recent account to modify the account service's
approval_status.
.google.shopping.merchant.accounts.v1.Handshake.Actor actor = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for actor to set. |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |
setApprovalState(Handshake.ApprovalState value)
public Handshake.Builder setApprovalState(Handshake.ApprovalState value)Output only. The approval state of this handshake.
.google.shopping.merchant.accounts.v1.Handshake.ApprovalState approval_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
Handshake.ApprovalStateThe approvalState to set. |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |
setApprovalStateValue(int value)
public Handshake.Builder setApprovalStateValue(int value)Output only. The approval state of this handshake.
.google.shopping.merchant.accounts.v1.Handshake.ApprovalState approval_state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for approvalState to set. |
| Returns | |
|---|---|
| Type | Description |
Handshake.Builder |
This builder for chaining. |