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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportDataRequest.BuilderImplements
ImportDataRequestOrBuilderStatic 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 |
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 |
clearDestination()
public ImportDataRequest.Builder clearDestination()
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
clearDestinationParallelstore()
public ImportDataRequest.Builder clearDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public ImportDataRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
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 |
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 |
clearSourceGcsBucket()
public ImportDataRequest.Builder clearSourceGcsBucket()
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
clone()
public ImportDataRequest.Builder clone()
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
getDefaultInstanceForType()
public ImportDataRequest getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ImportDataRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getDestinationCase()
public ImportDataRequest.DestinationCase getDestinationCase()
Returns | |
---|---|
Type | Description |
ImportDataRequest.DestinationCase |
getDestinationParallelstore()
public DestinationParallelstore getDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Returns | |
---|---|
Type | Description |
DestinationParallelstore |
The destinationParallelstore. |
getDestinationParallelstoreBuilder()
public DestinationParallelstore.Builder getDestinationParallelstoreBuilder()
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Returns | |
---|---|
Type | Description |
DestinationParallelstore.Builder |
getDestinationParallelstoreOrBuilder()
public DestinationParallelstoreOrBuilder getDestinationParallelstoreOrBuilder()
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Returns | |
---|---|
Type | Description |
DestinationParallelstoreOrBuilder |
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 |
getSourceGcsBucket()
public SourceGcsBucket getSourceGcsBucket()
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Returns | |
---|---|
Type | Description |
SourceGcsBucket |
The sourceGcsBucket. |
getSourceGcsBucketBuilder()
public SourceGcsBucket.Builder getSourceGcsBucketBuilder()
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Returns | |
---|---|
Type | Description |
SourceGcsBucket.Builder |
getSourceGcsBucketOrBuilder()
public SourceGcsBucketOrBuilder getSourceGcsBucketOrBuilder()
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Returns | |
---|---|
Type | Description |
SourceGcsBucketOrBuilder |
hasDestinationParallelstore()
public boolean hasDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Returns | |
---|---|
Type | Description |
boolean |
Whether the destinationParallelstore field is set. |
hasSourceGcsBucket()
public boolean hasSourceGcsBucket()
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Returns | |
---|---|
Type | Description |
boolean |
Whether the sourceGcsBucket field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeDestinationParallelstore(DestinationParallelstore value)
public ImportDataRequest.Builder mergeDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Parameter | |
---|---|
Name | Description |
value |
DestinationParallelstore |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ImportDataRequest.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
mergeSourceGcsBucket(SourceGcsBucket value)
public ImportDataRequest.Builder mergeSourceGcsBucket(SourceGcsBucket value)
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Parameter | |
---|---|
Name | Description |
value |
SourceGcsBucket |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
setDestinationParallelstore(DestinationParallelstore value)
public ImportDataRequest.Builder setDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Parameter | |
---|---|
Name | Description |
value |
DestinationParallelstore |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)
public ImportDataRequest.Builder setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)
Parallelstore destination.
.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 3;
Parameter | |
---|---|
Name | Description |
builderForValue |
DestinationParallelstore.Builder |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
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 |
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 |
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. |
setSourceGcsBucket(SourceGcsBucket value)
public ImportDataRequest.Builder setSourceGcsBucket(SourceGcsBucket value)
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Parameter | |
---|---|
Name | Description |
value |
SourceGcsBucket |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)
public ImportDataRequest.Builder setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)
Cloud Storage source.
.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 2;
Parameter | |
---|---|
Name | Description |
builderForValue |
SourceGcsBucket.Builder |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ImportDataRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ImportDataRequest.Builder |