public static final class CreateCustomerRequest.Builder extends GeneratedMessage.Builder<CreateCustomerRequest.Builder> implements CreateCustomerRequestOrBuilderRequest to create a customer
Protobuf type google.cloud.cloudcontrolspartner.v1beta.CreateCustomerRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateCustomerRequest.BuilderImplements
CreateCustomerRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateCustomerRequest build()| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest |
|
buildPartial()
public CreateCustomerRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest |
|
clear()
public CreateCustomerRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
clearCustomer()
public CreateCustomerRequest.Builder clearCustomer()Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
clearCustomerId()
public CreateCustomerRequest.Builder clearCustomerId()Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.
string customer_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |
clearParent()
public CreateCustomerRequest.Builder clearParent() Required. Parent resource
Format: organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |
getCustomer()
public Customer getCustomer()Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Customer |
The customer. |
getCustomerBuilder()
public Customer.Builder getCustomerBuilder()Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Customer.Builder |
|
getCustomerId()
public String getCustomerId()Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.
string customer_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The customerId. |
getCustomerIdBytes()
public ByteString getCustomerIdBytes()Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.
string customer_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for customerId. |
getCustomerOrBuilder()
public CustomerOrBuilder getCustomerOrBuilder()Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CustomerOrBuilder |
|
getDefaultInstanceForType()
public CreateCustomerRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. Parent resource
Format: organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Parent resource
Format: organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasCustomer()
public boolean hasCustomer()Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the customer field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeCustomer(Customer value)
public CreateCustomerRequest.Builder mergeCustomer(Customer value)Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Customer |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
mergeFrom(CreateCustomerRequest other)
public CreateCustomerRequest.Builder mergeFrom(CreateCustomerRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateCustomerRequest |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateCustomerRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateCustomerRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
setCustomer(Customer value)
public CreateCustomerRequest.Builder setCustomer(Customer value)Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
Customer |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
setCustomer(Customer.Builder builderForValue)
public CreateCustomerRequest.Builder setCustomer(Customer.Builder builderForValue)Required. The customer to create.
.google.cloud.cloudcontrolspartner.v1beta.Customer customer = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Customer.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
|
setCustomerId(String value)
public CreateCustomerRequest.Builder setCustomerId(String value)Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.
string customer_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe customerId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |
setCustomerIdBytes(ByteString value)
public CreateCustomerRequest.Builder setCustomerIdBytes(ByteString value)Required. The customer id to use for the customer, which will become the final component of the customer's resource name. The specified value must be a valid Google cloud organization id.
string customer_id = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for customerId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |
setParent(String value)
public CreateCustomerRequest.Builder setParent(String value) Required. Parent resource
Format: organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateCustomerRequest.Builder setParentBytes(ByteString value) Required. Parent resource
Format: organizations/{organization}/locations/{location}
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateCustomerRequest.Builder |
This builder for chaining. |