Class Customer.Builder (0.8.0)

public static final class Customer.Builder extends GeneratedMessageV3.Builder<Customer.Builder> implements CustomerOrBuilder

Contains metadata around a Cloud Controls Partner Customer

Protobuf type google.cloud.cloudcontrolspartner.v1beta.Customer

Implements

CustomerOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Customer.Builder
Overrides

build()

public Customer build()
Returns
Type Description
Customer

buildPartial()

public Customer buildPartial()
Returns
Type Description
Customer

clear()

public Customer.Builder clear()
Returns
Type Description
Customer.Builder
Overrides

clearCustomerOnboardingState()

public Customer.Builder clearCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
Type Description
Customer.Builder

clearDisplayName()

public Customer.Builder clearDisplayName()

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

string display_name = 2;

Returns
Type Description
Customer.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Customer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Customer.Builder
Overrides

clearIsOnboarded()

public Customer.Builder clearIsOnboarded()

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

Returns
Type Description
Customer.Builder

This builder for chaining.

clearName()

public Customer.Builder clearName()

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

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

Returns
Type Description
Customer.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Customer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Customer.Builder
Overrides

clone()

public Customer.Builder clone()
Returns
Type Description
Customer.Builder
Overrides

getCustomerOnboardingState()

public CustomerOnboardingState getCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
Type Description
CustomerOnboardingState

The customerOnboardingState.

getCustomerOnboardingStateBuilder()

public CustomerOnboardingState.Builder getCustomerOnboardingStateBuilder()

Container for customer onboarding steps

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

Returns
Type Description
CustomerOnboardingState.Builder

getCustomerOnboardingStateOrBuilder()

public CustomerOnboardingStateOrBuilder getCustomerOnboardingStateOrBuilder()

Container for customer onboarding steps

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

Returns
Type Description
CustomerOnboardingStateOrBuilder

getDefaultInstanceForType()

public Customer getDefaultInstanceForType()
Returns
Type Description
Customer

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

hasCustomerOnboardingState()

public boolean hasCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
Type Description
boolean

Whether the customerOnboardingState field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomerOnboardingState(CustomerOnboardingState value)

public Customer.Builder mergeCustomerOnboardingState(CustomerOnboardingState value)

Container for customer onboarding steps

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

Parameter
Name Description
value CustomerOnboardingState
Returns
Type Description
Customer.Builder

mergeFrom(Customer other)

public Customer.Builder mergeFrom(Customer other)
Parameter
Name Description
other Customer
Returns
Type Description
Customer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Customer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Customer.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Customer.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Customer.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Customer.Builder
Overrides

setCustomerOnboardingState(CustomerOnboardingState value)

public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState value)

Container for customer onboarding steps

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

Parameter
Name Description
value CustomerOnboardingState
Returns
Type Description
Customer.Builder

setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)

public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)

Container for customer onboarding steps

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

Parameter
Name Description
builderForValue CustomerOnboardingState.Builder
Returns
Type Description
Customer.Builder

setDisplayName(String value)

public Customer.Builder setDisplayName(String value)

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

string display_name = 2;

Parameter
Name Description
value String

The displayName to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Customer.Builder setDisplayNameBytes(ByteString value)

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

string display_name = 2;

Parameter
Name Description
value ByteString

The bytes for displayName to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Customer.Builder
Overrides

setIsOnboarded(boolean value)

public Customer.Builder setIsOnboarded(boolean value)

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

Parameter
Name Description
value boolean

The isOnboarded to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setName(String value)

public Customer.Builder setName(String value)

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

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Customer.Builder setNameBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Customer.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Customer.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Customer.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Customer.Builder
Overrides