Class GetBackupCollectionRequest.Builder (0.32.0)

public static final class GetBackupCollectionRequest.Builder extends GeneratedMessageV3.Builder<GetBackupCollectionRequest.Builder> implements GetBackupCollectionRequestOrBuilder

Request for [GetBackupCollection].

Protobuf type google.cloud.redis.cluster.v1.GetBackupCollectionRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBackupCollectionRequest build()
Returns
TypeDescription
GetBackupCollectionRequest

buildPartial()

public GetBackupCollectionRequest buildPartial()
Returns
TypeDescription
GetBackupCollectionRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public GetBackupCollectionRequest.Builder clearName()

Required. Redis backupCollection resource name using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id} where location_id refers to a GCP region.

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

Returns
TypeDescription
GetBackupCollectionRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public GetBackupCollectionRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBackupCollectionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. Redis backupCollection resource name using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id} where location_id refers to a GCP region.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Redis backupCollection resource name using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id} where location_id refers to a GCP region.

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

public GetBackupCollectionRequest.Builder mergeFrom(GetBackupCollectionRequest other)
Parameter
NameDescription
otherGetBackupCollectionRequest
Returns
TypeDescription
GetBackupCollectionRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public GetBackupCollectionRequest.Builder setName(String value)

Required. Redis backupCollection resource name using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id} where location_id refers to a GCP region.

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

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
GetBackupCollectionRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public GetBackupCollectionRequest.Builder setNameBytes(ByteString value)

Required. Redis backupCollection resource name using the form: projects/{project_id}/locations/{location_id}/backupCollections/{backup_collection_id} where location_id refers to a GCP region.

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

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
GetBackupCollectionRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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