Class Customer.Builder (0.5.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.v1.Customer

Implements

CustomerOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Customer.Builder
Overrides

build()

public Customer build()
Returns
TypeDescription
Customer

buildPartial()

public Customer buildPartial()
Returns
TypeDescription
Customer

clear()

public Customer.Builder clear()
Returns
TypeDescription
Customer.Builder
Overrides

clearCustomerOnboardingState()

public Customer.Builder clearCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
TypeDescription
Customer.Builder

clearDisplayName()

public Customer.Builder clearDisplayName()

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

string display_name = 2;

Returns
TypeDescription
Customer.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Customer.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Customer.Builder
Overrides

clearIsOnboarded()

public Customer.Builder clearIsOnboarded()

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Customer.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Customer.Builder
Overrides

clone()

public Customer.Builder clone()
Returns
TypeDescription
Customer.Builder
Overrides

getCustomerOnboardingState()

public CustomerOnboardingState getCustomerOnboardingState()

Container for customer onboarding steps

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

Returns
TypeDescription
CustomerOnboardingState

The customerOnboardingState.

getCustomerOnboardingStateBuilder()

public CustomerOnboardingState.Builder getCustomerOnboardingStateBuilder()

Container for customer onboarding steps

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

Returns
TypeDescription
CustomerOnboardingState.Builder

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomerOnboardingState(CustomerOnboardingState value)

public Customer.Builder mergeCustomerOnboardingState(CustomerOnboardingState value)

Container for customer onboarding steps

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

Parameter
NameDescription
valueCustomerOnboardingState
Returns
TypeDescription
Customer.Builder

mergeFrom(Customer other)

public Customer.Builder mergeFrom(Customer other)
Parameter
NameDescription
otherCustomer
Returns
TypeDescription
Customer.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Customer.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Customer.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Customer.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Customer.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Customer.Builder
Overrides

setCustomerOnboardingState(CustomerOnboardingState value)

public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState value)

Container for customer onboarding steps

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

Parameter
NameDescription
valueCustomerOnboardingState
Returns
TypeDescription
Customer.Builder

setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)

public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)

Container for customer onboarding steps

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

Parameter
NameDescription
builderForValueCustomerOnboardingState.Builder
Returns
TypeDescription
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
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Customer.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Customer.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Customer.Builder
Overrides

setIsOnboarded(boolean value)

public Customer.Builder setIsOnboarded(boolean value)

Indicates whether a customer is fully onboarded

bool is_onboarded = 4;

Parameter
NameDescription
valueboolean

The isOnboarded to set.

Returns
TypeDescription
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
NameDescription
valueString

The name to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Customer.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Customer.Builder
Overrides