Class ExportDataObjectsRequest.GcsExportDestination.Builder (0.6.0)

public static final class ExportDataObjectsRequest.GcsExportDestination.Builder extends GeneratedMessage.Builder<ExportDataObjectsRequest.GcsExportDestination.Builder> implements ExportDataObjectsRequest.GcsExportDestinationOrBuilder

Google Cloud Storage configuration for the export.

Protobuf type google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination

Static Methods

getDescriptor()

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

Methods

build()

public ExportDataObjectsRequest.GcsExportDestination build()
Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination

buildPartial()

public ExportDataObjectsRequest.GcsExportDestination buildPartial()
Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination

clear()

public ExportDataObjectsRequest.GcsExportDestination.Builder clear()
Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder
Overrides

clearExportUri()

public ExportDataObjectsRequest.GcsExportDestination.Builder clearExportUri()

Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.

string export_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.

clearFormat()

public ExportDataObjectsRequest.GcsExportDestination.Builder clearFormat()

Required. The format of the exported Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination.Format format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportDataObjectsRequest.GcsExportDestination getDefaultInstanceForType()
Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination

getDescriptorForType()

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

getExportUri()

public String getExportUri()

Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.

string export_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The exportUri.

getExportUriBytes()

public ByteString getExportUriBytes()

Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.

string export_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for exportUri.

getFormat()

public ExportDataObjectsRequest.GcsExportDestination.Format getFormat()

Required. The format of the exported Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination.Format format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Format

The format.

getFormatValue()

public int getFormatValue()

Required. The format of the exported Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination.Format format = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for format.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataObjectsRequest.GcsExportDestination other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setExportUri(String value)

public ExportDataObjectsRequest.GcsExportDestination.Builder setExportUri(String value)

Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.

string export_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The exportUri to set.

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.

setExportUriBytes(ByteString value)

public ExportDataObjectsRequest.GcsExportDestination.Builder setExportUriBytes(ByteString value)

Required. URI prefix of the Cloud Storage where to export Data Objects. The bucket is required to be in the same region as the collection.

string export_uri = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for exportUri to set.

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.

setFormat(ExportDataObjectsRequest.GcsExportDestination.Format value)

public ExportDataObjectsRequest.GcsExportDestination.Builder setFormat(ExportDataObjectsRequest.GcsExportDestination.Format value)

Required. The format of the exported Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination.Format format = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ExportDataObjectsRequest.GcsExportDestination.Format

The format to set.

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.

setFormatValue(int value)

public ExportDataObjectsRequest.GcsExportDestination.Builder setFormatValue(int value)

Required. The format of the exported Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination.Format format = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for format to set.

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

This builder for chaining.