Class ImportDataMetadata.Builder (0.23.0)

publicstaticfinalclass ImportDataMetadata.BuilderextendsGeneratedMessageV3.Builder<ImportDataMetadata.Builder>implementsImportDataMetadataOrBuilder

Metadata related to the data import operation.

Protobuf type google.cloud.parallelstore.v1.ImportDataMetadata

Inherited Members

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

Static Methods

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

publicImportDataMetadata.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataMetadata.Builder
Overrides

build()

publicImportDataMetadatabuild()
Returns
Type Description
ImportDataMetadata

buildPartial()

publicImportDataMetadatabuildPartial()
Returns
Type Description
ImportDataMetadata

clear()

publicImportDataMetadata.Builderclear()
Returns
Type Description
ImportDataMetadata.Builder
Overrides

clearApiVersion()

publicImportDataMetadata.BuilderclearApiVersion()

Output only. API version used to start the operation.

string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

clearCreateTime()

publicImportDataMetadata.BuilderclearCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

clearEndTime()

publicImportDataMetadata.BuilderclearEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

publicImportDataMetadata.BuilderclearField(Descriptors.FieldDescriptorfield)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ImportDataMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

publicImportDataMetadata.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ImportDataMetadata.Builder
Overrides

clearOperationMetadata()

publicImportDataMetadata.BuilderclearOperationMetadata()

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Returns
Type Description
ImportDataMetadata.Builder

clearRequestedCancellation()

publicImportDataMetadata.BuilderclearRequestedCancellation()

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool requested_cancellation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

clearStatusMessage()

publicImportDataMetadata.BuilderclearStatusMessage()

Output only. Human-readable status of the operation, if any.

string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

clearTarget()

publicImportDataMetadata.BuilderclearTarget()

Output only. Server-defined resource path for the target of the operation.

string target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

clearVerb()

publicImportDataMetadata.BuilderclearVerb()

Output only. Name of the verb executed by the operation.

string verb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

clone()

publicImportDataMetadata.Builderclone()
Returns
Type Description
ImportDataMetadata.Builder
Overrides

getApiVersion()

publicStringgetApiVersion()

Output only. API version used to start the operation.

string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The apiVersion.

getApiVersionBytes()

publicByteStringgetApiVersionBytes()

Output only. API version used to start the operation.

string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for apiVersion.

getCreateTime()

publicTimestampgetCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

publicTimestamp.BuildergetCreateTimeBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

publicTimestampOrBuildergetCreateTimeOrBuilder()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

publicImportDataMetadatagetDefaultInstanceForType()
Returns
Type Description
ImportDataMetadata

getDescriptorForType()

publicDescriptors.DescriptorgetDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

publicTimestampgetEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

publicTimestamp.BuildergetEndTimeBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

publicTimestampOrBuildergetEndTimeOrBuilder()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getOperationMetadata()

publicTransferOperationMetadatagetOperationMetadata()

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Returns
Type Description
TransferOperationMetadata

The operationMetadata.

getOperationMetadataBuilder()

publicTransferOperationMetadata.BuildergetOperationMetadataBuilder()

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Returns
Type Description
TransferOperationMetadata.Builder

getOperationMetadataOrBuilder()

publicTransferOperationMetadataOrBuildergetOperationMetadataOrBuilder()

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Returns
Type Description
TransferOperationMetadataOrBuilder

getRequestedCancellation()

publicbooleangetRequestedCancellation()

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool requested_cancellation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The requestedCancellation.

getStatusMessage()

publicStringgetStatusMessage()

Output only. Human-readable status of the operation, if any.

string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The statusMessage.

getStatusMessageBytes()

publicByteStringgetStatusMessageBytes()

Output only. Human-readable status of the operation, if any.

string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for statusMessage.

getTarget()

publicStringgetTarget()

Output only. Server-defined resource path for the target of the operation.

string target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The target.

getTargetBytes()

publicByteStringgetTargetBytes()

Output only. Server-defined resource path for the target of the operation.

string target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for target.

getVerb()

publicStringgetVerb()

Output only. Name of the verb executed by the operation.

string verb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The verb.

getVerbBytes()

publicByteStringgetVerbBytes()

Output only. Name of the verb executed by the operation.

string verb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for verb.

hasCreateTime()

publicbooleanhasCreateTime()

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

publicbooleanhasEndTime()

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasOperationMetadata()

publicbooleanhasOperationMetadata()

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Returns
Type Description
boolean

Whether the operationMetadata field is set.

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

