Class Coordinator.GetGCSafePointRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.dingodb.coordinator.Coordinator.GetGCSafePointRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Coordinator.GetGCSafePointRequestOrBuilder, Serializable
Enclosing class:
Coordinator

public static final class Coordinator.GetGCSafePointRequest extends com.google.protobuf.GeneratedMessageV3 implements Coordinator.GetGCSafePointRequestOrBuilder
Protobuf type dingodb.pb.coordinator.GetGCSafePointRequest
See Also:
  • Field Details

    • REQUEST_INFO_FIELD_NUMBER

      public static final int REQUEST_INFO_FIELD_NUMBER
      See Also:
    • TENANT_IDS_FIELD_NUMBER

      public static final int TENANT_IDS_FIELD_NUMBER
      See Also:
    • GET_ALL_TENANT_FIELD_NUMBER

      public static final int GET_ALL_TENANT_FIELD_NUMBER
      See Also:
    • TENANT_RESOLVE_LOCK_IDS_FIELD_NUMBER

      public static final int TENANT_RESOLVE_LOCK_IDS_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • hasRequestInfo

      public boolean hasRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      hasRequestInfo in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      Whether the requestInfo field is set.
    • getRequestInfo

      public Common.RequestInfo getRequestInfo()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfo in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      The requestInfo.
    • getRequestInfoOrBuilder

      public Common.RequestInfoOrBuilder getRequestInfoOrBuilder()
      .dingodb.pb.common.RequestInfo request_info = 1;
      Specified by:
      getRequestInfoOrBuilder in interface Coordinator.GetGCSafePointRequestOrBuilder
    • getTenantIdsList

      public List<Long> getTenantIdsList()
       if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant
       else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
       
      repeated int64 tenant_ids = 2;
      Specified by:
      getTenantIdsList in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      A list containing the tenantIds.
    • getTenantIdsCount

      public int getTenantIdsCount()
       if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant
       else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
       
      repeated int64 tenant_ids = 2;
      Specified by:
      getTenantIdsCount in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      The count of tenantIds.
    • getTenantIds

      public long getTenantIds(int index)
       if tenant_ids is empty, the coordinator will only return the safe_point_ts for default tenant
       else, the coordinator will return the safe_point_ts for all tenant in tenant_ids, including default tenant
       
      repeated int64 tenant_ids = 2;
      Specified by:
      getTenantIds in interface Coordinator.GetGCSafePointRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tenantIds at the given index.
    • getGetAllTenant

      public boolean getGetAllTenant()
       if this is true, coordinator will return all tenant's safe point
       
      bool get_all_tenant = 3;
      Specified by:
      getGetAllTenant in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      The getAllTenant.
    • getTenantResolveLockIdsList

      public List<Long> getTenantResolveLockIdsList()
      repeated int64 tenant_resolve_lock_ids = 4;
      Specified by:
      getTenantResolveLockIdsList in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      A list containing the tenantResolveLockIds.
    • getTenantResolveLockIdsCount

      public int getTenantResolveLockIdsCount()
      repeated int64 tenant_resolve_lock_ids = 4;
      Specified by:
      getTenantResolveLockIdsCount in interface Coordinator.GetGCSafePointRequestOrBuilder
      Returns:
      The count of tenantResolveLockIds.
    • getTenantResolveLockIds

      public long getTenantResolveLockIds(int index)
      repeated int64 tenant_resolve_lock_ids = 4;
      Specified by:
      getTenantResolveLockIds in interface Coordinator.GetGCSafePointRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The tenantResolveLockIds at the given index.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coordinator.GetGCSafePointRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Coordinator.GetGCSafePointRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Coordinator.GetGCSafePointRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Coordinator.GetGCSafePointRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Coordinator.GetGCSafePointRequest.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Coordinator.GetGCSafePointRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Coordinator.GetGCSafePointRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Coordinator.GetGCSafePointRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<Coordinator.GetGCSafePointRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public Coordinator.GetGCSafePointRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder