Class Environment.KMSEnvMap.Builder (0.5.0)

public static final class Environment.KMSEnvMap.Builder extends GeneratedMessageV3.Builder<Environment.KMSEnvMap.Builder> implements Environment.KMSEnvMapOrBuilder

Protobuf type google.cloud.batch.v1alpha.Environment.KMSEnvMap

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.KMSEnvMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

build()

public Environment.KMSEnvMap build()
Returns
Type Description
Environment.KMSEnvMap

buildPartial()

public Environment.KMSEnvMap buildPartial()
Returns
Type Description
Environment.KMSEnvMap

clear()

public Environment.KMSEnvMap.Builder clear()
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

clearCipherText()

public Environment.KMSEnvMap.Builder clearCipherText()

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Environment.KMSEnvMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

clearKeyName()

public Environment.KMSEnvMap.Builder clearKeyName()

The name of the KMS key that will be used to decrypt the cipher text.

string key_name = 1;

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.KMSEnvMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

clone()

public Environment.KMSEnvMap.Builder clone()
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

getCipherText()

public String getCipherText()

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Returns
Type Description
String

The cipherText.

getCipherTextBytes()

public ByteString getCipherTextBytes()

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Returns
Type Description
ByteString

The bytes for cipherText.

getDefaultInstanceForType()

public Environment.KMSEnvMap getDefaultInstanceForType()
Returns
Type Description
Environment.KMSEnvMap

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getKeyName()

public String getKeyName()

The name of the KMS key that will be used to decrypt the cipher text.

string key_name = 1;

Returns
Type Description
String

The keyName.

getKeyNameBytes()

public ByteString getKeyNameBytes()

The name of the KMS key that will be used to decrypt the cipher text.

string key_name = 1;

Returns
Type Description
ByteString

The bytes for keyName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(Environment.KMSEnvMap other)

public Environment.KMSEnvMap.Builder mergeFrom(Environment.KMSEnvMap other)
Parameter
Name Description
other Environment.KMSEnvMap
Returns
Type Description
Environment.KMSEnvMap.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.KMSEnvMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides Exceptions
Type Description
IOException

mergeFrom(Message other)

public Environment.KMSEnvMap.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.KMSEnvMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

setCipherText(String value)

public Environment.KMSEnvMap.Builder setCipherText(String value)

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Parameter
Name Description
value String

The cipherText to set.

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

setCipherTextBytes(ByteString value)

public Environment.KMSEnvMap.Builder setCipherTextBytes(ByteString value)

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Parameter
Name Description
value ByteString

The bytes for cipherText to set.

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.KMSEnvMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

setKeyName(String value)

public Environment.KMSEnvMap.Builder setKeyName(String value)

The name of the KMS key that will be used to decrypt the cipher text.

string key_name = 1;

Parameter
Name Description
value String

The keyName to set.

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

setKeyNameBytes(ByteString value)

public Environment.KMSEnvMap.Builder setKeyNameBytes(ByteString value)

The name of the KMS key that will be used to decrypt the cipher text.

string key_name = 1;

Parameter
Name Description
value ByteString

The bytes for keyName to set.

Returns
Type Description
Environment.KMSEnvMap.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Environment.KMSEnvMap.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.KMSEnvMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
Environment.KMSEnvMap.Builder
Overrides