Class TransferOperationMetadata (0.2.0)

public final class TransferOperationMetadata extends GeneratedMessageV3 implements TransferOperationMetadataOrBuilder

Represents the metadata of the long-running transfer operation.

Protobuf type google.cloud.lustre.v1.TransferOperationMetadata

Static Fields

COUNTERS_FIELD_NUMBER

public static final int COUNTERS_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_GCS_PATH_FIELD_NUMBER

public static final int DESTINATION_GCS_PATH_FIELD_NUMBER
Field Value
Type Description
int

DESTINATION_LUSTRE_PATH_FIELD_NUMBER

public static final int DESTINATION_LUSTRE_PATH_FIELD_NUMBER
Field Value
Type Description
int

ERROR_SUMMARIES_FIELD_NUMBER

public static final int ERROR_SUMMARIES_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_GCS_PATH_FIELD_NUMBER

public static final int SOURCE_GCS_PATH_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_LUSTRE_PATH_FIELD_NUMBER

public static final int SOURCE_LUSTRE_PATH_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. The progress of the transfer operation.

.google.cloud.lustre.v1.TransferCounters counters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TransferCounters

The counters.

getCountersOrBuilder()

public TransferCountersOrBuilder getCountersOrBuilder()

Output only. The progress of the transfer operation.

.google.cloud.lustre.v1.TransferCounters counters = 1 [(.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

getDestinationGcsPath()

public GcsPath getDestinationGcsPath()

Output only. Cloud Storage destination.

.google.cloud.lustre.v1.GcsPath destination_gcs_path = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsPath

The destinationGcsPath.

getDestinationGcsPathOrBuilder()

public GcsPathOrBuilder getDestinationGcsPathOrBuilder()

Output only. Cloud Storage destination.

.google.cloud.lustre.v1.GcsPath destination_gcs_path = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsPathOrBuilder

getDestinationLustrePath()

public LustrePath getDestinationLustrePath()

Output only. Lustre destination.

.google.cloud.lustre.v1.LustrePath destination_lustre_path = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LustrePath

The destinationLustrePath.

getDestinationLustrePathOrBuilder()

public LustrePathOrBuilder getDestinationLustrePathOrBuilder()

Output only. Lustre destination.

.google.cloud.lustre.v1.LustrePath destination_lustre_path = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LustrePathOrBuilder

getErrorSummaries(int index)

public ErrorSummary getErrorSummaries(int index)

Output only. Error summary about the transfer operation

repeated .google.cloud.lustre.v1.ErrorSummary error_summaries = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ErrorSummary

getErrorSummariesCount()

public int getErrorSummariesCount()

Output only. Error summary about the transfer operation

repeated .google.cloud.lustre.v1.ErrorSummary error_summaries = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getErrorSummariesList()

public List<ErrorSummary> getErrorSummariesList()

Output only. Error summary about the transfer operation

repeated .google.cloud.lustre.v1.ErrorSummary error_summaries = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<ErrorSummary>

getErrorSummariesOrBuilder(int index)

public ErrorSummaryOrBuilder getErrorSummariesOrBuilder(int index)

Output only. Error summary about the transfer operation

repeated .google.cloud.lustre.v1.ErrorSummary error_summaries = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
ErrorSummaryOrBuilder

getErrorSummariesOrBuilderList()

public List<? extends ErrorSummaryOrBuilder> getErrorSummariesOrBuilderList()

Output only. Error summary about the transfer operation

repeated .google.cloud.lustre.v1.ErrorSummary error_summaries = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.lustre.v1.ErrorSummaryOrBuilder>

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

getSourceGcsPath()

public GcsPath getSourceGcsPath()

Output only. Cloud Storage source.

.google.cloud.lustre.v1.GcsPath source_gcs_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsPath

The sourceGcsPath.

getSourceGcsPathOrBuilder()

public GcsPathOrBuilder getSourceGcsPathOrBuilder()

Output only. Cloud Storage source.

.google.cloud.lustre.v1.GcsPath source_gcs_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
GcsPathOrBuilder

getSourceLustrePath()

public LustrePath getSourceLustrePath()

Output only. Lustre source.

.google.cloud.lustre.v1.LustrePath source_lustre_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LustrePath

The sourceLustrePath.

getSourceLustrePathOrBuilder()

public LustrePathOrBuilder getSourceLustrePathOrBuilder()

Output only. Lustre source.

.google.cloud.lustre.v1.LustrePath source_lustre_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
LustrePathOrBuilder

getTransferType()

public TransferType getTransferType()

Output only. The type of transfer occurring.

.google.cloud.lustre.v1.TransferType transfer_type = 2 [(.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.lustre.v1.TransferType transfer_type = 2 [(.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. The progress of the transfer operation.

.google.cloud.lustre.v1.TransferCounters counters = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the counters field is set.

hasDestinationGcsPath()

public boolean hasDestinationGcsPath()

Output only. Cloud Storage destination.

.google.cloud.lustre.v1.GcsPath destination_gcs_path = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationGcsPath field is set.

hasDestinationLustrePath()

public boolean hasDestinationLustrePath()

Output only. Lustre destination.

.google.cloud.lustre.v1.LustrePath destination_lustre_path = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the destinationLustrePath field is set.

hasSourceGcsPath()

public boolean hasSourceGcsPath()

Output only. Cloud Storage source.

.google.cloud.lustre.v1.GcsPath source_gcs_path = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the sourceGcsPath field is set.

hasSourceLustrePath()

public boolean hasSourceLustrePath()

Output only. Lustre source.

.google.cloud.lustre.v1.LustrePath source_lustre_path = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

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