Class GetBackupIndexDownloadUrlRequest.Builder (0.39.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GetBackupIndexDownloadUrlRequest build()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest

buildPartial()

public GetBackupIndexDownloadUrlRequest buildPartial()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest

clear()

public GetBackupIndexDownloadUrlRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public GetBackupIndexDownloadUrlRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for backup.

getDefaultInstanceForType()

public GetBackupIndexDownloadUrlRequest getDefaultInstanceForType()
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GetBackupIndexDownloadUrlRequest other)

public GetBackupIndexDownloadUrlRequest.Builder mergeFrom(GetBackupIndexDownloadUrlRequest other)
Parameter
NameDescription
otherGetBackupIndexDownloadUrlRequest
Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GetBackupIndexDownloadUrlRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The backup to set.

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

The bytes for backup to set.

Returns
TypeDescription
GetBackupIndexDownloadUrlRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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