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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)KmsConfigbuild()KmsConfigbuildPartial()KmsConfig.Builderclear()KmsConfig.BuilderclearCreateTime()Output only.KmsConfig.BuilderclearCryptoKeyName()Required.KmsConfig.BuilderclearDescription()Description of the KmsConfig.KmsConfig.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)KmsConfig.BuilderclearInstructions()Output only.KmsConfig.BuilderclearLabels()KmsConfig.BuilderclearName()Output only.KmsConfig.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)KmsConfig.BuilderclearServiceAccount()Output only.KmsConfig.BuilderclearState()Output only.KmsConfig.BuilderclearStateDetails()Output only.KmsConfig.Builderclone()booleancontainsLabels(String key)Labels as key value pairscom.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.StringgetCryptoKeyName()Required.com.google.protobuf.ByteStringgetCryptoKeyNameBytes()Required.KmsConfiggetDefaultInstanceForType()StringgetDescription()Description of the KmsConfig.com.google.protobuf.ByteStringgetDescriptionBytes()Description of the KmsConfig.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstructions()Output only.com.google.protobuf.ByteStringgetInstructionsBytes()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairsMap<String,String>getLabelsMap()Labels as key value pairsStringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairsStringgetLabelsOrThrow(String key)Labels as key value pairsMap<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetServiceAccount()Output only.com.google.protobuf.ByteStringgetServiceAccountBytes()Output only.KmsConfig.StategetState()Output only.StringgetStateDetails()Output only.com.google.protobuf.ByteStringgetStateDetailsBytes()Output only.intgetStateValue()Output only.booleanhasCreateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()KmsConfig.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.KmsConfig.BuildermergeFrom(KmsConfig other)KmsConfig.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)KmsConfig.BuildermergeFrom(com.google.protobuf.Message other)KmsConfig.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)KmsConfig.BuilderputAllLabels(Map<String,String> values)Labels as key value pairsKmsConfig.BuilderputLabels(String key, String value)Labels as key value pairsKmsConfig.BuilderremoveLabels(String key)Labels as key value pairsKmsConfig.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.KmsConfig.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.KmsConfig.BuildersetCryptoKeyName(String value)Required.KmsConfig.BuildersetCryptoKeyNameBytes(com.google.protobuf.ByteString value)Required.KmsConfig.BuildersetDescription(String value)Description of the KmsConfig.KmsConfig.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Description of the KmsConfig.KmsConfig.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)KmsConfig.BuildersetInstructions(String value)Output only.KmsConfig.BuildersetInstructionsBytes(com.google.protobuf.ByteString value)Output only.KmsConfig.BuildersetName(String value)Output only.KmsConfig.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.KmsConfig.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)KmsConfig.BuildersetServiceAccount(String value)Output only.KmsConfig.BuildersetServiceAccountBytes(com.google.protobuf.ByteString value)Output only.KmsConfig.BuildersetState(KmsConfig.State value)Output only.KmsConfig.BuildersetStateDetails(String value)Output only.KmsConfig.BuildersetStateDetailsBytes(com.google.protobuf.ByteString value)Output only.KmsConfig.BuildersetStateValue(int value)Output only.KmsConfig.BuildersetUnknownFields(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clear
public KmsConfig.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
getDefaultInstanceForType
public KmsConfig getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public KmsConfig build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public KmsConfig buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public KmsConfig.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
setField
public KmsConfig.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clearField
public KmsConfig.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
clearOneof
public KmsConfig.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
setRepeatedField
public KmsConfig.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
addRepeatedField
public KmsConfig.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
mergeFrom
public KmsConfig.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<KmsConfig.Builder>
-
mergeFrom
public KmsConfig.Builder mergeFrom(KmsConfig other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein 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:
getNameBytesin 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:
getCryptoKeyNamein 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:
getCryptoKeyNameBytesin 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:
getStateValuein 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:
getStatein 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:
getStateDetailsin 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:
getStateDetailsBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin interfaceKmsConfigOrBuilder
-
getDescription
public String getDescription()
Description of the KmsConfig.
string description = 6;- Specified by:
getDescriptionin interfaceKmsConfigOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Description of the KmsConfig.
string description = 6;- Specified by:
getDescriptionBytesin 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:KmsConfigOrBuilderLabels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceKmsConfigOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceKmsConfigOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceKmsConfigOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceKmsConfigOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceKmsConfigOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin 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:
getInstructionsin 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:
getInstructionsBytesin 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:
getServiceAccountin 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:
getServiceAccountBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
mergeUnknownFields
public final KmsConfig.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<KmsConfig.Builder>
-
-