publicImportDataMetadata.BuildermergeCreateTime(Timestampvalue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataMetadata.Builder

mergeEndTime(Timestamp value)

publicImportDataMetadata.BuildermergeEndTime(Timestampvalue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataMetadata.Builder

mergeFrom(ImportDataMetadata other)

publicImportDataMetadata.BuildermergeFrom(ImportDataMetadataother)
Parameter
Name Description
other ImportDataMetadata
Returns
Type Description
ImportDataMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicImportDataMetadata.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportDataMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

publicImportDataMetadata.BuildermergeFrom(Messageother)
Parameter
Name Description
other Message
Returns
Type Description
ImportDataMetadata.Builder
Overrides

mergeOperationMetadata(TransferOperationMetadata value)

publicImportDataMetadata.BuildermergeOperationMetadata(TransferOperationMetadatavalue)

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Parameter
Name Description
value TransferOperationMetadata
Returns
Type Description
ImportDataMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

publicfinalImportDataMetadata.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataMetadata.Builder
Overrides

setApiVersion(String value)

publicImportDataMetadata.BuildersetApiVersion(Stringvalue)

Output only. API version used to start the operation.

string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The apiVersion to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setApiVersionBytes(ByteString value)

publicImportDataMetadata.BuildersetApiVersionBytes(ByteStringvalue)

Output only. API version used to start the operation.

string api_version = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for apiVersion to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setCreateTime(Timestamp value)

publicImportDataMetadata.BuildersetCreateTime(Timestampvalue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataMetadata.Builder

setCreateTime(Timestamp.Builder builderForValue)

publicImportDataMetadata.BuildersetCreateTime(Timestamp.BuilderbuilderForValue)

Output only. The time the operation was created.

.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportDataMetadata.Builder

setEndTime(Timestamp value)

publicImportDataMetadata.BuildersetEndTime(Timestampvalue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
ImportDataMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

publicImportDataMetadata.BuildersetEndTime(Timestamp.BuilderbuilderForValue)

Output only. The time the operation finished running.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
ImportDataMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

publicImportDataMetadata.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ImportDataMetadata.Builder
Overrides

setOperationMetadata(TransferOperationMetadata value)

publicImportDataMetadata.BuildersetOperationMetadata(TransferOperationMetadatavalue)

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Parameter
Name Description
value TransferOperationMetadata
Returns
Type Description
ImportDataMetadata.Builder

setOperationMetadata(TransferOperationMetadata.Builder builderForValue)

publicImportDataMetadata.BuildersetOperationMetadata(TransferOperationMetadata.BuilderbuilderForValue)

Data transfer operation metadata.

.google.cloud.parallelstore.v1.TransferOperationMetadata operation_metadata = 1;

Parameter
Name Description
builderForValue TransferOperationMetadata.Builder
Returns
Type Description
ImportDataMetadata.Builder

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

publicImportDataMetadata.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ImportDataMetadata.Builder
Overrides

setRequestedCancellation(boolean value)

publicImportDataMetadata.BuildersetRequestedCancellation(booleanvalue)

Output only. Identifies whether the user has requested cancellation of the operation. Operations that have successfully been cancelled have Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

bool requested_cancellation = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value boolean

The requestedCancellation to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setStatusMessage(String value)

publicImportDataMetadata.BuildersetStatusMessage(Stringvalue)

Output only. Human-readable status of the operation, if any.

string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The statusMessage to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setStatusMessageBytes(ByteString value)

publicImportDataMetadata.BuildersetStatusMessageBytes(ByteStringvalue)

Output only. Human-readable status of the operation, if any.

string status_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for statusMessage to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setTarget(String value)

publicImportDataMetadata.BuildersetTarget(Stringvalue)

Output only. Server-defined resource path for the target of the operation.

string target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The target to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setTargetBytes(ByteString value)

publicImportDataMetadata.BuildersetTargetBytes(ByteStringvalue)

Output only. Server-defined resource path for the target of the operation.

string target = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for target to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

publicfinalImportDataMetadata.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ImportDataMetadata.Builder
Overrides

setVerb(String value)

publicImportDataMetadata.BuildersetVerb(Stringvalue)

Output only. Name of the verb executed by the operation.

string verb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The verb to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

setVerbBytes(ByteString value)

publicImportDataMetadata.BuildersetVerbBytes(ByteStringvalue)

Output only. Name of the verb executed by the operation.

string verb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for verb to set.

Returns
Type Description
ImportDataMetadata.Builder

This builder for chaining.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.