Class TransferOperationMetadata (0.8.0)

public final class TransferOperationMetadata extends GeneratedMessageV3 implements TransferOperationMetadataOrBuilder

Represents the metadata of the long-running operation.

Protobuf type google.cloud.parallelstore.v1beta.TransferOperationMetadata

Static Fields

COUNTERS_FIELD_NUMBER

public static final int COUNTERS_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_GCS_BUCKET_FIELD_NUMBER

public static final int DESTINATION_GCS_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_PARALLELSTORE_FIELD_NUMBER

public static final int DESTINATION_PARALLELSTORE_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_GCS_BUCKET_FIELD_NUMBER

public static final int SOURCE_GCS_BUCKET_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_PARALLELSTORE_FIELD_NUMBER

public static final int SOURCE_PARALLELSTORE_FIELD_NUMBER
Field Value
Type Description
int

TRANSFER_TYPE_FIELD_NUMBER

public static final int TRANSFER_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static TransferOperationMetadata getDefaultInstance()
Returns
Type Description
TransferOperationMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static TransferOperationMetadata.Builder newBuilder()
Returns
Type Description
TransferOperationMetadata.Builder

newBuilder(TransferOperationMetadata prototype)

public static TransferOperationMetadata.Builder newBuilder(TransferOperationMetadata prototype)
Parameter
Name Description
prototype TransferOperationMetadata
Returns
Type Description
TransferOperationMetadata.Builder

parseDelimitedFrom(InputStream input)

public static TransferOperationMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static TransferOperationMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static TransferOperationMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static TransferOperationMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static TransferOperationMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static TransferOperationMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static TransferOperationMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferOperationMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<TransferOperationMetadata> parser()
Returns
Type Description
Parser<TransferOperationMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getCounters()

public TransferCounters getCounters()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters

The counters.

getCountersOrBuilder()

public TransferCountersOrBuilder getCountersOrBuilder()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCountersOrBuilder

getDefaultInstanceForType()

public TransferOperationMetadata getDefaultInstanceForType()
Returns
Type Description
TransferOperationMetadata

getDestinationCase()

public TransferOperationMetadata.DestinationCase getDestinationCase()
Returns
Type Description
TransferOperationMetadata.DestinationCase

getDestinationGcsBucket()

public DestinationGcsBucket getDestinationGcsBucket()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationGcsBucket

The destinationGcsBucket.

getDestinationGcsBucketOrBuilder()

public DestinationGcsBucketOrBuilder getDestinationGcsBucketOrBuilder()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationGcsBucketOrBuilder

getDestinationParallelstore()

public DestinationParallelstore getDestinationParallelstore()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationParallelstore

The destinationParallelstore.

getDestinationParallelstoreOrBuilder()

public DestinationParallelstoreOrBuilder getDestinationParallelstoreOrBuilder()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DestinationParallelstoreOrBuilder

getParserForType()

public Parser<TransferOperationMetadata> getParserForType()
Returns
Type Description
Parser<TransferOperationMetadata>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceCase()

public TransferOperationMetadata.SourceCase getSourceCase()
Returns
Type Description
TransferOperationMetadata.SourceCase

getSourceGcsBucket()

public SourceGcsBucket getSourceGcsBucket()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceGcsBucket

The sourceGcsBucket.

getSourceGcsBucketOrBuilder()

public SourceGcsBucketOrBuilder getSourceGcsBucketOrBuilder()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceGcsBucketOrBuilder

getSourceParallelstore()

public SourceParallelstore getSourceParallelstore()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceParallelstore

The sourceParallelstore.

getSourceParallelstoreOrBuilder()

public SourceParallelstoreOrBuilder getSourceParallelstoreOrBuilder()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SourceParallelstoreOrBuilder

getTransferType()

public TransferType getTransferType()

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferType

The transferType.

getTransferTypeValue()

public int getTransferTypeValue()

Output only. The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for transferType.

hasCounters()

public boolean hasCounters()

Output only. Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the counters field is set.

hasDestinationGcsBucket()

public boolean hasDestinationGcsBucket()

Output only. Cloud Storage destination.

.google.cloud.parallelstore.v1beta.DestinationGcsBucket destination_gcs_bucket = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationGcsBucket field is set.

hasDestinationParallelstore()

public boolean hasDestinationParallelstore()

Output only. Parallelstore destination.

.google.cloud.parallelstore.v1beta.DestinationParallelstore destination_parallelstore = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationParallelstore field is set.

hasSourceGcsBucket()

public boolean hasSourceGcsBucket()

Output only. Cloud Storage source.

.google.cloud.parallelstore.v1beta.SourceGcsBucket source_gcs_bucket = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sourceGcsBucket field is set.

hasSourceParallelstore()

public boolean hasSourceParallelstore()

Output only. Parallelstore source.

.google.cloud.parallelstore.v1beta.SourceParallelstore source_parallelstore = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sourceParallelstore field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public TransferOperationMetadata.Builder newBuilderForType()
Returns
Type Description
TransferOperationMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected TransferOperationMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
TransferOperationMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public TransferOperationMetadata.Builder toBuilder()
Returns
Type Description
TransferOperationMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException