Class ExportDataObjectsRequest.Builder (0.6.0)

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

Request message for VectorSearchService.ExportDataObjects.

Protobuf type google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest

Static Methods

getDescriptor()

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

Methods

build()

public ExportDataObjectsRequest build()
Returns
Type Description
ExportDataObjectsRequest

buildPartial()

public ExportDataObjectsRequest buildPartial()
Returns
Type Description
ExportDataObjectsRequest

clear()

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

clearDestination()

public ExportDataObjectsRequest.Builder clearDestination()
Returns
Type Description
ExportDataObjectsRequest.Builder

clearGcsDestination()

public ExportDataObjectsRequest.Builder clearGcsDestination()

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Returns
Type Description
ExportDataObjectsRequest.Builder

clearName()

public ExportDataObjectsRequest.Builder clearName()

Required. The resource name of the Collection from which we want to export Data Objects. Format: projects/{project}/locations/{location}/collections/{collection}.

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

Returns
Type Description
ExportDataObjectsRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public ExportDataObjectsRequest getDefaultInstanceForType()
Returns
Type Description
ExportDataObjectsRequest

getDescriptorForType()

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

getDestinationCase()

public ExportDataObjectsRequest.DestinationCase getDestinationCase()
Returns
Type Description
ExportDataObjectsRequest.DestinationCase

getGcsDestination()

public ExportDataObjectsRequest.GcsExportDestination getGcsDestination()

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination

The gcsDestination.

getGcsDestinationBuilder()

public ExportDataObjectsRequest.GcsExportDestination.Builder getGcsDestinationBuilder()

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestination.Builder

getGcsDestinationOrBuilder()

public ExportDataObjectsRequest.GcsExportDestinationOrBuilder getGcsDestinationOrBuilder()

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Returns
Type Description
ExportDataObjectsRequest.GcsExportDestinationOrBuilder

getName()

public String getName()

Required. The resource name of the Collection from which we want to export Data Objects. Format: projects/{project}/locations/{location}/collections/{collection}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The resource name of the Collection from which we want to export Data Objects. Format: projects/{project}/locations/{location}/collections/{collection}.

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

Returns
Type Description
ByteString

The bytes for name.

hasGcsDestination()

public boolean hasGcsDestination()

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Returns
Type Description
boolean

Whether the gcsDestination field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataObjectsRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeGcsDestination(ExportDataObjectsRequest.GcsExportDestination value)

public ExportDataObjectsRequest.Builder mergeGcsDestination(ExportDataObjectsRequest.GcsExportDestination value)

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Parameter
Name Description
value ExportDataObjectsRequest.GcsExportDestination
Returns
Type Description
ExportDataObjectsRequest.Builder

setGcsDestination(ExportDataObjectsRequest.GcsExportDestination value)

public ExportDataObjectsRequest.Builder setGcsDestination(ExportDataObjectsRequest.GcsExportDestination value)

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Parameter
Name Description
value ExportDataObjectsRequest.GcsExportDestination
Returns
Type Description
ExportDataObjectsRequest.Builder

setGcsDestination(ExportDataObjectsRequest.GcsExportDestination.Builder builderForValue)

public ExportDataObjectsRequest.Builder setGcsDestination(ExportDataObjectsRequest.GcsExportDestination.Builder builderForValue)

The Cloud Storage location where user wants to export Data Objects.

.google.cloud.vectorsearch.v1beta.ExportDataObjectsRequest.GcsExportDestination gcs_destination = 2;

Parameter
Name Description
builderForValue ExportDataObjectsRequest.GcsExportDestination.Builder
Returns
Type Description
ExportDataObjectsRequest.Builder

setName(String value)

public ExportDataObjectsRequest.Builder setName(String value)

Required. The resource name of the Collection from which we want to export Data Objects. Format: projects/{project}/locations/{location}/collections/{collection}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ExportDataObjectsRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportDataObjectsRequest.Builder setNameBytes(ByteString value)

Required. The resource name of the Collection from which we want to export Data Objects. Format: projects/{project}/locations/{location}/collections/{collection}.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
ExportDataObjectsRequest.Builder

This builder for chaining.