Package com.google.cloud.batch.v1alpha
Class Environment.KMSEnvMap.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Environment.KMSEnvMap.Builder>
com.google.cloud.batch.v1alpha.Environment.KMSEnvMap.Builder
- All Implemented Interfaces:
Environment.KMSEnvMapOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Environment.KMSEnvMap
public static final class Environment.KMSEnvMap.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Environment.KMSEnvMap.Builder>
implements Environment.KMSEnvMapOrBuilder
Protobuf type
google.cloud.batch.v1alpha.Environment.KMSEnvMap-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()The value of the cipherText response from the `encrypt` method.The name of the KMS key that will be used to decrypt the cipher text.The value of the cipherText response from the `encrypt` method.com.google.protobuf.ByteStringThe value of the cipherText response from the `encrypt` method.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe name of the KMS key that will be used to decrypt the cipher text.com.google.protobuf.ByteStringThe name of the KMS key that will be used to decrypt the cipher text.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(Environment.KMSEnvMap other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setCipherText(String value) The value of the cipherText response from the `encrypt` method.setCipherTextBytes(com.google.protobuf.ByteString value) The value of the cipherText response from the `encrypt` method.setKeyName(String value) The name of the KMS key that will be used to decrypt the cipher text.setKeyNameBytes(com.google.protobuf.ByteString value) The name of the KMS key that will be used to decrypt the cipher text.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<Environment.KMSEnvMap.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<Environment.KMSEnvMap.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.GeneratedMessage.Builder<Environment.KMSEnvMap.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Environment.KMSEnvMap.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<Environment.KMSEnvMap.Builder>
-
mergeFrom
public Environment.KMSEnvMap.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<Environment.KMSEnvMap.Builder>- Throws:
IOException
-
getKeyName
The name of the KMS key that will be used to decrypt the cipher text.
string key_name = 1;- Specified by:
getKeyNamein interfaceEnvironment.KMSEnvMapOrBuilder- Returns:
- The keyName.
-
getKeyNameBytes
public com.google.protobuf.ByteString getKeyNameBytes()The name of the KMS key that will be used to decrypt the cipher text.
string key_name = 1;- Specified by:
getKeyNameBytesin interfaceEnvironment.KMSEnvMapOrBuilder- Returns:
- The bytes for keyName.
-
setKeyName
The name of the KMS key that will be used to decrypt the cipher text.
string key_name = 1;- Parameters:
value- The keyName to set.- Returns:
- This builder for chaining.
-
clearKeyName
The name of the KMS key that will be used to decrypt the cipher text.
string key_name = 1;- Returns:
- This builder for chaining.
-
setKeyNameBytes
The name of the KMS key that will be used to decrypt the cipher text.
string key_name = 1;- Parameters:
value- The bytes for keyName to set.- Returns:
- This builder for chaining.
-
getCipherText
The value of the cipherText response from the `encrypt` method.
string cipher_text = 2;- Specified by:
getCipherTextin interfaceEnvironment.KMSEnvMapOrBuilder- Returns:
- The cipherText.
-
getCipherTextBytes
public com.google.protobuf.ByteString getCipherTextBytes()The value of the cipherText response from the `encrypt` method.
string cipher_text = 2;- Specified by:
getCipherTextBytesin interfaceEnvironment.KMSEnvMapOrBuilder- Returns:
- The bytes for cipherText.
-
setCipherText
The value of the cipherText response from the `encrypt` method.
string cipher_text = 2;- Parameters:
value- The cipherText to set.- Returns:
- This builder for chaining.
-
clearCipherText
The value of the cipherText response from the `encrypt` method.
string cipher_text = 2;- Returns:
- This builder for chaining.
-
setCipherTextBytes
The value of the cipherText response from the `encrypt` method.
string cipher_text = 2;- Parameters:
value- The bytes for cipherText to set.- Returns:
- This builder for chaining.
-