public static final class CreateSingleTenantHsmInstanceRequest.Builder extends GeneratedMessage.Builder<CreateSingleTenantHsmInstanceRequest.Builder> implements CreateSingleTenantHsmInstanceRequestOrBuilderRequest message for HsmManagement.CreateSingleTenantHsmInstance.
Protobuf type google.cloud.kms.v1.CreateSingleTenantHsmInstanceRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateSingleTenantHsmInstanceRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateSingleTenantHsmInstanceRequest build()| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest |
|
buildPartial()
public CreateSingleTenantHsmInstanceRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest |
|
clear()
public CreateSingleTenantHsmInstanceRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
clearParent()
public CreateSingleTenantHsmInstanceRequest.Builder clearParent() Required. The resource name of the location associated with the
SingleTenantHsmInstance, in
the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |
clearSingleTenantHsmInstance()
public CreateSingleTenantHsmInstanceRequest.Builder clearSingleTenantHsmInstance()Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
clearSingleTenantHsmInstanceId()
public CreateSingleTenantHsmInstanceRequest.Builder clearSingleTenantHsmInstanceId() Optional. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
string single_tenant_hsm_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateSingleTenantHsmInstanceRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getParent()
public String getParent() Required. The resource name of the location associated with the
SingleTenantHsmInstance, in
the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. The resource name of the location associated with the
SingleTenantHsmInstance, in
the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSingleTenantHsmInstance()
public SingleTenantHsmInstance getSingleTenantHsmInstance()Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance |
The singleTenantHsmInstance. |
getSingleTenantHsmInstanceBuilder()
public SingleTenantHsmInstance.Builder getSingleTenantHsmInstanceBuilder()Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstance.Builder |
|
getSingleTenantHsmInstanceId()
public String getSingleTenantHsmInstanceId() Optional. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
string single_tenant_hsm_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The singleTenantHsmInstanceId. |
getSingleTenantHsmInstanceIdBytes()
public ByteString getSingleTenantHsmInstanceIdBytes() Optional. It must be unique within a location and match the regular
expression [a-zA-Z0-9_-]{1,63}.
string single_tenant_hsm_instance_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for singleTenantHsmInstanceId. |
getSingleTenantHsmInstanceOrBuilder()
public SingleTenantHsmInstanceOrBuilder getSingleTenantHsmInstanceOrBuilder()Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
SingleTenantHsmInstanceOrBuilder |
|
hasSingleTenantHsmInstance()
public boolean hasSingleTenantHsmInstance()Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the singleTenantHsmInstance field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateSingleTenantHsmInstanceRequest other)
public CreateSingleTenantHsmInstanceRequest.Builder mergeFrom(CreateSingleTenantHsmInstanceRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateSingleTenantHsmInstanceRequest |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateSingleTenantHsmInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateSingleTenantHsmInstanceRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
mergeSingleTenantHsmInstance(SingleTenantHsmInstance value)
public CreateSingleTenantHsmInstanceRequest.Builder mergeSingleTenantHsmInstance(SingleTenantHsmInstance value)Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SingleTenantHsmInstance |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
setParent(String value)
public CreateSingleTenantHsmInstanceRequest.Builder setParent(String value) Required. The resource name of the location associated with the
SingleTenantHsmInstance, in
the format projects/*/locations/*.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateSingleTenantHsmInstanceRequest.Builder setParentBytes(ByteString value) Required. The resource name of the location associated with the
SingleTenantHsmInstance, in
the format projects/*/locations/*.
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 |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |
setSingleTenantHsmInstance(SingleTenantHsmInstance value)
public CreateSingleTenantHsmInstanceRequest.Builder setSingleTenantHsmInstance(SingleTenantHsmInstance value)Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
SingleTenantHsmInstance |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
setSingleTenantHsmInstance(SingleTenantHsmInstance.Builder builderForValue)
public CreateSingleTenantHsmInstanceRequest.Builder setSingleTenantHsmInstance(SingleTenantHsmInstance.Builder builderForValue)Required. An SingleTenantHsmInstance with initial field values.
.google.cloud.kms.v1.SingleTenantHsmInstance single_tenant_hsm_instance = 3 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SingleTenantHsmInstance.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
|
setSingleTenantHsmInstanceId(String value)
public CreateSingleTenantHsmInstanceRequest.Builder setSingleTenantHsmInstanceId(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_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe singleTenantHsmInstanceId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |
setSingleTenantHsmInstanceIdBytes(ByteString value)
public CreateSingleTenantHsmInstanceRequest.Builder setSingleTenantHsmInstanceIdBytes(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_id = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for singleTenantHsmInstanceId to set. |
| Returns | |
|---|---|
| Type | Description |
CreateSingleTenantHsmInstanceRequest.Builder |
This builder for chaining. |