Class CreateSingleTenantHsmInstanceProposalRequest.Builder (2.86.0)

public static final class CreateSingleTenantHsmInstanceProposalRequest.Builder extends GeneratedMessage.Builder<CreateSingleTenantHsmInstanceProposalRequest.Builder> implements CreateSingleTenantHsmInstanceProposalRequestOrBuilder

Request message for HsmManagement.CreateSingleTenantHsmInstanceProposal.

Protobuf type google.cloud.kms.v1.CreateSingleTenantHsmInstanceProposalRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public CreateSingleTenantHsmInstanceProposalRequest build()
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest

buildPartial()

public CreateSingleTenantHsmInstanceProposalRequest buildPartial()
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest

clear()

public CreateSingleTenantHsmInstanceProposalRequest.Builder clear()
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder
Overrides

clearParent()

public CreateSingleTenantHsmInstanceProposalRequest.Builder clearParent()

Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals.

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

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.

clearSingleTenantHsmInstanceProposal()

public CreateSingleTenantHsmInstanceProposalRequest.Builder clearSingleTenantHsmInstanceProposal()

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

clearSingleTenantHsmInstanceProposalId()

public CreateSingleTenantHsmInstanceProposalRequest.Builder clearSingleTenantHsmInstanceProposalId()

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

string single_tenant_hsm_instance_proposal_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public CreateSingleTenantHsmInstanceProposalRequest getDefaultInstanceForType()
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getParent()

public String getParent()

Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals.

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

Returns
Type Description
String

The parent.

getParentBytes()

public ByteString getParentBytes()

Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals.

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

Returns
Type Description
ByteString

The bytes for parent.

getSingleTenantHsmInstanceProposal()

public SingleTenantHsmInstanceProposal getSingleTenantHsmInstanceProposal()

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SingleTenantHsmInstanceProposal

The singleTenantHsmInstanceProposal.

getSingleTenantHsmInstanceProposalBuilder()

public SingleTenantHsmInstanceProposal.Builder getSingleTenantHsmInstanceProposalBuilder()

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SingleTenantHsmInstanceProposal.Builder

getSingleTenantHsmInstanceProposalId()

public String getSingleTenantHsmInstanceProposalId()

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

string single_tenant_hsm_instance_proposal_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The singleTenantHsmInstanceProposalId.

getSingleTenantHsmInstanceProposalIdBytes()

public ByteString getSingleTenantHsmInstanceProposalIdBytes()

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

string single_tenant_hsm_instance_proposal_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for singleTenantHsmInstanceProposalId.

getSingleTenantHsmInstanceProposalOrBuilder()

public SingleTenantHsmInstanceProposalOrBuilder getSingleTenantHsmInstanceProposalOrBuilder()

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SingleTenantHsmInstanceProposalOrBuilder

hasSingleTenantHsmInstanceProposal()

public boolean hasSingleTenantHsmInstanceProposal()

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the singleTenantHsmInstanceProposal field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CreateSingleTenantHsmInstanceProposalRequest other)

public CreateSingleTenantHsmInstanceProposalRequest.Builder mergeFrom(CreateSingleTenantHsmInstanceProposalRequest other)
Parameter
Name Description
other CreateSingleTenantHsmInstanceProposalRequest
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateSingleTenantHsmInstanceProposalRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateSingleTenantHsmInstanceProposalRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder
Overrides

mergeSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder mergeSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal value)

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SingleTenantHsmInstanceProposal
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

setParent(String value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setParent(String value)

Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals.

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setParentBytes(ByteString value)

Required. The name of the SingleTenantHsmInstance associated with the SingleTenantHsmInstanceProposals.

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.

setSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal value)

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SingleTenantHsmInstanceProposal
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

setSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal.Builder builderForValue)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setSingleTenantHsmInstanceProposal(SingleTenantHsmInstanceProposal.Builder builderForValue)

Required. The SingleTenantHsmInstanceProposal to create.

.google.cloud.kms.v1.SingleTenantHsmInstanceProposal single_tenant_hsm_instance_proposal = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SingleTenantHsmInstanceProposal.Builder
Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

setSingleTenantHsmInstanceProposalId(String value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setSingleTenantHsmInstanceProposalId(String value)

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

string single_tenant_hsm_instance_proposal_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The singleTenantHsmInstanceProposalId to set.

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.

setSingleTenantHsmInstanceProposalIdBytes(ByteString value)

public CreateSingleTenantHsmInstanceProposalRequest.Builder setSingleTenantHsmInstanceProposalIdBytes(ByteString value)

Optional. It must be unique within a location and match the regular expression [a-zA-Z0-9_-]{1,63}.

string single_tenant_hsm_instance_proposal_id = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for singleTenantHsmInstanceProposalId to set.

Returns
Type Description
CreateSingleTenantHsmInstanceProposalRequest.Builder

This builder for chaining.