Class Handshake (1.0.0)

public final class Handshake extends GeneratedMessageV3 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 Fields

ACTOR_FIELD_NUMBER

public static final int ACTOR_FIELD_NUMBER
Field Value
Type Description
int

APPROVAL_STATE_FIELD_NUMBER

public static final int APPROVAL_STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Handshake getDefaultInstance()
Returns
Type Description
Handshake

getDescriptor()

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

newBuilder()

public static Handshake.Builder newBuilder()
Returns
Type Description
Handshake.Builder

newBuilder(Handshake prototype)

public static Handshake.Builder newBuilder(Handshake prototype)
Parameter
Name Description
prototype Handshake
Returns
Type Description
Handshake.Builder

parseDelimitedFrom(InputStream input)

public static Handshake parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Handshake parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Handshake parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Handshake parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Handshake parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Handshake parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Handshake parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Handshake parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Handshake parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Handshake parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Handshake parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Handshake parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Handshake
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Handshake> parser()
Returns
Type Description
Parser<Handshake>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

getParserForType()

public Parser<Handshake> getParserForType()
Returns
Type Description
Parser<Handshake>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Handshake.Builder newBuilderForType()
Returns
Type Description
Handshake.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Handshake.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Handshake.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Handshake.Builder toBuilder()
Returns
Type Description
Handshake.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException