public static final class Customer.Builder extends GeneratedMessage.Builder<Customer.Builder> implements CustomerOrBuilderContains metadata around a Cloud Controls Partner Customer
Protobuf type google.cloud.cloudcontrolspartner.v1beta.Customer
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Customer.BuilderImplements
CustomerOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
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. |
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. |
clearOrganizationDomain()
public Customer.Builder clearOrganizationDomain()Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. "google.com"
string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |
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. |
getOrganizationDomain()
public String getOrganizationDomain()Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. "google.com"
string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The organizationDomain. |
getOrganizationDomainBytes()
public ByteString getOrganizationDomainBytes()Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. "google.com"
string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for organizationDomain. |
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 GeneratedMessage.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 |
|
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. |
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. |
setOrganizationDomain(String value)
public Customer.Builder setOrganizationDomain(String value)Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. "google.com"
string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe organizationDomain to set. |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |
setOrganizationDomainBytes(ByteString value)
public Customer.Builder setOrganizationDomainBytes(ByteString value)Output only. The customer organization domain, extracted from CRM Organization’s display_name field. e.g. "google.com"
string organization_domain = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for organizationDomain to set. |
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
This builder for chaining. |