Class TransferStats.Builder (0.33.0)

public static final class TransferStats.Builder extends GeneratedMessageV3.Builder<TransferStats.Builder> implements TransferStatsOrBuilder

TransferStats reports all statistics related to replication transfer.

Protobuf type google.cloud.netapp.v1.TransferStats

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public TransferStats.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferStats.Builder
Overrides

build()

public TransferStats build()
Returns
Type Description
TransferStats

buildPartial()

public TransferStats buildPartial()
Returns
Type Description
TransferStats

clear()

public TransferStats.Builder clear()
Returns
Type Description
TransferStats.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public TransferStats.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
TransferStats.Builder
Overrides

clearLagDuration()

public TransferStats.Builder clearLagDuration()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
Type Description
TransferStats.Builder

clearLastTransferBytes()

public TransferStats.Builder clearLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
Type Description
TransferStats.Builder

This builder for chaining.

clearLastTransferDuration()

public TransferStats.Builder clearLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
TransferStats.Builder

clearLastTransferEndTime()

public TransferStats.Builder clearLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
TransferStats.Builder

clearLastTransferError()

public TransferStats.Builder clearLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
TransferStats.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public TransferStats.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
TransferStats.Builder
Overrides

clearTotalTransferDuration()

public TransferStats.Builder clearTotalTransferDuration()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
TransferStats.Builder

clearTransferBytes()

public TransferStats.Builder clearTransferBytes()

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Returns
Type Description
TransferStats.Builder

This builder for chaining.

clearUpdateTime()

public TransferStats.Builder clearUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
TransferStats.Builder

clone()

public TransferStats.Builder clone()
Returns
Type Description
TransferStats.Builder
Overrides

getDefaultInstanceForType()

public TransferStats getDefaultInstanceForType()
Returns
Type Description
TransferStats

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getLagDuration()

public Duration getLagDuration()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
Type Description
Duration

The lagDuration.

getLagDurationBuilder()

public Duration.Builder getLagDurationBuilder()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
Type Description
Builder

getLagDurationOrBuilder()

public DurationOrBuilder getLagDurationOrBuilder()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
Type Description
DurationOrBuilder

getLastTransferBytes()

public long getLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
Type Description
long

The lastTransferBytes.

getLastTransferDuration()

public Duration getLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
Duration

The lastTransferDuration.

getLastTransferDurationBuilder()

public Duration.Builder getLastTransferDurationBuilder()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
Builder

getLastTransferDurationOrBuilder()

public DurationOrBuilder getLastTransferDurationOrBuilder()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
DurationOrBuilder

getLastTransferEndTime()

public Timestamp getLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
Timestamp

The lastTransferEndTime.

getLastTransferEndTimeBuilder()

public Timestamp.Builder getLastTransferEndTimeBuilder()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
Builder

getLastTransferEndTimeOrBuilder()

public TimestampOrBuilder getLastTransferEndTimeOrBuilder()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
TimestampOrBuilder

getLastTransferError()

public String getLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
String

The lastTransferError.

getLastTransferErrorBytes()

public ByteString getLastTransferErrorBytes()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
ByteString

The bytes for lastTransferError.

getTotalTransferDuration()

public Duration getTotalTransferDuration()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
Duration

The totalTransferDuration.

getTotalTransferDurationBuilder()

public Duration.Builder getTotalTransferDurationBuilder()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
Builder

getTotalTransferDurationOrBuilder()

public DurationOrBuilder getTotalTransferDurationOrBuilder()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
DurationOrBuilder

getTransferBytes()

public long getTransferBytes()

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Returns
Type Description
long

The transferBytes.

getUpdateTime()

public Timestamp getUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Timestamp

The updateTime.

getUpdateTimeBuilder()

public Timestamp.Builder getUpdateTimeBuilder()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
TimestampOrBuilder

hasLagDuration()

public boolean hasLagDuration()

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Returns
Type Description
boolean

Whether the lagDuration field is set.

hasLastTransferBytes()

public boolean hasLastTransferBytes()

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Returns
Type Description
boolean

Whether the lastTransferBytes field is set.

hasLastTransferDuration()

public boolean hasLastTransferDuration()

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Returns
Type Description
boolean

Whether the lastTransferDuration field is set.

hasLastTransferEndTime()

public boolean hasLastTransferEndTime()

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Returns
Type Description
boolean

Whether the lastTransferEndTime field is set.

hasLastTransferError()

public boolean hasLastTransferError()

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Returns
Type Description
boolean

Whether the lastTransferError field is set.

hasTotalTransferDuration()

public boolean hasTotalTransferDuration()

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Returns
Type Description
boolean

Whether the totalTransferDuration field is set.

