public static final class Instance.Config.Builder extends GeneratedMessage.Builder<Instance.Config.Builder> implements Instance.ConfigOrBuilderAvailable configurations to provision an Instance.
Protobuf type google.cloud.apigeeregistry.v1.Instance.Config
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Instance.Config.BuilderImplements
Instance.ConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Instance.Config build()| Returns | |
|---|---|
| Type | Description |
Instance.Config |
|
buildPartial()
public Instance.Config buildPartial()| Returns | |
|---|---|
| Type | Description |
Instance.Config |
|
clear()
public Instance.Config.Builder clear()| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
|
clearCmekKeyName()
public Instance.Config.Builder clearCmekKeyName() Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where the location must match InstanceConfig.location.
string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |
clearLocation()
public Instance.Config.Builder clearLocation()Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |
getCmekKeyName()
public String getCmekKeyName() Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where the location must match InstanceConfig.location.
string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The cmekKeyName. |
getCmekKeyNameBytes()
public ByteString getCmekKeyNameBytes() Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where the location must match InstanceConfig.location.
string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for cmekKeyName. |
getDefaultInstanceForType()
public Instance.Config getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Instance.Config |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getLocation()
public String getLocation()Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The location. |
getLocationBytes()
public ByteString getLocationBytes()Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for location. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Instance.Config other)
public Instance.Config.Builder mergeFrom(Instance.Config other)| Parameter | |
|---|---|
| Name | Description |
other |
Instance.Config |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Instance.Config.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
|
setCmekKeyName(String value)
public Instance.Config.Builder setCmekKeyName(String value) Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where the location must match InstanceConfig.location.
string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe cmekKeyName to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |
setCmekKeyNameBytes(ByteString value)
public Instance.Config.Builder setCmekKeyNameBytes(ByteString value) Required. The Customer Managed Encryption Key (CMEK) used for data encryption.
The CMEK name should follow the format of
projects/([^/]+)/locations/([^/]+)/keyRings/([^/]+)/cryptoKeys/([^/]+),
where the location must match InstanceConfig.location.
string cmek_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for cmekKeyName to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |
setLocation(String value)
public Instance.Config.Builder setLocation(String value)Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe location to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |
setLocationBytes(ByteString value)
public Instance.Config.Builder setLocationBytes(ByteString value)Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for location to set. |
| Returns | |
|---|---|
| Type | Description |
Instance.Config.Builder |
This builder for chaining. |