Class ProvisionCloudIdentityRequest.Builder (3.41.0)

public static final class ProvisionCloudIdentityRequest.Builder extends GeneratedMessageV3.Builder<ProvisionCloudIdentityRequest.Builder> implements ProvisionCloudIdentityRequestOrBuilder

Request message for CloudChannelService.ProvisionCloudIdentity

Protobuf type google.cloud.channel.v1.ProvisionCloudIdentityRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ProvisionCloudIdentityRequest build()
Returns
TypeDescription
ProvisionCloudIdentityRequest

buildPartial()

public ProvisionCloudIdentityRequest buildPartial()
Returns
TypeDescription
ProvisionCloudIdentityRequest

clear()

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

clearCloudIdentityInfo()

public ProvisionCloudIdentityRequest.Builder clearCloudIdentityInfo()

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

clearCustomer()

public ProvisionCloudIdentityRequest.Builder clearCustomer()

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUser()

public ProvisionCloudIdentityRequest.Builder clearUser()

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

clearValidateOnly()

public ProvisionCloudIdentityRequest.Builder clearValidateOnly()

Validate the request and preview the review, but do not post it.

bool validate_only = 4;

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

This builder for chaining.

clone()

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

getCloudIdentityInfo()

public CloudIdentityInfo getCloudIdentityInfo()

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Returns
TypeDescription
CloudIdentityInfo

The cloudIdentityInfo.

getCloudIdentityInfoBuilder()

public CloudIdentityInfo.Builder getCloudIdentityInfoBuilder()

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Returns
TypeDescription
CloudIdentityInfo.Builder

getCloudIdentityInfoOrBuilder()

public CloudIdentityInfoOrBuilder getCloudIdentityInfoOrBuilder()

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Returns
TypeDescription
CloudIdentityInfoOrBuilder

getCustomer()

public String getCustomer()

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The customer.

getCustomerBytes()

public ByteString getCustomerBytes()

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for customer.

getDefaultInstanceForType()

public ProvisionCloudIdentityRequest getDefaultInstanceForType()
Returns
TypeDescription
ProvisionCloudIdentityRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUser()

public AdminUser getUser()

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Returns
TypeDescription
AdminUser

The user.

getUserBuilder()

public AdminUser.Builder getUserBuilder()

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Returns
TypeDescription
AdminUser.Builder

getUserOrBuilder()

public AdminUserOrBuilder getUserOrBuilder()

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Returns
TypeDescription
AdminUserOrBuilder

getValidateOnly()

public boolean getValidateOnly()

Validate the request and preview the review, but do not post it.

bool validate_only = 4;

Returns
TypeDescription
boolean

The validateOnly.

hasCloudIdentityInfo()

public boolean hasCloudIdentityInfo()

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Returns
TypeDescription
boolean

Whether the cloudIdentityInfo field is set.

hasUser()

public boolean hasUser()

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Returns
TypeDescription
boolean

Whether the user field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCloudIdentityInfo(CloudIdentityInfo value)

public ProvisionCloudIdentityRequest.Builder mergeCloudIdentityInfo(CloudIdentityInfo value)

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Parameter
NameDescription
valueCloudIdentityInfo
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

mergeFrom(ProvisionCloudIdentityRequest other)

public ProvisionCloudIdentityRequest.Builder mergeFrom(ProvisionCloudIdentityRequest other)
Parameter
NameDescription
otherProvisionCloudIdentityRequest
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeUser(AdminUser value)

public ProvisionCloudIdentityRequest.Builder mergeUser(AdminUser value)

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Parameter
NameDescription
valueAdminUser
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

setCloudIdentityInfo(CloudIdentityInfo value)

public ProvisionCloudIdentityRequest.Builder setCloudIdentityInfo(CloudIdentityInfo value)

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Parameter
NameDescription
valueCloudIdentityInfo
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)

public ProvisionCloudIdentityRequest.Builder setCloudIdentityInfo(CloudIdentityInfo.Builder builderForValue)

CloudIdentity-specific customer information.

.google.cloud.channel.v1.CloudIdentityInfo cloud_identity_info = 2;

Parameter
NameDescription
builderForValueCloudIdentityInfo.Builder
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

setCustomer(String value)

public ProvisionCloudIdentityRequest.Builder setCustomer(String value)

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The customer to set.

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

This builder for chaining.

setCustomerBytes(ByteString value)

public ProvisionCloudIdentityRequest.Builder setCustomerBytes(ByteString value)

Required. Resource name of the customer. Format: accounts/{account_id}/customers/{customer_id}

string customer = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for customer to set.

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ProvisionCloudIdentityRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setUser(AdminUser value)

public ProvisionCloudIdentityRequest.Builder setUser(AdminUser value)

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Parameter
NameDescription
valueAdminUser
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

setUser(AdminUser.Builder builderForValue)

public ProvisionCloudIdentityRequest.Builder setUser(AdminUser.Builder builderForValue)

Admin user information.

.google.cloud.channel.v1.AdminUser user = 3;

Parameter
NameDescription
builderForValueAdminUser.Builder
Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

setValidateOnly(boolean value)

public ProvisionCloudIdentityRequest.Builder setValidateOnly(boolean value)

Validate the request and preview the review, but do not post it.

bool validate_only = 4;

Parameter
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
ProvisionCloudIdentityRequest.Builder

This builder for chaining.