Class GetBackupIndexDownloadUrlRequest.Builder (0.41.0)

public static final class GetBackupIndexDownloadUrlRequest.Builder extends GeneratedMessageV3.Builder<GetBackupIndexDownloadUrlRequest.Builder> implements GetBackupIndexDownloadUrlRequestOrBuilder

Request message for GetBackupIndexDownloadUrl.

Protobuf type google.cloud.gkebackup.v1.GetBackupIndexDownloadUrlRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBackupIndexDownloadUrlRequest build()
Returns
Type Description
GetBackupIndexDownloadUrlRequest

buildPartial()

public GetBackupIndexDownloadUrlRequest buildPartial()
Returns
Type Description
GetBackupIndexDownloadUrlRequest

clear()

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

clearBackup()

public GetBackupIndexDownloadUrlRequest.Builder clearBackup()

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Returns
Type Description
GetBackupIndexDownloadUrlRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getBackup()

public String getBackup()

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Returns
Type Description
String

The backup.

getBackupBytes()

public ByteString getBackupBytes()

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Returns
Type Description
ByteString

The bytes for backup.

getDefaultInstanceForType()

public GetBackupIndexDownloadUrlRequest getDefaultInstanceForType()
Returns
Type Description
GetBackupIndexDownloadUrlRequest

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GetBackupIndexDownloadUrlRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setBackup(String value)

public GetBackupIndexDownloadUrlRequest.Builder setBackup(String value)

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Parameter
Name Description
value String

The backup to set.

Returns
Type Description
GetBackupIndexDownloadUrlRequest.Builder

This builder for chaining.

setBackupBytes(ByteString value)

public GetBackupIndexDownloadUrlRequest.Builder setBackupBytes(ByteString value)

Required. Full name of Backup resource. Format: projects/{project}/locations/{location}/backupPlans/{backup_plan}/backups/{backup}

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

Parameter
Name Description
value ByteString

The bytes for backup to set.

Returns
Type Description
GetBackupIndexDownloadUrlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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