Class ImportDataRequest.Builder (0.6.0)

public static final class ImportDataRequest.Builder extends GeneratedMessageV3.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder

Message representing the request importing data from parallelstore to Cloud Storage.

Protobuf type google.cloud.parallelstore.v1beta.ImportDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

build()

public ImportDataRequest build()
Returns
Type Description
ImportDataRequest

buildPartial()

public ImportDataRequest buildPartial()
Returns
Type Description
ImportDataRequest

clear()

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

clearDestination()

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

clearDestinationPath()

public ImportDataRequest.Builder clearDestinationPath()

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearName()

public ImportDataRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ImportDataRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDataRequest.Builder
Overrides

clearRequestId()

public ImportDataRequest.Builder clearRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clearSource()

public ImportDataRequest.Builder clearSource()
Returns
Type Description
ImportDataRequest.Builder

clearSourceGcsUri()

public ImportDataRequest.Builder clearSourceGcsUri()

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

clone()

public ImportDataRequest.Builder clone()
Returns
Type Description
ImportDataRequest.Builder
Overrides

getDefaultInstanceForType()

public ImportDataRequest getDefaultInstanceForType()
Returns
Type Description
ImportDataRequest

getDescriptorForType()

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

getDestinationCase()

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

getDestinationPath()

public String getDestinationPath()

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Returns
Type Description
String

The destinationPath.

getDestinationPathBytes()

public ByteString getDestinationPathBytes()

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Returns
Type Description
ByteString

The bytes for destinationPath.

getName()

public String getName()

Required. Name of the resource.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Name of the resource.

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

Returns
Type Description
ByteString

The bytes for name.

getRequestId()

public String getRequestId()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
String

The requestId.

getRequestIdBytes()

public ByteString getRequestIdBytes()

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Returns
Type Description
ByteString

The bytes for requestId.

getSourceCase()

public ImportDataRequest.SourceCase getSourceCase()
Returns
Type Description
ImportDataRequest.SourceCase

getSourceGcsUri()

public String getSourceGcsUri()

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Returns
Type Description
String

The sourceGcsUri.

getSourceGcsUriBytes()

public ByteString getSourceGcsUriBytes()

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Returns
Type Description
ByteString

The bytes for sourceGcsUri.

hasDestinationPath()

public boolean hasDestinationPath()

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Returns
Type Description
boolean

Whether the destinationPath field is set.

hasSourceGcsUri()

public boolean hasSourceGcsUri()

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Returns
Type Description
boolean

Whether the sourceGcsUri field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides

setDestinationPath(String value)

public ImportDataRequest.Builder setDestinationPath(String value)

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Parameter
Name Description
value String

The destinationPath to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setDestinationPathBytes(ByteString value)

public ImportDataRequest.Builder setDestinationPathBytes(ByteString value)

Optional. Root directory path to the Paralellstore filesystem, starting with '/'. Sets to '/' if no value is set.

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

Parameter
Name Description
value ByteString

The bytes for destinationPath to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public ImportDataRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setName(String value)

public ImportDataRequest.Builder setName(String value)

Required. Name of the resource.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ImportDataRequest.Builder setNameBytes(ByteString value)

Required. Name of the resource.

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
ImportDataRequest.Builder

This builder for chaining.

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

public ImportDataRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDataRequest.Builder
Overrides

setRequestId(String value)

public ImportDataRequest.Builder setRequestId(String value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value String

The requestId to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ImportDataRequest.Builder setRequestIdBytes(ByteString value)

Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes since the first request.

For example, consider a situation where you make an initial request and t he request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments.

The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).

string request_id = 4 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_info) = { ... }

Parameter
Name Description
value ByteString

The bytes for requestId to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setSourceGcsUri(String value)

public ImportDataRequest.Builder setSourceGcsUri(String value)

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Parameter
Name Description
value String

The sourceGcsUri to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setSourceGcsUriBytes(ByteString value)

public ImportDataRequest.Builder setSourceGcsUriBytes(ByteString value)

URI to a Cloud Storage object in format: 'gs://<bucket_name>/<path_inside_bucket>'.

string source_gcs_uri = 2;

Parameter
Name Description
value ByteString

The bytes for sourceGcsUri to set.

Returns
Type Description
ImportDataRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataRequest.Builder
Overrides