Class Handshake.Builder (1.0.0)

public static final class Handshake.Builder extends GeneratedMessageV3.Builder<Handshake.Builder> implements HandshakeOrBuilder

The current status of establishing of the service. (for example, pending approval or approved).

Protobuf type google.shopping.merchant.accounts.v1.Handshake

Implements

HandshakeOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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
Overrides

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

mergeFrom(Message other)

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

mergeFrom(Handshake other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

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.Actor

The 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 int

The 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.ApprovalState

The 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 int

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

Returns
Type Description
Handshake.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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