Class CloudIdentityCustomerAccount (3.51.0)

public final class CloudIdentityCustomerAccount extends GeneratedMessageV3 implements CloudIdentityCustomerAccountOrBuilder

Entity representing a Cloud Identity account that may be associated with a Channel Services API partner.

Protobuf type google.cloud.channel.v1.CloudIdentityCustomerAccount

Static Fields

CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER

public static final int CUSTOMER_CLOUD_IDENTITY_ID_FIELD_NUMBER
Field Value
Type Description
int

CUSTOMER_NAME_FIELD_NUMBER

public static final int CUSTOMER_NAME_FIELD_NUMBER
Field Value
Type Description
int

EXISTING_FIELD_NUMBER

public static final int EXISTING_FIELD_NUMBER
Field Value
Type Description
int

OWNED_FIELD_NUMBER

public static final int OWNED_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CloudIdentityCustomerAccount getDefaultInstance()
Returns
Type Description
CloudIdentityCustomerAccount

getDescriptor()

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

newBuilder()

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

newBuilder(CloudIdentityCustomerAccount prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomerCloudIdentityId()

public String getCustomerCloudIdentityId()

If existing = true, the Cloud Identity ID of the customer.

string customer_cloud_identity_id = 4;

Returns
Type Description
String

The customerCloudIdentityId.

getCustomerCloudIdentityIdBytes()

public ByteString getCustomerCloudIdentityIdBytes()

If existing = true, the Cloud Identity ID of the customer.

string customer_cloud_identity_id = 4;

Returns
Type Description
ByteString

The bytes for customerCloudIdentityId.

getCustomerName()

public String getCustomerName()

If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 3;

Returns
Type Description
String

The customerName.

getCustomerNameBytes()

public ByteString getCustomerNameBytes()

If owned = true, the name of the customer that owns the Cloud Identity account. Customer_name uses the format: accounts/{account_id}/customers/{customer_id}

string customer_name = 3;

Returns
Type Description
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public CloudIdentityCustomerAccount getDefaultInstanceForType()
Returns
Type Description
CloudIdentityCustomerAccount

getExisting()

public boolean getExisting()

Returns true if a Cloud Identity account exists for a specific domain.

bool existing = 1;

Returns
Type Description
boolean

The existing.

getOwned()

public boolean getOwned()

Returns true if the Cloud Identity account is associated with a customer of the Channel Services partner.

bool owned = 2;

Returns
Type Description
boolean

The owned.

getParserForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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