Class RegisterGcpRequest.Builder (1.8.0)

public static final class RegisterGcpRequest.Builder extends GeneratedMessageV3.Builder<RegisterGcpRequest.Builder> implements RegisterGcpRequestOrBuilder

Request message for the RegisterGCP method.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegisterGcpRequest build()
Returns
Type Description
RegisterGcpRequest

buildPartial()

public RegisterGcpRequest buildPartial()
Returns
Type Description
RegisterGcpRequest

clear()

public RegisterGcpRequest.Builder clear()
Returns
Type Description
RegisterGcpRequest.Builder
Overrides

clearDeveloperEmail()

public RegisterGcpRequest.Builder clearDeveloperEmail()

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
RegisterGcpRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public RegisterGcpRequest.Builder clearName()

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
RegisterGcpRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegisterGcpRequest getDefaultInstanceForType()
Returns
Type Description
RegisterGcpRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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

mergeFrom(Message other)

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

mergeFrom(RegisterGcpRequest other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeveloperEmail(String value)

public RegisterGcpRequest.Builder setDeveloperEmail(String value)

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];

Parameter
Name Description
value String

The developerEmail to set.

Returns
Type Description
RegisterGcpRequest.Builder

This builder for chaining.

setDeveloperEmailBytes(ByteString value)

public RegisterGcpRequest.Builder setDeveloperEmailBytes(ByteString value)

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];

Parameter
Name Description
value ByteString

The bytes for developerEmail to set.

Returns
Type Description
RegisterGcpRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public RegisterGcpRequest.Builder setName(String value)

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) = { ... }

Parameter
Name Description
value String

The name to set.

Returns
Type Description
RegisterGcpRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public RegisterGcpRequest.Builder setNameBytes(ByteString value)

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) = { ... }

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
RegisterGcpRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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