Class ExportDataRequest.Builder (0.9.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

clearDestinationGcsBucket()

public ExportDataRequest.Builder clearDestinationGcsBucket()

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Returns
Type Description
ExportDataRequest.Builder

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

clearSourceParallelstore()

public ExportDataRequest.Builder clearSourceParallelstore()

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Returns
Type Description
ExportDataRequest.Builder

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

getDestinationGcsBucket()

public DestinationGcsBucket getDestinationGcsBucket()

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Returns
Type Description
DestinationGcsBucket

The destinationGcsBucket.

getDestinationGcsBucketBuilder()

public DestinationGcsBucket.Builder getDestinationGcsBucketBuilder()

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Returns
Type Description
DestinationGcsBucket.Builder

getDestinationGcsBucketOrBuilder()

public DestinationGcsBucketOrBuilder getDestinationGcsBucketOrBuilder()

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Returns
Type Description
DestinationGcsBucketOrBuilder

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

getSourceParallelstore()

public SourceParallelstore getSourceParallelstore()

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Returns
Type Description
SourceParallelstore

The sourceParallelstore.

getSourceParallelstoreBuilder()

public SourceParallelstore.Builder getSourceParallelstoreBuilder()

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Returns
Type Description
SourceParallelstore.Builder

getSourceParallelstoreOrBuilder()

public SourceParallelstoreOrBuilder getSourceParallelstoreOrBuilder()

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Returns
Type Description
SourceParallelstoreOrBuilder

hasDestinationGcsBucket()

public boolean hasDestinationGcsBucket()

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Returns
Type Description
boolean

Whether the destinationGcsBucket field is set.

hasSourceParallelstore()

public boolean hasSourceParallelstore()

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Returns
Type Description
boolean

Whether the sourceParallelstore field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDestinationGcsBucket(DestinationGcsBucket value)

public ExportDataRequest.Builder mergeDestinationGcsBucket(DestinationGcsBucket value)

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Parameter
Name Description
value DestinationGcsBucket
Returns
Type Description
ExportDataRequest.Builder

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

mergeSourceParallelstore(SourceParallelstore value)

public ExportDataRequest.Builder mergeSourceParallelstore(SourceParallelstore value)

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Parameter
Name Description
value SourceParallelstore
Returns
Type Description
ExportDataRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDestinationGcsBucket(DestinationGcsBucket value)

public ExportDataRequest.Builder setDestinationGcsBucket(DestinationGcsBucket value)

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Parameter
Name Description
value DestinationGcsBucket
Returns
Type Description
ExportDataRequest.Builder

setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue)

public ExportDataRequest.Builder setDestinationGcsBucket(DestinationGcsBucket.Builder builderForValue)

Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 3;

Parameter
Name Description
builderForValue DestinationGcsBucket.Builder
Returns
Type Description
ExportDataRequest.Builder

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.

setSourceParallelstore(SourceParallelstore value)

public ExportDataRequest.Builder setSourceParallelstore(SourceParallelstore value)

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Parameter
Name Description
value SourceParallelstore
Returns
Type Description
ExportDataRequest.Builder

setSourceParallelstore(SourceParallelstore.Builder builderForValue)

public ExportDataRequest.Builder setSourceParallelstore(SourceParallelstore.Builder builderForValue)

Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 2;

Parameter
Name Description
builderForValue SourceParallelstore.Builder
Returns
Type Description
ExportDataRequest.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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