public static final class Customer.Builder extends GeneratedMessageV3.Builder<Customer.Builder> implements CustomerOrBuilderContains metadata around a Cloud Controls Partner Customer
Protobuf type google.cloud.cloudcontrolspartner.v1beta.Customer
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Customer.BuilderImplements
CustomerOrBuilderStatic 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 |
|
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 |
|
clearCustomerOnboardingState()
public Customer.Builder clearCustomerOnboardingState()Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
clearDisplayName()
public Customer.Builder clearDisplayName()Required. Display name for the customer
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| 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 |
|
clearIsOnboarded()
public Customer.Builder clearIsOnboarded()Output only. Indicates whether a customer is fully onboarded
bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 |
|
clone()
public Customer.Builder clone()| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
getCustomerOnboardingState()
public CustomerOnboardingState getCustomerOnboardingState()Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomerOnboardingState |
The customerOnboardingState. |
getCustomerOnboardingStateBuilder()
public CustomerOnboardingState.Builder getCustomerOnboardingStateBuilder()Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomerOnboardingState.Builder |
|
getCustomerOnboardingStateOrBuilder()
public CustomerOnboardingStateOrBuilder getCustomerOnboardingStateOrBuilder()Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
CustomerOnboardingStateOrBuilder |
|
getDefaultInstanceForType()
public Customer getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Customer |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDisplayName()
public String getDisplayName()Required. Display name for the customer
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Required. Display name for the customer
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
getIsOnboarded()
public boolean getIsOnboarded()Output only. Indicates whether a customer is fully onboarded
bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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()Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customerOnboardingState field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomerOnboardingState(CustomerOnboardingState value)
public Customer.Builder mergeCustomerOnboardingState(CustomerOnboardingState value)Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| 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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Customer.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Customer.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
setCustomerOnboardingState(CustomerOnboardingState value)
public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState value)Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
CustomerOnboardingState |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)
public Customer.Builder setCustomerOnboardingState(CustomerOnboardingState.Builder builderForValue)Output only. Container for customer onboarding steps
.google.cloud.cloudcontrolspartner.v1beta.CustomerOnboardingState customer_onboarding_state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
CustomerOnboardingState.Builder |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
setDisplayName(String value)
public Customer.Builder setDisplayName(String value)Required. Display name for the customer
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public Customer.Builder setDisplayNameBytes(ByteString value)Required. Display name for the customer
string display_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe 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 |
|
setIsOnboarded(boolean value)
public Customer.Builder setIsOnboarded(boolean value)Output only. Indicates whether a customer is fully onboarded
bool is_onboarded = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe 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 |
StringThe 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 |
ByteStringThe 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 |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Customer.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|