Class CloudIdentityCustomerAccount (3.18.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
TypeDescription
int

CUSTOMER_NAME_FIELD_NUMBER

public static final int CUSTOMER_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

EXISTING_FIELD_NUMBER

public static final int EXISTING_FIELD_NUMBER
Field Value
TypeDescription
int

OWNED_FIELD_NUMBER

public static final int OWNED_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static CloudIdentityCustomerAccount getDefaultInstance()
Returns
TypeDescription
CloudIdentityCustomerAccount

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static CloudIdentityCustomerAccount.Builder newBuilder()
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

newBuilder(CloudIdentityCustomerAccount prototype)

public static CloudIdentityCustomerAccount.Builder newBuilder(CloudIdentityCustomerAccount prototype)
Parameter
NameDescription
prototypeCloudIdentityCustomerAccount
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

parseDelimitedFrom(InputStream input)

public static CloudIdentityCustomerAccount parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static CloudIdentityCustomerAccount parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CloudIdentityCustomerAccount parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CloudIdentityCustomerAccount parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static CloudIdentityCustomerAccount parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static CloudIdentityCustomerAccount parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CloudIdentityCustomerAccount parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CloudIdentityCustomerAccount
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<CloudIdentityCustomerAccount> parser()
Returns
TypeDescription
Parser<CloudIdentityCustomerAccount>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCustomerCloudIdentityId()

public String getCustomerCloudIdentityId()

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

string customer_cloud_identity_id = 4;

Returns
TypeDescription
String

The customerCloudIdentityId.

getCustomerCloudIdentityIdBytes()

public ByteString getCustomerCloudIdentityIdBytes()

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

string customer_cloud_identity_id = 4;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for customerName.

getDefaultInstanceForType()

public CloudIdentityCustomerAccount getDefaultInstanceForType()
Returns
TypeDescription
CloudIdentityCustomerAccount

getExisting()

public boolean getExisting()

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

bool existing = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The owned.

getParserForType()

public Parser<CloudIdentityCustomerAccount> getParserForType()
Returns
TypeDescription
Parser<CloudIdentityCustomerAccount>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public CloudIdentityCustomerAccount.Builder newBuilderForType()
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected CloudIdentityCustomerAccount.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public CloudIdentityCustomerAccount.Builder toBuilder()
Returns
TypeDescription
CloudIdentityCustomerAccount.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException