Class ImportDataObjectsRequest.GcsImportConfig.Builder (0.6.0)

public static final class ImportDataObjectsRequest.GcsImportConfig.Builder extends GeneratedMessage.Builder<ImportDataObjectsRequest.GcsImportConfig.Builder> implements ImportDataObjectsRequest.GcsImportConfigOrBuilder

Google Cloud Storage configuration for the import.

Protobuf type google.cloud.vectorsearch.v1beta.ImportDataObjectsRequest.GcsImportConfig

Static Methods

getDescriptor()

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

Methods

build()

public ImportDataObjectsRequest.GcsImportConfig build()
Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig

buildPartial()

public ImportDataObjectsRequest.GcsImportConfig buildPartial()
Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig

clear()

public ImportDataObjectsRequest.GcsImportConfig.Builder clear()
Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder
Overrides

clearContentsUri()

public ImportDataObjectsRequest.GcsImportConfig.Builder clearContentsUri()

Required. URI prefix of the Cloud Storage DataObjects to import.

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

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

clearErrorUri()

public ImportDataObjectsRequest.GcsImportConfig.Builder clearErrorUri()

Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.

string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

clearOutputUri()

public ImportDataObjectsRequest.GcsImportConfig.Builder clearOutputUri()

Optional. URI prefix of the Cloud Storage location to write DataObject IDs and etags of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.

string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

getContentsUri()

public String getContentsUri()

Required. URI prefix of the Cloud Storage DataObjects to import.

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

Returns
Type Description
String

The contentsUri.

getContentsUriBytes()

public ByteString getContentsUriBytes()

Required. URI prefix of the Cloud Storage DataObjects to import.

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

Returns
Type Description
ByteString

The bytes for contentsUri.

getDefaultInstanceForType()

public ImportDataObjectsRequest.GcsImportConfig getDefaultInstanceForType()
Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig

getDescriptorForType()

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

getErrorUri()

public String getErrorUri()

Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.

string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The errorUri.

getErrorUriBytes()

public ByteString getErrorUriBytes()

Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.

string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for errorUri.

getOutputUri()

public String getOutputUri()

Optional. URI prefix of the Cloud Storage location to write DataObject IDs and etags of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.

string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The outputUri.

getOutputUriBytes()

public ByteString getOutputUriBytes()

Optional. URI prefix of the Cloud Storage location to write DataObject IDs and etags of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.

string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for outputUri.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDataObjectsRequest.GcsImportConfig other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setContentsUri(String value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setContentsUri(String value)

Required. URI prefix of the Cloud Storage DataObjects to import.

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

Parameter
Name Description
value String

The contentsUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

setContentsUriBytes(ByteString value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setContentsUriBytes(ByteString value)

Required. URI prefix of the Cloud Storage DataObjects to import.

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

Parameter
Name Description
value ByteString

The bytes for contentsUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

setErrorUri(String value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setErrorUri(String value)

Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.

string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The errorUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

setErrorUriBytes(ByteString value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setErrorUriBytes(ByteString value)

Required. URI prefix of the Cloud Storage location to write any errors encountered during the import.

string error_uri = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for errorUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

setOutputUri(String value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setOutputUri(String value)

Optional. URI prefix of the Cloud Storage location to write DataObject IDs and etags of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.

string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The outputUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.

setOutputUriBytes(ByteString value)

public ImportDataObjectsRequest.GcsImportConfig.Builder setOutputUriBytes(ByteString value)

Optional. URI prefix of the Cloud Storage location to write DataObject IDs and etags of DataObjects that were successfully imported. The service will write the successfully imported DataObjects to sharded files under this prefix. If this field is empty, no output will be written.

string output_uri = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for outputUri to set.

Returns
Type Description
ImportDataObjectsRequest.GcsImportConfig.Builder

This builder for chaining.