Class VerifyKmsConfigResponse (0.10.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
TypeDescription
int

HEALTH_ERROR_FIELD_NUMBER

public static final int HEALTH_ERROR_FIELD_NUMBER
Field Value
TypeDescription
int

INSTRUCTIONS_FIELD_NUMBER

public static final int INSTRUCTIONS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static VerifyKmsConfigResponse getDefaultInstance()
Returns
TypeDescription
VerifyKmsConfigResponse

getDescriptor()

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

newBuilder()

public static VerifyKmsConfigResponse.Builder newBuilder()
Returns
TypeDescription
VerifyKmsConfigResponse.Builder

newBuilder(VerifyKmsConfigResponse prototype)

public static VerifyKmsConfigResponse.Builder newBuilder(VerifyKmsConfigResponse prototype)
Parameter
NameDescription
prototypeVerifyKmsConfigResponse
Returns
TypeDescription
VerifyKmsConfigResponse.Builder

parseDelimitedFrom(InputStream input)

public static VerifyKmsConfigResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static VerifyKmsConfigResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static VerifyKmsConfigResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static VerifyKmsConfigResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static VerifyKmsConfigResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static VerifyKmsConfigResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static VerifyKmsConfigResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VerifyKmsConfigResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<VerifyKmsConfigResponse> parser()
Returns
TypeDescription
Parser<VerifyKmsConfigResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public VerifyKmsConfigResponse getDefaultInstanceForType()
Returns
TypeDescription
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
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.

getParserForType()

public Parser<VerifyKmsConfigResponse> getParserForType()
Returns
TypeDescription
Parser<VerifyKmsConfigResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public VerifyKmsConfigResponse.Builder newBuilderForType()
Returns
TypeDescription
VerifyKmsConfigResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected VerifyKmsConfigResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
VerifyKmsConfigResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public VerifyKmsConfigResponse.Builder toBuilder()
Returns
TypeDescription
VerifyKmsConfigResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException