Class GetKmsConfigRequest.Builder (0.2.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetKmsConfigRequest build()
Returns
TypeDescription
GetKmsConfigRequest

buildPartial()

public GetKmsConfigRequest buildPartial()
Returns
TypeDescription
GetKmsConfigRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetKmsConfigRequest getDefaultInstanceForType()
Returns
TypeDescription
GetKmsConfigRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Name of the KmsConfig

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 KmsConfig

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(GetKmsConfigRequest other)

public GetKmsConfigRequest.Builder mergeFrom(GetKmsConfigRequest other)
Parameter
NameDescription
otherGetKmsConfigRequest
Returns
TypeDescription
GetKmsConfigRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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