public static final class RegisterGcpRequest.Builder extends GeneratedMessage.Builder<RegisterGcpRequest.Builder> implements RegisterGcpRequestOrBuilderRequest message for the RegisterGCP method.
Protobuf type google.shopping.merchant.accounts.v1.RegisterGcpRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RegisterGcpRequest.BuilderImplements
RegisterGcpRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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 |
|
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. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.
string developer_email = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest.Builder |
This builder for chaining. |
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. |
getDefaultInstanceForType()
public RegisterGcpRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.
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. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RegisterGcpRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest.Builder |
|
mergeFrom(RegisterGcpRequest other)
public RegisterGcpRequest.Builder mergeFrom(RegisterGcpRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
RegisterGcpRequest |
| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest.Builder |
|
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. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.
string developer_email = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe 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. Make sure the email used is associated with a Google Account (Google Workspace account or Gmail account) and is not a service account as service accounts can't receive emails.
string developer_email = 2 [(.google.api.field_behavior) = IMMUTABLE];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for developerEmail to set. |
| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
RegisterGcpRequest.Builder |
This builder for chaining. |