Class Customer (0.8.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
Type Description
int

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

IS_ONBOARDED_FIELD_NUMBER

public static final int IS_ONBOARDED_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Customer getDefaultInstance()
Returns
Type Description
Customer

getDescriptor()

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

newBuilder()

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

newBuilder(Customer prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCustomerOnboardingState()

public CustomerOnboardingState getCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
Type Description
CustomerOnboardingState

The customerOnboardingState.

getCustomerOnboardingStateOrBuilder()

public CustomerOnboardingStateOrBuilder getCustomerOnboardingStateOrBuilder()

Container for customer onboarding steps

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

Returns
Type Description
CustomerOnboardingStateOrBuilder

getDefaultInstanceForType()

public Customer getDefaultInstanceForType()
Returns
Type Description
Customer

getDisplayName()

public String getDisplayName()

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

string display_name = 2;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

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

string display_name = 2;

Returns
Type Description
ByteString

The bytes for displayName.

getIsOnboarded()

public boolean getIsOnboarded()

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

Returns
Type Description
boolean

The isOnboarded.

getName()

public String getName()

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

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

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

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

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasCustomerOnboardingState()

public boolean hasCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
Type Description
boolean

Whether the customerOnboardingState 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 Customer.Builder newBuilderForType()
Returns
Type Description
Customer.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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