Class VerifyKmsConfigRequest.Builder (0.12.0)

public static final class VerifyKmsConfigRequest.Builder extends GeneratedMessageV3.Builder<VerifyKmsConfigRequest.Builder> implements VerifyKmsConfigRequestOrBuilder

VerifyKmsConfigRequest specifies the KMS config to be validated.

Protobuf type google.cloud.netapp.v1.VerifyKmsConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public VerifyKmsConfigRequest build()
Returns
TypeDescription
VerifyKmsConfigRequest

buildPartial()

public VerifyKmsConfigRequest buildPartial()
Returns
TypeDescription
VerifyKmsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public VerifyKmsConfigRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VerifyKmsConfigRequest.Builder
Overrides

clearName()

public VerifyKmsConfigRequest.Builder clearName()

Required. Name of the KMS Config to be verified.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
VerifyKmsConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public VerifyKmsConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
VerifyKmsConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the KMS Config to be verified.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the KMS Config to be verified.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VerifyKmsConfigRequest other)

public VerifyKmsConfigRequest.Builder mergeFrom(VerifyKmsConfigRequest other)
Parameter
NameDescription
otherVerifyKmsConfigRequest
Returns
TypeDescription
VerifyKmsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public VerifyKmsConfigRequest.Builder setName(String value)

Required. Name of the KMS Config to be verified.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
VerifyKmsConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public VerifyKmsConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of the KMS Config to be verified.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
VerifyKmsConfigRequest.Builder

This builder for chaining.

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

public VerifyKmsConfigRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VerifyKmsConfigRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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