Class RegisterGcpRequest (1.8.0)

public final class RegisterGcpRequest extends GeneratedMessageV3 implements RegisterGcpRequestOrBuilder

Request message for the RegisterGCP method.

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

Static Fields

DEVELOPER_EMAIL_FIELD_NUMBER

public static final int DEVELOPER_EMAIL_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RegisterGcpRequest getDefaultInstance()
Returns
Type Description
RegisterGcpRequest

getDescriptor()

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

newBuilder()

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

newBuilder(RegisterGcpRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public RegisterGcpRequest getDefaultInstanceForType()
Returns
Type Description
RegisterGcpRequest

getDeveloperEmail()

public String getDeveloperEmail()

Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have "API developer" access type and the email preference corresponding to that user will be updated to have the new "API notifications" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new "API notifications" preference

string developer_email = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The developerEmail.

getDeveloperEmailBytes()

public ByteString getDeveloperEmailBytes()

Immutable. If the developer email provided is associated with a user in the merchant account provided, the user will be updated to have "API developer" access type and the email preference corresponding to that user will be updated to have the new "API notifications" preference. If the developer email provided is not associated with any user we will just add it as a contact. The email preference corresponding to that contact will have the new "API notifications" preference

string developer_email = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for developerEmail.

getName()

public String getName()

Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: accounts/{account}/developerRegistration

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the developer registration to be created for the merchant account that the GCP will be registered with. Format: accounts/{account}/developerRegistration

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<RegisterGcpRequest> getParserForType()
Returns
Type Description
Parser<RegisterGcpRequest>
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 RegisterGcpRequest.Builder newBuilderForType()
Returns
Type Description
RegisterGcpRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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