hasTransferBytes()

public boolean hasTransferBytes()

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Returns
Type Description
boolean

Whether the transferBytes field is set.

hasUpdateTime()

public boolean hasUpdateTime()

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Returns
Type Description
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(TransferStats other)

public TransferStats.Builder mergeFrom(TransferStats other)
Parameter
Name Description
other TransferStats
Returns
Type Description
TransferStats.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public TransferStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
TransferStats.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public TransferStats.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
TransferStats.Builder
Overrides

mergeLagDuration(Duration value)

public TransferStats.Builder mergeLagDuration(Duration value)

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

mergeLastTransferDuration(Duration value)

public TransferStats.Builder mergeLastTransferDuration(Duration value)

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

mergeLastTransferEndTime(Timestamp value)

public TransferStats.Builder mergeLastTransferEndTime(Timestamp value)

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
TransferStats.Builder

mergeTotalTransferDuration(Duration value)

public TransferStats.Builder mergeTotalTransferDuration(Duration value)

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final TransferStats.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferStats.Builder
Overrides

mergeUpdateTime(Timestamp value)

public TransferStats.Builder mergeUpdateTime(Timestamp value)

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
TransferStats.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public TransferStats.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
TransferStats.Builder
Overrides

setLagDuration(Duration value)

public TransferStats.Builder setLagDuration(Duration value)

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

setLagDuration(Duration.Builder builderForValue)

public TransferStats.Builder setLagDuration(Duration.Builder builderForValue)

Lag duration indicates the duration by which Destination region volume content lags behind the primary region volume content.

optional .google.protobuf.Duration lag_duration = 5;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferStats.Builder

setLastTransferBytes(long value)

public TransferStats.Builder setLastTransferBytes(long value)

Last transfer size in bytes.

optional int64 last_transfer_bytes = 3;

Parameter
Name Description
value long

The lastTransferBytes to set.

Returns
Type Description
TransferStats.Builder

This builder for chaining.

setLastTransferDuration(Duration value)

public TransferStats.Builder setLastTransferDuration(Duration value)

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

setLastTransferDuration(Duration.Builder builderForValue)

public TransferStats.Builder setLastTransferDuration(Duration.Builder builderForValue)

Time taken during last transfer.

optional .google.protobuf.Duration last_transfer_duration = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferStats.Builder

setLastTransferEndTime(Timestamp value)

public TransferStats.Builder setLastTransferEndTime(Timestamp value)

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Parameter
Name Description
value Timestamp
Returns
Type Description
TransferStats.Builder

setLastTransferEndTime(Timestamp.Builder builderForValue)

public TransferStats.Builder setLastTransferEndTime(Timestamp.Builder builderForValue)

Time when last transfer completed.

optional .google.protobuf.Timestamp last_transfer_end_time = 7;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferStats.Builder

setLastTransferError(String value)

public TransferStats.Builder setLastTransferError(String value)

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Parameter
Name Description
value String

The lastTransferError to set.

Returns
Type Description
TransferStats.Builder

This builder for chaining.

setLastTransferErrorBytes(ByteString value)

public TransferStats.Builder setLastTransferErrorBytes(ByteString value)

A message describing the cause of the last transfer failure.

optional string last_transfer_error = 8;

Parameter
Name Description
value ByteString

The bytes for lastTransferError to set.

Returns
Type Description
TransferStats.Builder

This builder for chaining.

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

public TransferStats.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
TransferStats.Builder
Overrides

setTotalTransferDuration(Duration value)

public TransferStats.Builder setTotalTransferDuration(Duration value)

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Parameter
Name Description
value Duration
Returns
Type Description
TransferStats.Builder

setTotalTransferDuration(Duration.Builder builderForValue)

public TransferStats.Builder setTotalTransferDuration(Duration.Builder builderForValue)

Cumulative time taken across all transfers for the replication relationship.

optional .google.protobuf.Duration total_transfer_duration = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferStats.Builder

setTransferBytes(long value)

public TransferStats.Builder setTransferBytes(long value)

Cumulative bytes trasferred so far for the replication relatinonship.

optional int64 transfer_bytes = 1;

Parameter
Name Description
value long

The transferBytes to set.

Returns
Type Description
TransferStats.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final TransferStats.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
TransferStats.Builder
Overrides

setUpdateTime(Timestamp value)

public TransferStats.Builder setUpdateTime(Timestamp value)

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
value Timestamp
Returns
Type Description
TransferStats.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public TransferStats.Builder setUpdateTime(Timestamp.Builder builderForValue)

Time when progress was updated last.

optional .google.protobuf.Timestamp update_time = 6;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
TransferStats.Builder