Interface ReplicaConfigOrBuilder (1.61.0)

public interface ReplicaConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLastActiveSyncTime()

public abstract Timestamp getLastActiveSyncTime()

Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.

.google.protobuf.Timestamp last_active_sync_time = 10;

Returns
Type Description
Timestamp

The lastActiveSyncTime.

getLastActiveSyncTimeOrBuilder()

public abstract TimestampOrBuilder getLastActiveSyncTimeOrBuilder()

Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.

.google.protobuf.Timestamp last_active_sync_time = 10;

Returns
Type Description
TimestampOrBuilder

getPeerInstance()

public abstract String getPeerInstance()

The peer instance.

string peer_instance = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The peerInstance.

getPeerInstanceBytes()

public abstract ByteString getPeerInstanceBytes()

The peer instance.

string peer_instance = 3 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for peerInstance.

getState()

public abstract ReplicaConfig.State getState()

Output only. The replica state.

.google.cloud.filestore.v1beta1.ReplicaConfig.State state = 1;

Returns
Type Description
ReplicaConfig.State

The state.

getStateReasons(int index)

public abstract ReplicaConfig.StateReason getStateReasons(int index)

Output only. Additional information about the replication state, if available.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
ReplicaConfig.StateReason

The stateReasons at the given index.

getStateReasonsCount()

public abstract int getStateReasonsCount()

Output only. Additional information about the replication state, if available.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;

Returns
Type Description
int

The count of stateReasons.

getStateReasonsList()

public abstract List<ReplicaConfig.StateReason> getStateReasonsList()

Output only. Additional information about the replication state, if available.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;

Returns
Type Description
List<StateReason>

A list containing the stateReasons.

getStateReasonsValue(int index)

public abstract int getStateReasonsValue(int index)

Output only. Additional information about the replication state, if available.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of stateReasons at the given index.

getStateReasonsValueList()

public abstract List<Integer> getStateReasonsValueList()

Output only. Additional information about the replication state, if available.

repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for stateReasons.

getStateValue()

public abstract int getStateValue()

Output only. The replica state.

.google.cloud.filestore.v1beta1.ReplicaConfig.State state = 1;

Returns
Type Description
int

The enum numeric value on the wire for state.

hasLastActiveSyncTime()

public abstract boolean hasLastActiveSyncTime()

Output only. The timestamp of the latest replication snapshot taken on the active instance and is already replicated safely.

.google.protobuf.Timestamp last_active_sync_time = 10;

Returns
Type Description
boolean

Whether the lastActiveSyncTime field is set.