Class AddSplitPointsRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.admin.database.v1.AddSplitPointsRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AddSplitPointsRequestOrBuilder, Serializable

public final class AddSplitPointsRequest extends com.google.protobuf.GeneratedMessageV3 implements AddSplitPointsRequestOrBuilder
 The request for
 [AddSplitPoints][google.spanner.admin.database.v1.DatabaseAdmin.AddSplitPoints].
 
Protobuf type google.spanner.admin.database.v1.AddSplitPointsRequest
See Also:
  • Field Details

    • DATABASE_FIELD_NUMBER

      public static final int DATABASE_FIELD_NUMBER
      See Also:
    • SPLIT_POINTS_FIELD_NUMBER

      public static final int SPLIT_POINTS_FIELD_NUMBER
      See Also:
    • INITIATOR_FIELD_NUMBER

      public static final int INITIATOR_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
    • getDatabase

      public String getDatabase()
       Required. The database on whose tables/indexes split points are to be
       added. Values are of the form
       `projects/<project>/instances/<instance>/databases/<database>`.
       
      string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDatabase in interface AddSplitPointsRequestOrBuilder
      Returns:
      The database.
    • getDatabaseBytes

      public com.google.protobuf.ByteString getDatabaseBytes()
       Required. The database on whose tables/indexes split points are to be
       added. Values are of the form
       `projects/<project>/instances/<instance>/databases/<database>`.
       
      string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
      Specified by:
      getDatabaseBytes in interface AddSplitPointsRequestOrBuilder
      Returns:
      The bytes for database.
    • getSplitPointsList

      public List<SplitPoints> getSplitPointsList()
       Required. The split points to add.
       
      repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSplitPointsList in interface AddSplitPointsRequestOrBuilder
    • getSplitPointsOrBuilderList

      public List<? extends SplitPointsOrBuilder> getSplitPointsOrBuilderList()
       Required. The split points to add.
       
      repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSplitPointsOrBuilderList in interface AddSplitPointsRequestOrBuilder
    • getSplitPointsCount

      public int getSplitPointsCount()
       Required. The split points to add.
       
      repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSplitPointsCount in interface AddSplitPointsRequestOrBuilder
    • getSplitPoints

      public SplitPoints getSplitPoints(int index)
       Required. The split points to add.
       
      repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSplitPoints in interface AddSplitPointsRequestOrBuilder
    • getSplitPointsOrBuilder

      public SplitPointsOrBuilder getSplitPointsOrBuilder(int index)
       Required. The split points to add.
       
      repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
      Specified by:
      getSplitPointsOrBuilder in interface AddSplitPointsRequestOrBuilder
    • getInitiator

      public String getInitiator()
       Optional. A user-supplied tag associated with the split points.
       For example, "intital_data_load", "special_event_1".
       Defaults to "CloudAddSplitPointsAPI" if not specified.
       The length of the tag must not exceed 50 characters,else will be trimmed.
       Only valid UTF8 characters are allowed.
       
      string initiator = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInitiator in interface AddSplitPointsRequestOrBuilder
      Returns:
      The initiator.
    • getInitiatorBytes

      public com.google.protobuf.ByteString getInitiatorBytes()
       Optional. A user-supplied tag associated with the split points.
       For example, "intital_data_load", "special_event_1".
       Defaults to "CloudAddSplitPointsAPI" if not specified.
       The length of the tag must not exceed 50 characters,else will be trimmed.
       Only valid UTF8 characters are allowed.
       
      string initiator = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getInitiatorBytes in interface AddSplitPointsRequestOrBuilder
      Returns:
      The bytes for initiator.
    • 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 AddSplitPointsRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static AddSplitPointsRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AddSplitPointsRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static AddSplitPointsRequest.Builder newBuilder()
    • newBuilder

      public static AddSplitPointsRequest.Builder newBuilder(AddSplitPointsRequest prototype)
    • toBuilder

      public AddSplitPointsRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static AddSplitPointsRequest getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AddSplitPointsRequest> 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 AddSplitPointsRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder