public static final class Instance.Config.Builder extends GeneratedMessageV3.Builder<Instance.Config.Builder> implements Instance.ConfigOrBuilder
Available configurations to provision an Instance.
Protobuf type google.cloud.apigeeregistry.v1.Instance.Config
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Config.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public Instance.Config build()
buildPartial()
public Instance.Config buildPartial()
clear()
public Instance.Config.Builder clear()
Overrides
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];
clearField(Descriptors.FieldDescriptor field)
public Instance.Config.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearLocation()
public Instance.Config.Builder clearLocation()
Output only. The GCP location where the Instance resides.
string location = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Config.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Instance.Config.Builder clone()
Overrides
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Instance.Config other)
public Instance.Config.Builder mergeFrom(Instance.Config other)
public Instance.Config.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Instance.Config.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Config.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
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 | String
The cmekKeyName to set.
|
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 | ByteString
The bytes for cmekKeyName to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Config.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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 | String
The location to set.
|
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 | ByteString
The bytes for location to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.Config.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Config.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides