Interface ReplicaConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ReplicaConfig,ReplicaConfig.Builder
@Generated
public interface ReplicaConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.TimestampOutput only.com.google.protobuf.TimestampOrBuilderOutput only.The peer instance.com.google.protobuf.ByteStringThe peer instance.getState()Output only.getStateReasons(int index) Output only.intOutput only.Output only.intgetStateReasonsValue(int index) Output only.Output only.intOutput only.booleanOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getStateValue
int getStateValue()Output only. The replica state.
.google.cloud.filestore.v1beta1.ReplicaConfig.State state = 1;- Returns:
- The enum numeric value on the wire for state.
-
getState
ReplicaConfig.State getState()Output only. The replica state.
.google.cloud.filestore.v1beta1.ReplicaConfig.State state = 1;- Returns:
- The state.
-
getStateReasonsList
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:
- A list containing the stateReasons.
-
getStateReasonsCount
int getStateReasonsCount()Output only. Additional information about the replication state, if available.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;- Returns:
- The count of stateReasons.
-
getStateReasons
Output only. Additional information about the replication state, if available.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;- Parameters:
index- The index of the element to return.- Returns:
- The stateReasons at the given index.
-
getStateReasonsValueList
Output only. Additional information about the replication state, if available.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;- Returns:
- A list containing the enum numeric values on the wire for stateReasons.
-
getStateReasonsValue
int getStateReasonsValue(int index) Output only. Additional information about the replication state, if available.
repeated .google.cloud.filestore.v1beta1.ReplicaConfig.StateReason state_reasons = 2;- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of stateReasons at the given index.
-
getPeerInstance
String getPeerInstance()The peer instance.
string peer_instance = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The peerInstance.
-
getPeerInstanceBytes
com.google.protobuf.ByteString getPeerInstanceBytes()The peer instance.
string peer_instance = 3 [(.google.api.resource_reference) = { ... }- Returns:
- The bytes for peerInstance.
-
hasLastActiveSyncTime
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:
- Whether the lastActiveSyncTime field is set.
-
getLastActiveSyncTime
com.google.protobuf.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:
- The lastActiveSyncTime.
-
getLastActiveSyncTimeOrBuilder
com.google.protobuf.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;
-