Class VerifyKmsConfigResponse.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VerifyKmsConfigResponse build()
Returns
TypeDescription
VerifyKmsConfigResponse

buildPartial()

public VerifyKmsConfigResponse buildPartial()
Returns
TypeDescription
VerifyKmsConfigResponse

clear()

public VerifyKmsConfigResponse.Builder clear()
Returns
TypeDescription
VerifyKmsConfigResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public VerifyKmsConfigResponse.Builder clone()
Returns
TypeDescription
VerifyKmsConfigResponse.Builder
Overrides

getDefaultInstanceForType()

public VerifyKmsConfigResponse getDefaultInstanceForType()
Returns
TypeDescription
VerifyKmsConfigResponse

getDescriptorForType()

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

The bytes for instructions.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VerifyKmsConfigResponse other)

public VerifyKmsConfigResponse.Builder mergeFrom(VerifyKmsConfigResponse other)
Parameter
NameDescription
otherVerifyKmsConfigResponse
Returns
TypeDescription
VerifyKmsConfigResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VerifyKmsConfigResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
VerifyKmsConfigResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

The healthError to set.

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

The bytes for healthError to set.

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

The healthy to set.

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

The instructions to set.

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

The bytes for instructions to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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