Class CloudDatabaseResponse

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.spanner.executor.v1.CloudDatabaseResponse
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, CloudDatabaseResponseOrBuilder, Serializable

public final class CloudDatabaseResponse extends com.google.protobuf.GeneratedMessageV3 implements CloudDatabaseResponseOrBuilder
 CloudDatabaseResponse contains results returned by cloud database related
 actions.
 
Protobuf type google.spanner.executor.v1.CloudDatabaseResponse
See Also:
  • Field Details

    • LISTED_DATABASES_FIELD_NUMBER

      public static final int LISTED_DATABASES_FIELD_NUMBER
      See Also:
    • LISTED_DATABASE_OPERATIONS_FIELD_NUMBER

      public static final int LISTED_DATABASE_OPERATIONS_FIELD_NUMBER
      See Also:
    • NEXT_PAGE_TOKEN_FIELD_NUMBER

      public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
      See Also:
    • DATABASE_FIELD_NUMBER

      public static final int DATABASE_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
    • getListedDatabasesList

      public List<Database> getListedDatabasesList()
       List of databases returned by ListCloudDatabasesAction.
       
      repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
      Specified by:
      getListedDatabasesList in interface CloudDatabaseResponseOrBuilder
    • getListedDatabasesOrBuilderList

      public List<? extends DatabaseOrBuilder> getListedDatabasesOrBuilderList()
       List of databases returned by ListCloudDatabasesAction.
       
      repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
      Specified by:
      getListedDatabasesOrBuilderList in interface CloudDatabaseResponseOrBuilder
    • getListedDatabasesCount

      public int getListedDatabasesCount()
       List of databases returned by ListCloudDatabasesAction.
       
      repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
      Specified by:
      getListedDatabasesCount in interface CloudDatabaseResponseOrBuilder
    • getListedDatabases

      public Database getListedDatabases(int index)
       List of databases returned by ListCloudDatabasesAction.
       
      repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
      Specified by:
      getListedDatabases in interface CloudDatabaseResponseOrBuilder
    • getListedDatabasesOrBuilder

      public DatabaseOrBuilder getListedDatabasesOrBuilder(int index)
       List of databases returned by ListCloudDatabasesAction.
       
      repeated .google.spanner.admin.database.v1.Database listed_databases = 1;
      Specified by:
      getListedDatabasesOrBuilder in interface CloudDatabaseResponseOrBuilder
    • getListedDatabaseOperationsList

      public List<com.google.longrunning.Operation> getListedDatabaseOperationsList()
       List of operations returned by ListCloudDatabaseOperationsAction.
       
      repeated .google.longrunning.Operation listed_database_operations = 2;
      Specified by:
      getListedDatabaseOperationsList in interface CloudDatabaseResponseOrBuilder
    • getListedDatabaseOperationsOrBuilderList

      public List<? extends com.google.longrunning.OperationOrBuilder> getListedDatabaseOperationsOrBuilderList()
       List of operations returned by ListCloudDatabaseOperationsAction.
       
      repeated .google.longrunning.Operation listed_database_operations = 2;
      Specified by:
      getListedDatabaseOperationsOrBuilderList in interface CloudDatabaseResponseOrBuilder
    • getListedDatabaseOperationsCount

      public int getListedDatabaseOperationsCount()
       List of operations returned by ListCloudDatabaseOperationsAction.
       
      repeated .google.longrunning.Operation listed_database_operations = 2;
      Specified by:
      getListedDatabaseOperationsCount in interface CloudDatabaseResponseOrBuilder
    • getListedDatabaseOperations

      public com.google.longrunning.Operation getListedDatabaseOperations(int index)
       List of operations returned by ListCloudDatabaseOperationsAction.
       
      repeated .google.longrunning.Operation listed_database_operations = 2;
      Specified by:
      getListedDatabaseOperations in interface CloudDatabaseResponseOrBuilder
    • getListedDatabaseOperationsOrBuilder

      public com.google.longrunning.OperationOrBuilder getListedDatabaseOperationsOrBuilder(int index)
       List of operations returned by ListCloudDatabaseOperationsAction.
       
      repeated .google.longrunning.Operation listed_database_operations = 2;
      Specified by:
      getListedDatabaseOperationsOrBuilder in interface CloudDatabaseResponseOrBuilder
    • getNextPageToken

      public String getNextPageToken()
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 3;
      Specified by:
      getNextPageToken in interface CloudDatabaseResponseOrBuilder
      Returns:
      The nextPageToken.
    • getNextPageTokenBytes

      public com.google.protobuf.ByteString getNextPageTokenBytes()
       "next_page_token" can be sent in a subsequent list action
       to fetch more of the matching data.
       
      string next_page_token = 3;
      Specified by:
      getNextPageTokenBytes in interface CloudDatabaseResponseOrBuilder
      Returns:
      The bytes for nextPageToken.
    • hasDatabase

      public boolean hasDatabase()
       Database returned by GetCloudDatabaseAction
       
      .google.spanner.admin.database.v1.Database database = 4;
      Specified by:
      hasDatabase in interface CloudDatabaseResponseOrBuilder
      Returns:
      Whether the database field is set.
    • getDatabase

      public Database getDatabase()
       Database returned by GetCloudDatabaseAction
       
      .google.spanner.admin.database.v1.Database database = 4;
      Specified by:
      getDatabase in interface CloudDatabaseResponseOrBuilder
      Returns:
      The database.
    • getDatabaseOrBuilder

      public DatabaseOrBuilder getDatabaseOrBuilder()
       Database returned by GetCloudDatabaseAction
       
      .google.spanner.admin.database.v1.Database database = 4;
      Specified by:
      getDatabaseOrBuilder in interface CloudDatabaseResponseOrBuilder
    • 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 CloudDatabaseResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static CloudDatabaseResponse.Builder newBuilder()
    • newBuilder

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

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

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

      public static CloudDatabaseResponse getDefaultInstance()
    • parser

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

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