Class TransferOperationMetadata (0.6.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

CREATE_TIME_FIELD_NUMBER

public static final int CREATE_TIME_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_FIELD_NUMBER

public static final int SOURCE_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()

Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3;

Returns
Type Description
TransferCounters

The counters.

getCountersOrBuilder()

public TransferCountersOrBuilder getCountersOrBuilder()

Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3;

Returns
Type Description
TransferCountersOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. CCFE supplied fields BEGIN The time the operation was created.

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

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. CCFE supplied fields BEGIN The time the operation was created.

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public TransferOperationMetadata getDefaultInstanceForType()
Returns
Type Description
TransferOperationMetadata

getDestination()

public String getDestination()

Required. The destination of the data transfer.

string destination = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

Required. The destination of the data transfer.

string destination = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for destination.

getEndTime()

public Timestamp getEndTime()

Output only. The time the operation finished running.

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

Returns
Type Description
Timestamp

The endTime.

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. The time the operation finished running.

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

Returns
Type Description
TimestampOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSource()

public String getSource()

Required. The origin of the data transfer.

string source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The source.

getSourceBytes()

public ByteString getSourceBytes()

Required. The origin of the data transfer.

string source = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for source.

getTransferType()

public TransferType getTransferType()

The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6;

Returns
Type Description
TransferType

The transferType.

getTransferTypeValue()

public int getTransferTypeValue()

The type of transfer occurring.

.google.cloud.parallelstore.v1beta.TransferType transfer_type = 6;

Returns
Type Description
int

The enum numeric value on the wire for transferType.

hasCounters()

public boolean hasCounters()

Information about the progress of the transfer operation.

.google.cloud.parallelstore.v1beta.TransferCounters counters = 3;

Returns
Type Description
boolean

Whether the counters field is set.

hasCreateTime()

public boolean hasCreateTime()

Output only. CCFE supplied fields BEGIN The time the operation was created.

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

Returns
Type Description
boolean

Whether the createTime field is set.

hasEndTime()

public boolean hasEndTime()

Output only. The time the operation finished running.

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

Returns
Type Description
boolean

Whether the endTime 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