Class GetKmsConfigRequest.Builder (0.33.0)

public static final class GetKmsConfigRequest.Builder extends GeneratedMessageV3.Builder<GetKmsConfigRequest.Builder> implements GetKmsConfigRequestOrBuilder

GetKmsConfigRequest gets a KMS Config.

Protobuf type google.cloud.netapp.v1.GetKmsConfigRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetKmsConfigRequest build()
Returns
Type Description
GetKmsConfigRequest

buildPartial()

public GetKmsConfigRequest buildPartial()
Returns
Type Description
GetKmsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetKmsConfigRequest.Builder clearName()

Required. Name of the KmsConfig

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

Returns
Type Description
GetKmsConfigRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetKmsConfigRequest getDefaultInstanceForType()
Returns
Type Description
GetKmsConfigRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Name of the KmsConfig

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the KmsConfig

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetKmsConfigRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetKmsConfigRequest.Builder setName(String value)

Required. Name of the KmsConfig

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
GetKmsConfigRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetKmsConfigRequest.Builder setNameBytes(ByteString value)

Required. Name of the KmsConfig

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
GetKmsConfigRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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