Class ImportDataRequest.Builder (0.21.0)
Stay organized with collections
Save and categorize content based on your preferences.
publicstaticfinalclass ImportDataRequest.BuilderextendsGeneratedMessageV3.Builder<ImportDataRequest.Builder>implementsImportDataRequestOrBuilderImport data from Cloud Storage into a Parallelstore instance.
Protobuf type google.cloud.parallelstore.v1.ImportDataRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImportDataRequest.BuilderImplements
ImportDataRequestOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicImportDataRequest.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
build()
publicImportDataRequestbuild()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
buildPartial()
publicImportDataRequestbuildPartial()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
clear()
publicImportDataRequest.Builderclear()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearDestination()
publicImportDataRequest.BuilderclearDestination()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearDestinationParallelstore()
publicImportDataRequest.BuilderclearDestinationParallelstore()Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearField(Descriptors.FieldDescriptor field)
publicImportDataRequest.BuilderclearField(Descriptors.FieldDescriptorfield)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearName()
publicImportDataRequest.BuilderclearName()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)
publicImportDataRequest.BuilderclearOneof(Descriptors.OneofDescriptoroneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearRequestId()
publicImportDataRequest.BuilderclearRequestId()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. |
clearServiceAccount()
publicImportDataRequest.BuilderclearServiceAccount()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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |
clearSource()
publicImportDataRequest.BuilderclearSource()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clearSourceGcsBucket()
publicImportDataRequest.BuilderclearSourceGcsBucket()The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
clone()
publicImportDataRequest.Builderclone()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
getDefaultInstanceForType()
publicImportDataRequestgetDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest |
|
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDestinationCase()
publicImportDataRequest.DestinationCasegetDestinationCase()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.DestinationCase |
|
getDestinationParallelstore()
publicDestinationParallelstoregetDestinationParallelstore()Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Returns | |
|---|---|
| Type | Description |
DestinationParallelstore |
The destinationParallelstore. |
getDestinationParallelstoreBuilder()
publicDestinationParallelstore.BuildergetDestinationParallelstoreBuilder()Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Returns | |
|---|---|
| Type | Description |
DestinationParallelstore.Builder |
|
getDestinationParallelstoreOrBuilder()
publicDestinationParallelstoreOrBuildergetDestinationParallelstoreOrBuilder()Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Returns | |
|---|---|
| Type | Description |
DestinationParallelstoreOrBuilder |
|
getName()
publicStringgetName()Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
publicByteStringgetNameBytes()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()
publicStringgetRequestId()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()
publicByteStringgetRequestIdBytes()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. |
getServiceAccount()
publicStringgetServiceAccount()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) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The serviceAccount. |
getServiceAccountBytes()
publicByteStringgetServiceAccountBytes()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) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for serviceAccount. |
getSourceCase()
publicImportDataRequest.SourceCasegetSourceCase()| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.SourceCase |
|
getSourceGcsBucket()
publicSourceGcsBucketgetSourceGcsBucket()The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
SourceGcsBucket |
The sourceGcsBucket. |
getSourceGcsBucketBuilder()
publicSourceGcsBucket.BuildergetSourceGcsBucketBuilder()The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
SourceGcsBucket.Builder |
|
getSourceGcsBucketOrBuilder()
publicSourceGcsBucketOrBuildergetSourceGcsBucketOrBuilder()The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
SourceGcsBucketOrBuilder |
|
hasDestinationParallelstore()
publicbooleanhasDestinationParallelstore()Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the destinationParallelstore field is set. |
hasSourceGcsBucket()
publicbooleanhasSourceGcsBucket()The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the sourceGcsBucket field is set. |
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
publicfinalbooleanisInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeDestinationParallelstore(DestinationParallelstore value)
publicImportDataRequest.BuildermergeDestinationParallelstore(DestinationParallelstorevalue)Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DestinationParallelstore |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeFrom(ImportDataRequest other)
publicImportDataRequest.BuildermergeFrom(ImportDataRequestother)| Parameter | |
|---|---|
| Name | Description |
other |
ImportDataRequest |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicImportDataRequest.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
publicImportDataRequest.BuildermergeFrom(Messageother)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeSourceGcsBucket(SourceGcsBucket value)
publicImportDataRequest.BuildermergeSourceGcsBucket(SourceGcsBucketvalue)The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceGcsBucket |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalImportDataRequest.BuildermergeUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setDestinationParallelstore(DestinationParallelstore value)
publicImportDataRequest.BuildersetDestinationParallelstore(DestinationParallelstorevalue)Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
DestinationParallelstore |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setDestinationParallelstore(DestinationParallelstore.Builder builderForValue)
publicImportDataRequest.BuildersetDestinationParallelstore(DestinationParallelstore.BuilderbuilderForValue)Parallelstore destination.
.google.cloud.parallelstore.v1.DestinationParallelstore destination_parallelstore = 3;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
DestinationParallelstore.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
publicImportDataRequest.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setName(String value)
publicImportDataRequest.BuildersetName(Stringvalue)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)
publicImportDataRequest.BuildersetNameBytes(ByteStringvalue)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)
publicImportDataRequest.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setRequestId(String value)
publicImportDataRequest.BuildersetRequestId(Stringvalue)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)
publicImportDataRequest.BuildersetRequestIdBytes(ByteStringvalue)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. |
setServiceAccount(String value)
publicImportDataRequest.BuildersetServiceAccount(Stringvalue)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
String The serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |
setServiceAccountBytes(ByteString value)
publicImportDataRequest.BuildersetServiceAccountBytes(ByteStringvalue)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) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteString The bytes for serviceAccount to set. |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
This builder for chaining. |
setSourceGcsBucket(SourceGcsBucket value)
publicImportDataRequest.BuildersetSourceGcsBucket(SourceGcsBucketvalue)The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
SourceGcsBucket |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setSourceGcsBucket(SourceGcsBucket.Builder builderForValue)
publicImportDataRequest.BuildersetSourceGcsBucket(SourceGcsBucket.BuilderbuilderForValue)The Cloud Storage source bucket and, optionally, path inside the bucket.
.google.cloud.parallelstore.v1.SourceGcsBucket source_gcs_bucket = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SourceGcsBucket.Builder |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalImportDataRequest.BuildersetUnknownFields(UnknownFieldSetunknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImportDataRequest.Builder |
|