Class ExportDataRequest.Builder (0.6.0)

public static final class ExportDataRequest.Builder extends GeneratedMessageV3.Builder<ExportDataRequest.Builder> implements ExportDataRequestOrBuilder

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

Protobuf type google.cloud.parallelstore.v1beta.ExportDataRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ExportDataRequest build()
Returns
Type Description
ExportDataRequest

buildPartial()

public ExportDataRequest buildPartial()
Returns
Type Description
ExportDataRequest

clear()

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

clearDestination()

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

clearDestinationGcsUri()

public ExportDataRequest.Builder clearDestinationGcsUri()

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

string destination_gcs_uri = 3;

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearName()

public ExportDataRequest.Builder clearName()

Required. Name of the resource.

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

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRequestId()

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

clearSource()

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

clearSourcePath()

public ExportDataRequest.Builder clearSourcePath()

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ExportDataRequest getDefaultInstanceForType()
Returns
Type Description
ExportDataRequest

getDescriptorForType()

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

getDestinationCase()

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

getDestinationGcsUri()

public String getDestinationGcsUri()

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

string destination_gcs_uri = 3;

Returns
Type Description
String

The destinationGcsUri.

getDestinationGcsUriBytes()

public ByteString getDestinationGcsUriBytes()

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

string destination_gcs_uri = 3;

Returns
Type Description
ByteString

The bytes for destinationGcsUri.

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 ExportDataRequest.SourceCase getSourceCase()
Returns
Type Description
ExportDataRequest.SourceCase

getSourcePath()

public String getSourcePath()

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The sourcePath.

getSourcePathBytes()

public ByteString getSourcePathBytes()

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for sourcePath.

hasDestinationGcsUri()

public boolean hasDestinationGcsUri()

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

string destination_gcs_uri = 3;

Returns
Type Description
boolean

Whether the destinationGcsUri field is set.

hasSourcePath()

public boolean hasSourcePath()

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sourcePath field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ExportDataRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDestinationGcsUri(String value)

public ExportDataRequest.Builder setDestinationGcsUri(String value)

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

string destination_gcs_uri = 3;

Parameter
Name Description
value String

The destinationGcsUri to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setDestinationGcsUriBytes(ByteString value)

public ExportDataRequest.Builder setDestinationGcsUriBytes(ByteString value)

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

string destination_gcs_uri = 3;

Parameter
Name Description
value ByteString

The bytes for destinationGcsUri to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setName(String value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

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

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

setRequestId(String value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setRequestIdBytes(ByteString value)

public ExportDataRequest.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
ExportDataRequest.Builder

This builder for chaining.

setSourcePath(String value)

public ExportDataRequest.Builder setSourcePath(String value)

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The sourcePath to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setSourcePathBytes(ByteString value)

public ExportDataRequest.Builder setSourcePathBytes(ByteString value)

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

string source_path = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for sourcePath to set.

Returns
Type Description
ExportDataRequest.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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