Class ImportClusterResponse.Builder (0.72.0)

public static final class ImportClusterResponse.Builder extends GeneratedMessage.Builder<ImportClusterResponse.Builder> implements ImportClusterResponseOrBuilder

Response of import rpc.

Protobuf type google.cloud.alloydb.v1beta.ImportClusterResponse

Static Methods

getDescriptor()

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

Methods

build()

public ImportClusterResponse build()
Returns
Type Description
ImportClusterResponse

buildPartial()

public ImportClusterResponse buildPartial()
Returns
Type Description
ImportClusterResponse

clear()

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

clearBytesDownloaded()

public ImportClusterResponse.Builder clearBytesDownloaded()

Required. Size of the object downloaded from Google Cloud Storage in bytes.

int64 bytes_downloaded = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportClusterResponse.Builder

This builder for chaining.

getBytesDownloaded()

public long getBytesDownloaded()

Required. Size of the object downloaded from Google Cloud Storage in bytes.

int64 bytes_downloaded = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The bytesDownloaded.

getDefaultInstanceForType()

public ImportClusterResponse getDefaultInstanceForType()
Returns
Type Description
ImportClusterResponse

getDescriptorForType()

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

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportClusterResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setBytesDownloaded(long value)

public ImportClusterResponse.Builder setBytesDownloaded(long value)

Required. Size of the object downloaded from Google Cloud Storage in bytes.

int64 bytes_downloaded = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The bytesDownloaded to set.

Returns
Type Description
ImportClusterResponse.Builder

This builder for chaining.