public static final class ImportDataRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder> implements ImportDataRequestOrBuilder
Import data from Cloud Storage into a Parallelstore instance.Protobuf type
google.cloud.parallelstore.v1.ImportDataRequest| Modifier and Type | Method and Description |
|---|---|
ImportDataRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDataRequest |
build() |
ImportDataRequest |
buildPartial() |
ImportDataRequest.Builder |
clear() |
ImportDataRequest.Builder |
clearDestination() |
ImportDataRequest.Builder |
clearDestinationParallelstore()
Parallelstore destination.
|
ImportDataRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ImportDataRequest.Builder |
clearName()
Required.
|
ImportDataRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ImportDataRequest.Builder |
clearRequestId()
Optional.
|
ImportDataRequest.Builder |
clearServiceAccount()
Optional.
|
ImportDataRequest.Builder |
clearSource() |
ImportDataRequest.Builder |
clearSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
ImportDataRequest.Builder |
clone() |
ImportDataRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
ImportDataRequest.DestinationCase |
getDestinationCase() |
DestinationParallelstore |
getDestinationParallelstore()
Parallelstore destination.
|
DestinationParallelstore.Builder |
getDestinationParallelstoreBuilder()
Parallelstore destination.
|
DestinationParallelstoreOrBuilder |
getDestinationParallelstoreOrBuilder()
Parallelstore destination.
|
String |
getName()
Required.
|
com.google.protobuf.ByteString |
getNameBytes()
Required.
|
String |
getRequestId()
Optional.
|
com.google.protobuf.ByteString |
getRequestIdBytes()
Optional.
|
String |
getServiceAccount()
Optional.
|
com.google.protobuf.ByteString |
getServiceAccountBytes()
Optional.
|
ImportDataRequest.SourceCase |
getSourceCase() |
SourceGcsBucket |
getSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
SourceGcsBucket.Builder |
getSourceGcsBucketBuilder()
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
SourceGcsBucketOrBuilder |
getSourceGcsBucketOrBuilder()
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
boolean |
hasDestinationParallelstore()
Parallelstore destination.
|
boolean |
hasSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ImportDataRequest.Builder |
mergeDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
|
ImportDataRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ImportDataRequest.Builder |
mergeFrom(ImportDataRequest other) |
ImportDataRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
ImportDataRequest.Builder |
mergeSourceGcsBucket(SourceGcsBucket value)
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
ImportDataRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ImportDataRequest.Builder |
setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)
Parallelstore destination.
|
ImportDataRequest.Builder |
setDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
|
ImportDataRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ImportDataRequest.Builder |
setName(String value)
Required.
|
ImportDataRequest.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Required.
|
ImportDataRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ImportDataRequest.Builder |
setRequestId(String value)
Optional.
|
ImportDataRequest.Builder |
setRequestIdBytes(com.google.protobuf.ByteString value)
Optional.
|
ImportDataRequest.Builder |
setServiceAccount(String value)
Optional.
|
ImportDataRequest.Builder |
setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional.
|
ImportDataRequest.Builder |
setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
ImportDataRequest.Builder |
setSourceGcsBucket(SourceGcsBucket value)
The Cloud Storage source bucket and, optionally, path inside the bucket.
|
ImportDataRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ImportDataRequest build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ImportDataRequest buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ImportDataRequest.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder mergeFrom(ImportDataRequest other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public ImportDataRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ImportDataRequest.Builder>IOExceptionpublic ImportDataRequest.SourceCase getSourceCase()
getSourceCase in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder clearSource()
public ImportDataRequest.DestinationCase getDestinationCase()
getDestinationCase in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder clearDestination()
public boolean hasSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;hasSourceGcsBucket in interface ImportDataRequestOrBuilderpublic SourceGcsBucket getSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;getSourceGcsBucket in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder setSourceGcsBucket(SourceGcsBucket value)
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;public ImportDataRequest.Builder setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;public ImportDataRequest.Builder mergeSourceGcsBucket(SourceGcsBucket value)
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;public ImportDataRequest.Builder clearSourceGcsBucket()
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;public SourceGcsBucket.Builder getSourceGcsBucketBuilder()
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;public SourceGcsBucketOrBuilder getSourceGcsBucketOrBuilder()
The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;getSourceGcsBucketOrBuilder in interface ImportDataRequestOrBuilderpublic boolean hasDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
hasDestinationParallelstore in interface ImportDataRequestOrBuilderpublic DestinationParallelstore getDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
getDestinationParallelstore in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder setDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
public ImportDataRequest.Builder setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
public ImportDataRequest.Builder mergeDestinationParallelstore(DestinationParallelstore value)
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
public ImportDataRequest.Builder clearDestinationParallelstore()
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
public DestinationParallelstore.Builder getDestinationParallelstoreBuilder()
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
public DestinationParallelstoreOrBuilder getDestinationParallelstoreOrBuilder()
Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
getDestinationParallelstoreOrBuilder in interface ImportDataRequestOrBuilderpublic String getName()
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getName in interface ImportDataRequestOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
getNameBytes in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder setName(String value)
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The name to set.public ImportDataRequest.Builder clearName()
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
public ImportDataRequest.Builder setNameBytes(com.google.protobuf.ByteString value)
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
value - The bytes for name to set.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) = { ... }
getRequestId in interface ImportDataRequestOrBuilderpublic com.google.protobuf.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) = { ... }
getRequestIdBytes in interface ImportDataRequestOrBuilderpublic 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) = { ... }
value - The requestId to set.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) = { ... }
public ImportDataRequest.Builder setRequestIdBytes(com.google.protobuf.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) = { ... }
value - The bytes for requestId to set.public String getServiceAccount()
Optional. User-specified service account credentials to be used when
performing the transfer.
Use one of the following formats:
* `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
If unspecified, the Parallelstore service agent is used:
`service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getServiceAccount in interface ImportDataRequestOrBuilderpublic com.google.protobuf.ByteString getServiceAccountBytes()
Optional. User-specified service account credentials to be used when
performing the transfer.
Use one of the following formats:
* `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
If unspecified, the Parallelstore service agent is used:
`service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
getServiceAccountBytes in interface ImportDataRequestOrBuilderpublic ImportDataRequest.Builder setServiceAccount(String value)
Optional. User-specified service account credentials to be used when
performing the transfer.
Use one of the following formats:
* `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
If unspecified, the Parallelstore service agent is used:
`service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The serviceAccount to set.public ImportDataRequest.Builder clearServiceAccount()
Optional. User-specified service account credentials to be used when
performing the transfer.
Use one of the following formats:
* `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
If unspecified, the Parallelstore service agent is used:
`service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
public ImportDataRequest.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Optional. User-specified service account credentials to be used when
performing the transfer.
Use one of the following formats:
* `{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/{PROJECT_ID_OR_NUMBER}/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
* `projects/-/serviceAccounts/{EMAIL_ADDRESS_OR_UNIQUE_ID}`
If unspecified, the Parallelstore service agent is used:
`service-<PROJECT_NUMBER>@gcp-sa-parallelstore.iam.gserviceaccount.com`
string service_account = 5 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
value - The bytes for serviceAccount to set.public final ImportDataRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>public final ImportDataRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ImportDataRequest.Builder>Copyright © 2025 Google LLC. All rights reserved.