Class VerifyKmsConfigResponse.Builder (0.21.0)

public static final class VerifyKmsConfigResponse.Builder extends GeneratedMessageV3.Builder<VerifyKmsConfigResponse.Builder> implements VerifyKmsConfigResponseOrBuilder

VerifyKmsConfigResponse contains the information if the config is correctly and error message.

Protobuf type google.cloud.netapp.v1.VerifyKmsConfigResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VerifyKmsConfigResponse build()
Returns
Type Description
VerifyKmsConfigResponse

buildPartial()

public VerifyKmsConfigResponse buildPartial()
Returns
Type Description
VerifyKmsConfigResponse

clear()

public VerifyKmsConfigResponse.Builder clear()
Returns
Type Description
VerifyKmsConfigResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearHealthError()

public VerifyKmsConfigResponse.Builder clearHealthError()

Output only. Error message if config is not healthy.

string health_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

clearHealthy()

public VerifyKmsConfigResponse.Builder clearHealthy()

Output only. If the customer key configured correctly to the encrypt volume.

bool healthy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

clearInstructions()

public VerifyKmsConfigResponse.Builder clearInstructions()

Output only. Instructions for the customers to provide the access to the encryption key.

string instructions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VerifyKmsConfigResponse.Builder clone()
Returns
Type Description
VerifyKmsConfigResponse.Builder
Overrides

getDefaultInstanceForType()

public VerifyKmsConfigResponse getDefaultInstanceForType()
Returns
Type Description
VerifyKmsConfigResponse

getDescriptorForType()

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

getHealthError()

public String getHealthError()

Output only. Error message if config is not healthy.

string health_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The healthError.

getHealthErrorBytes()

public ByteString getHealthErrorBytes()

Output only. Error message if config is not healthy.

string health_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for healthError.

getHealthy()

public boolean getHealthy()

Output only. If the customer key configured correctly to the encrypt volume.

bool healthy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The healthy.

getInstructions()

public String getInstructions()

Output only. Instructions for the customers to provide the access to the encryption key.

string instructions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The instructions.

getInstructionsBytes()

public ByteString getInstructionsBytes()

Output only. Instructions for the customers to provide the access to the encryption key.

string instructions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for instructions.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VerifyKmsConfigResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setHealthError(String value)

public VerifyKmsConfigResponse.Builder setHealthError(String value)

Output only. Error message if config is not healthy.

string health_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The healthError to set.

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

setHealthErrorBytes(ByteString value)

public VerifyKmsConfigResponse.Builder setHealthErrorBytes(ByteString value)

Output only. Error message if config is not healthy.

string health_error = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for healthError to set.

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

setHealthy(boolean value)

public VerifyKmsConfigResponse.Builder setHealthy(boolean value)

Output only. If the customer key configured correctly to the encrypt volume.

bool healthy = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The healthy to set.

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

setInstructions(String value)

public VerifyKmsConfigResponse.Builder setInstructions(String value)

Output only. Instructions for the customers to provide the access to the encryption key.

string instructions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The instructions to set.

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

setInstructionsBytes(ByteString value)

public VerifyKmsConfigResponse.Builder setInstructionsBytes(ByteString value)

Output only. Instructions for the customers to provide the access to the encryption key.

string instructions = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for instructions to set.

Returns
Type Description
VerifyKmsConfigResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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