Class Customer (0.1.0)

public final class Customer extends GeneratedMessageV3 implements CustomerOrBuilder

Contains metadata around a Cloud Controls Partner Customer

Protobuf type google.cloud.cloudcontrolspartner.v1.Customer

Implements

CustomerOrBuilder

Static Fields

CUSTOMER_ONBOARDING_STATE_FIELD_NUMBER

public static final int CUSTOMER_ONBOARDING_STATE_FIELD_NUMBER
Field Value
TypeDescription
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

IS_ONBOARDED_FIELD_NUMBER

public static final int IS_ONBOARDED_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static Customer getDefaultInstance()
Returns
TypeDescription
Customer

getDescriptor()

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

newBuilder()

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

newBuilder(Customer prototype)

public static Customer.Builder newBuilder(Customer prototype)
Parameter
NameDescription
prototypeCustomer
Returns
TypeDescription
Customer.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomerOnboardingState()

public CustomerOnboardingState getCustomerOnboardingState()

Container for customer onboarding steps

.google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3;

Returns
TypeDescription
CustomerOnboardingState

The customerOnboardingState.

getCustomerOnboardingStateOrBuilder()

public CustomerOnboardingStateOrBuilder getCustomerOnboardingStateOrBuilder()

Container for customer onboarding steps

.google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3;

Returns
TypeDescription
CustomerOnboardingStateOrBuilder

getDefaultInstanceForType()

public Customer getDefaultInstanceForType()
Returns
TypeDescription
Customer

getDisplayName()

public String getDisplayName()

The customer organization's display name. E.g. "google.com".

string display_name = 2;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

The customer organization's display name. E.g. "google.com".

string display_name = 2;

Returns
TypeDescription
ByteString

The bytes for displayName.

getIsOnboarded()

public boolean getIsOnboarded()

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

Returns
TypeDescription
boolean

The isOnboarded.

getName()

public String getName()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. Format: organizations/{organization}/locations/{location}/customers/{customer}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCustomerOnboardingState()

public boolean hasCustomerOnboardingState()

Container for customer onboarding steps

.google.cloud.cloudcontrolspartner.v1.CustomerOnboardingState customer_onboarding_state = 3;

Returns
TypeDescription
boolean

Whether the customerOnboardingState field is set.

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 Customer.Builder newBuilderForType()
Returns
TypeDescription
Customer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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