Class Environment.KMSEnvMap.Builder (0.41.0)

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

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Environment.KMSEnvMap.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides

build()

public Environment.KMSEnvMap build()
Returns
TypeDescription
Environment.KMSEnvMap

buildPartial()

public Environment.KMSEnvMap buildPartial()
Returns
TypeDescription
Environment.KMSEnvMap

clear()

public Environment.KMSEnvMap.Builder clear()
Returns
TypeDescription
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
TypeDescription
Environment.KMSEnvMap.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Environment.KMSEnvMap.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
Environment.KMSEnvMap.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Environment.KMSEnvMap.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides

clone()

public Environment.KMSEnvMap.Builder clone()
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides

getCipherText()

public String getCipherText()

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Returns
TypeDescription
String

The cipherText.

getCipherTextBytes()

public ByteString getCipherTextBytes()

The value of the cipherText response from the encrypt method.

string cipher_text = 2;

Returns
TypeDescription
ByteString

The bytes for cipherText.

getDefaultInstanceForType()

public Environment.KMSEnvMap getDefaultInstanceForType()
Returns
TypeDescription
Environment.KMSEnvMap

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for keyName.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Environment.KMSEnvMap other)

public Environment.KMSEnvMap.Builder mergeFrom(Environment.KMSEnvMap other)
Parameter
NameDescription
otherEnvironment.KMSEnvMap
Returns
TypeDescription
Environment.KMSEnvMap.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Environment.KMSEnvMap.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Environment.KMSEnvMap.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Environment.KMSEnvMap.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The cipherText to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for cipherText to set.

Returns
TypeDescription
Environment.KMSEnvMap.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Environment.KMSEnvMap.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The keyName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for keyName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Environment.KMSEnvMap.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Environment.KMSEnvMap.Builder
Overrides