Package com.google.cloud.netapp.v1
Class KmsConfig.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
- com.google.cloud.netapp.v1.KmsConfig.Builder
-
- All Implemented Interfaces:
KmsConfigOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- KmsConfig
public static final class KmsConfig.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder> implements KmsConfigOrBuilder
KmsConfig is the customer managed encryption key(CMEK) configuration.
Protobuf typegoogle.cloud.netapp.v1.KmsConfig
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description KmsConfig.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KmsConfig
build()
KmsConfig
buildPartial()
KmsConfig.Builder
clear()
KmsConfig.Builder
clearCreateTime()
Output only.KmsConfig.Builder
clearCryptoKeyName()
Required.KmsConfig.Builder
clearDescription()
Description of the KmsConfig.KmsConfig.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
KmsConfig.Builder
clearInstructions()
Output only.KmsConfig.Builder
clearLabels()
KmsConfig.Builder
clearName()
Output only.KmsConfig.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
KmsConfig.Builder
clearServiceAccount()
Output only.KmsConfig.Builder
clearState()
Output only.KmsConfig.Builder
clearStateDetails()
Output only.KmsConfig.Builder
clone()
boolean
containsLabels(String key)
Labels as key value pairscom.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.String
getCryptoKeyName()
Required.com.google.protobuf.ByteString
getCryptoKeyNameBytes()
Required.KmsConfig
getDefaultInstanceForType()
String
getDescription()
Description of the KmsConfig.com.google.protobuf.ByteString
getDescriptionBytes()
Description of the KmsConfig.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getInstructions()
Output only.com.google.protobuf.ByteString
getInstructionsBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairsMap<String,String>
getLabelsMap()
Labels as key value pairsString
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairsString
getLabelsOrThrow(String key)
Labels as key value pairsMap<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getServiceAccount()
Output only.com.google.protobuf.ByteString
getServiceAccountBytes()
Output only.KmsConfig.State
getState()
Output only.String
getStateDetails()
Output only.com.google.protobuf.ByteString
getStateDetailsBytes()
Output only.int
getStateValue()
Output only.boolean
hasCreateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
KmsConfig.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.KmsConfig.Builder
mergeFrom(KmsConfig other)
KmsConfig.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KmsConfig.Builder
mergeFrom(com.google.protobuf.Message other)
KmsConfig.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
KmsConfig.Builder
putAllLabels(Map<String,String> values)
Labels as key value pairsKmsConfig.Builder
putLabels(String key, String value)
Labels as key value pairsKmsConfig.Builder
removeLabels(String key)
Labels as key value pairsKmsConfig.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.KmsConfig.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.KmsConfig.Builder
setCryptoKeyName(String value)
Required.KmsConfig.Builder
setCryptoKeyNameBytes(com.google.protobuf.ByteString value)
Required.KmsConfig.Builder
setDescription(String value)
Description of the KmsConfig.KmsConfig.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the KmsConfig.KmsConfig.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
KmsConfig.Builder
setInstructions(String value)
Output only.KmsConfig.Builder
setInstructionsBytes(com.google.protobuf.ByteString value)
Output only.KmsConfig.Builder
setName(String value)
Output only.KmsConfig.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.KmsConfig.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
KmsConfig.Builder
setServiceAccount(String value)
Output only.KmsConfig.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
Output only.KmsConfig.Builder
setState(KmsConfig.State value)
Output only.KmsConfig.Builder
setStateDetails(String value)
Output only.KmsConfig.Builder
setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only.KmsConfig.Builder
setStateValue(int value)
Output only.KmsConfig.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clear
public KmsConfig.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
getDefaultInstanceForType
public KmsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public KmsConfig build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KmsConfig buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KmsConfig.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
setField
public KmsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clearField
public KmsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clearOneof
public KmsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
setRepeatedField
public KmsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
addRepeatedField
public KmsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
mergeFrom
public KmsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KmsConfig.Builder>
-
mergeFrom
public KmsConfig.Builder mergeFrom(KmsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
mergeFrom
public KmsConfig.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<KmsConfig.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceKmsConfigOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for name.
-
setName
public KmsConfig.Builder setName(String value)
Output only. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public KmsConfig.Builder clearName()
Output only. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public KmsConfig.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. Name of the KmsConfig.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getCryptoKeyName
public String getCryptoKeyName()
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCryptoKeyName
in interfaceKmsConfigOrBuilder
- Returns:
- The cryptoKeyName.
-
getCryptoKeyNameBytes
public com.google.protobuf.ByteString getCryptoKeyNameBytes()
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getCryptoKeyNameBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for cryptoKeyName.
-
setCryptoKeyName
public KmsConfig.Builder setCryptoKeyName(String value)
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The cryptoKeyName to set.- Returns:
- This builder for chaining.
-
clearCryptoKeyName
public KmsConfig.Builder clearCryptoKeyName()
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setCryptoKeyNameBytes
public KmsConfig.Builder setCryptoKeyNameBytes(com.google.protobuf.ByteString value)
Required. Customer managed crypto key resource full name. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{key}.
string crypto_key_name = 2 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for cryptoKeyName to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceKmsConfigOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public KmsConfig.Builder setStateValue(int value)
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public KmsConfig.State getState()
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceKmsConfigOrBuilder
- Returns:
- The state.
-
setState
public KmsConfig.Builder setState(KmsConfig.State value)
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public KmsConfig.Builder clearState()
Output only. State of the KmsConfig.
.google.cloud.netapp.v1.KmsConfig.State state = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getStateDetails
public String getStateDetails()
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetails
in interfaceKmsConfigOrBuilder
- Returns:
- The stateDetails.
-
getStateDetailsBytes
public com.google.protobuf.ByteString getStateDetailsBytes()
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateDetailsBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for stateDetails.
-
setStateDetails
public KmsConfig.Builder setStateDetails(String value)
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The stateDetails to set.- Returns:
- This builder for chaining.
-
clearStateDetails
public KmsConfig.Builder clearStateDetails()
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setStateDetailsBytes
public KmsConfig.Builder setStateDetailsBytes(com.google.protobuf.ByteString value)
Output only. State details of the KmsConfig.
string state_details = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for stateDetails to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceKmsConfigOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceKmsConfigOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public KmsConfig.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public KmsConfig.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public KmsConfig.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public KmsConfig.Builder clearCreateTime()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create time of the KmsConfig.
.google.protobuf.Timestamp create_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceKmsConfigOrBuilder
-
getDescription
public String getDescription()
Description of the KmsConfig.
string description = 6;
- Specified by:
getDescription
in interfaceKmsConfigOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the KmsConfig.
string description = 6;
- Specified by:
getDescriptionBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public KmsConfig.Builder setDescription(String value)
Description of the KmsConfig.
string description = 6;
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public KmsConfig.Builder clearDescription()
Description of the KmsConfig.
string description = 6;
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public KmsConfig.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Description of the KmsConfig.
string description = 6;
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:KmsConfigOrBuilder
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceKmsConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
containsLabels
in interfaceKmsConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceKmsConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsMap
in interfaceKmsConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrDefault
in interfaceKmsConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;
- Specified by:
getLabelsOrThrow
in interfaceKmsConfigOrBuilder
-
clearLabels
public KmsConfig.Builder clearLabels()
-
removeLabels
public KmsConfig.Builder removeLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public KmsConfig.Builder putLabels(String key, String value)
Labels as key value pairs
map<string, string> labels = 7;
-
putAllLabels
public KmsConfig.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs
map<string, string> labels = 7;
-
getInstructions
public String getInstructions()
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInstructions
in interfaceKmsConfigOrBuilder
- Returns:
- The instructions.
-
getInstructionsBytes
public com.google.protobuf.ByteString getInstructionsBytes()
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInstructionsBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for instructions.
-
setInstructions
public KmsConfig.Builder setInstructions(String value)
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The instructions to set.- Returns:
- This builder for chaining.
-
clearInstructions
public KmsConfig.Builder clearInstructions()
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setInstructionsBytes
public KmsConfig.Builder setInstructionsBytes(com.google.protobuf.ByteString value)
Output only. Instructions to provide the access to the customer provided encryption key.
string instructions = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for instructions to set.- Returns:
- This builder for chaining.
-
getServiceAccount
public String getServiceAccount()
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServiceAccount
in interfaceKmsConfigOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServiceAccountBytes
in interfaceKmsConfigOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public KmsConfig.Builder setServiceAccount(String value)
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public KmsConfig.Builder clearServiceAccount()
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public KmsConfig.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Output only. The Service account which will have access to the customer provided encryption key.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KmsConfig.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
mergeUnknownFields
public final KmsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
-