Interface ReplicaOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Replica, Replica.Builder

@Generated(value="protoc", comments="annotations:ReplicaOrBuilder.java.pb.meta") public interface ReplicaOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    The id of the replica.
    com.google.protobuf.ByteString
    The id of the replica.
    boolean
    Whether this replica is currently the primary one.
    The cloud provider and region of this replica.
    com.google.protobuf.ByteString
    The cloud provider and region of this replica.
    The current state of this replica.
    int
    The current state of this replica.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getId

      String getId()
       The id of the replica. This is generated by Temporal after a replica is created.
       
      string id = 1;
      Returns:
      The id.
    • getIdBytes

      com.google.protobuf.ByteString getIdBytes()
       The id of the replica. This is generated by Temporal after a replica is created.
       
      string id = 1;
      Returns:
      The bytes for id.
    • getIsPrimary

      boolean getIsPrimary()
       Whether this replica is currently the primary one.
       
      bool is_primary = 2;
      Returns:
      The isPrimary.
    • getStateValue

      int getStateValue()
       The current state of this replica.
       
      .temporal.api.cloud.namespace.v1.Replica.ReplicaState state = 3;
      Returns:
      The enum numeric value on the wire for state.
    • getState

       The current state of this replica.
       
      .temporal.api.cloud.namespace.v1.Replica.ReplicaState state = 3;
      Returns:
      The state.
    • getRegion

      String getRegion()
       The cloud provider and region of this replica.
       
      string region = 4;
      Returns:
      The region.
    • getRegionBytes

      com.google.protobuf.ByteString getRegionBytes()
       The cloud provider and region of this replica.
       
      string region = 4;
      Returns:
      The bytes for region.