Class VerifyKmsConfigResponse (0.34.0)

public final class VerifyKmsConfigResponse extends GeneratedMessageV3 implements VerifyKmsConfigResponseOrBuilder

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

Protobuf type google.cloud.netapp.v1.VerifyKmsConfigResponse

Static Fields

HEALTHY_FIELD_NUMBER

public static final int HEALTHY_FIELD_NUMBER
Field Value
Type Description
int

HEALTH_ERROR_FIELD_NUMBER

public static final int HEALTH_ERROR_FIELD_NUMBER
Field Value
Type Description
int

INSTRUCTIONS_FIELD_NUMBER

public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static VerifyKmsConfigResponse getDefaultInstance()
Returns
Type Description
VerifyKmsConfigResponse

getDescriptor()

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

newBuilder()

public static VerifyKmsConfigResponse.Builder newBuilder()
Returns
Type Description
VerifyKmsConfigResponse.Builder

newBuilder(VerifyKmsConfigResponse prototype)

public static VerifyKmsConfigResponse.Builder newBuilder(VerifyKmsConfigResponse prototype)
Parameter
Name Description
prototype VerifyKmsConfigResponse
Returns
Type Description
VerifyKmsConfigResponse.Builder

parseDelimitedFrom(InputStream input)

public static VerifyKmsConfigResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static VerifyKmsConfigResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VerifyKmsConfigResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VerifyKmsConfigResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static VerifyKmsConfigResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static VerifyKmsConfigResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VerifyKmsConfigResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<VerifyKmsConfigResponse> parser()
Returns
Type Description
Parser<VerifyKmsConfigResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public VerifyKmsConfigResponse getDefaultInstanceForType()
Returns
Type Description
VerifyKmsConfigResponse

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.

getParserForType()

public Parser<VerifyKmsConfigResponse> getParserForType()
Returns
Type Description
Parser<VerifyKmsConfigResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public VerifyKmsConfigResponse.Builder newBuilderForType()
Returns
Type Description
VerifyKmsConfigResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VerifyKmsConfigResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
VerifyKmsConfigResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public VerifyKmsConfigResponse.Builder toBuilder()
Returns
Type Description
VerifyKmsConfigResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException