Class ImportCustomerRequest (3.50.0)

public final class ImportCustomerRequest extends GeneratedMessageV3 implements ImportCustomerRequestOrBuilder

Request message for CloudChannelService.ImportCustomer

Protobuf type google.cloud.channel.v1.ImportCustomerRequest

Static Fields

AUTH_TOKEN_FIELD_NUMBER

public static final int AUTH_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

CHANNEL_PARTNER_ID_FIELD_NUMBER

public static final int CHANNEL_PARTNER_ID_FIELD_NUMBER
Field Value
Type Description
int

CLOUD_IDENTITY_ID_FIELD_NUMBER

public static final int CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_FIELD_NUMBER

public static final int CUSTOMER_FIELD_NUMBER
Field Value
Type Description
int

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

OVERWRITE_IF_EXISTS_FIELD_NUMBER

public static final int OVERWRITE_IF_EXISTS_FIELD_NUMBER
Field Value
Type Description
int

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImportCustomerRequest getDefaultInstance()
Returns
Type Description
ImportCustomerRequest

getDescriptor()

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

newBuilder()

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

newBuilder(ImportCustomerRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getAuthToken()

public String getAuthToken()

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The authToken.

getAuthTokenBytes()

public ByteString getAuthTokenBytes()

Optional. The super admin of the resold customer generates this token to authorize a reseller to access their Cloud Identity and purchase entitlements on their behalf. You can omit this token after authorization. See https://support.google.com/a/answer/7643790 for more details.

string auth_token = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for authToken.

getChannelPartnerId()

public String getChannelPartnerId()

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The channelPartnerId.

getChannelPartnerIdBytes()

public ByteString getChannelPartnerIdBytes()

Optional. Cloud Identity ID of a channel partner who will be the direct reseller for the customer's order. This field is required for 2-tier transfer scenarios and can be provided via the request Parent binding as well.

string channel_partner_id = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for channelPartnerId.

getCloudIdentityId()

public String getCloudIdentityId()

Required. Customer's Cloud Identity ID

string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The cloudIdentityId.

getCloudIdentityIdBytes()

public ByteString getCloudIdentityIdBytes()

Required. Customer's Cloud Identity ID

string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for cloudIdentityId.

getCustomer()

public String getCustomer()

Optional. Specifies the customer that will receive imported Cloud Identity information. Format: accounts/{account_id}/customers/{customer_id}

string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The customer.

getCustomerBytes()

public ByteString getCustomerBytes()

Optional. Specifies the customer that will receive imported Cloud Identity information. Format: accounts/{account_id}/customers/{customer_id}

string customer = 7 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for customer.

getCustomerIdentityCase()

public ImportCustomerRequest.CustomerIdentityCase getCustomerIdentityCase()
Returns
Type Description
ImportCustomerRequest.CustomerIdentityCase

getDefaultInstanceForType()

public ImportCustomerRequest getDefaultInstanceForType()
Returns
Type Description
ImportCustomerRequest

getDomain()

public String getDomain()

Required. Customer domain.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Required. Customer domain.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for domain.

getOverwriteIfExists()

public boolean getOverwriteIfExists()

Required. Choose to overwrite an existing customer if found. This must be set to true if there is an existing customer with a conflicting region code or domain.

bool overwrite_if_exists = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The overwriteIfExists.

getParent()

public String getParent()

Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The resource name of the reseller's account. Parent takes the format: accounts/{account_id} or accounts/{account_id}/channelPartnerLinks/{channel_partner_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for parent.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCloudIdentityId()

public boolean hasCloudIdentityId()

Required. Customer's Cloud Identity ID

string cloud_identity_id = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the cloudIdentityId field is set.

hasDomain()

public boolean hasDomain()

Required. Customer domain.

string domain = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the domain field is set.

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 ImportCustomerRequest.Builder newBuilderForType()
Returns
Type Description
ImportCustomerRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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