Class MoveTableToDatabaseRequest.Builder

    • Method Detail

      • 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.Builder<MoveTableToDatabaseRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MoveTableToDatabaseRequest.Builder>
      • getDefaultInstanceForType

        public MoveTableToDatabaseRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public MoveTableToDatabaseRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public MoveTableToDatabaseRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MoveTableToDatabaseRequest.Builder>
      • mergeFrom

        public MoveTableToDatabaseRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                            com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                     throws IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MoveTableToDatabaseRequest.Builder>
        Throws:
        IOException
      • getService

        public String getService()
         Required. The relative resource name of the metastore service to mutate
         metadata, in the following format:
        
         `projects/{project_id}/locations/{location_id}/services/{service_id}`.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getService in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The service.
      • getServiceBytes

        public com.google.protobuf.ByteString getServiceBytes()
         Required. The relative resource name of the metastore service to mutate
         metadata, in the following format:
        
         `projects/{project_id}/locations/{location_id}/services/{service_id}`.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getServiceBytes in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The bytes for service.
      • setService

        public MoveTableToDatabaseRequest.Builder setService​(String value)
         Required. The relative resource name of the metastore service to mutate
         metadata, in the following format:
        
         `projects/{project_id}/locations/{location_id}/services/{service_id}`.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The service to set.
        Returns:
        This builder for chaining.
      • clearService

        public MoveTableToDatabaseRequest.Builder clearService()
         Required. The relative resource name of the metastore service to mutate
         metadata, in the following format:
        
         `projects/{project_id}/locations/{location_id}/services/{service_id}`.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setServiceBytes

        public MoveTableToDatabaseRequest.Builder setServiceBytes​(com.google.protobuf.ByteString value)
         Required. The relative resource name of the metastore service to mutate
         metadata, in the following format:
        
         `projects/{project_id}/locations/{location_id}/services/{service_id}`.
         
        string service = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for service to set.
        Returns:
        This builder for chaining.
      • getTableNameBytes

        public com.google.protobuf.ByteString getTableNameBytes()
         Required. The name of the table to be moved.
         
        string table_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getTableNameBytes in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The bytes for tableName.
      • setTableName

        public MoveTableToDatabaseRequest.Builder setTableName​(String value)
         Required. The name of the table to be moved.
         
        string table_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The tableName to set.
        Returns:
        This builder for chaining.
      • clearTableName

        public MoveTableToDatabaseRequest.Builder clearTableName()
         Required. The name of the table to be moved.
         
        string table_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setTableNameBytes

        public MoveTableToDatabaseRequest.Builder setTableNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the table to be moved.
         
        string table_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for tableName to set.
        Returns:
        This builder for chaining.
      • getDbName

        public String getDbName()
         Required. The name of the database where the table resides.
         
        string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDbName in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The dbName.
      • getDbNameBytes

        public com.google.protobuf.ByteString getDbNameBytes()
         Required. The name of the database where the table resides.
         
        string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDbNameBytes in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The bytes for dbName.
      • setDbName

        public MoveTableToDatabaseRequest.Builder setDbName​(String value)
         Required. The name of the database where the table resides.
         
        string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dbName to set.
        Returns:
        This builder for chaining.
      • clearDbName

        public MoveTableToDatabaseRequest.Builder clearDbName()
         Required. The name of the database where the table resides.
         
        string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDbNameBytes

        public MoveTableToDatabaseRequest.Builder setDbNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the database where the table resides.
         
        string db_name = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dbName to set.
        Returns:
        This builder for chaining.
      • getDestinationDbName

        public String getDestinationDbName()
         Required. The name of the database where the table should be moved.
         
        string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDestinationDbName in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The destinationDbName.
      • getDestinationDbNameBytes

        public com.google.protobuf.ByteString getDestinationDbNameBytes()
         Required. The name of the database where the table should be moved.
         
        string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDestinationDbNameBytes in interface MoveTableToDatabaseRequestOrBuilder
        Returns:
        The bytes for destinationDbName.
      • setDestinationDbName

        public MoveTableToDatabaseRequest.Builder setDestinationDbName​(String value)
         Required. The name of the database where the table should be moved.
         
        string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The destinationDbName to set.
        Returns:
        This builder for chaining.
      • clearDestinationDbName

        public MoveTableToDatabaseRequest.Builder clearDestinationDbName()
         Required. The name of the database where the table should be moved.
         
        string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDestinationDbNameBytes

        public MoveTableToDatabaseRequest.Builder setDestinationDbNameBytes​(com.google.protobuf.ByteString value)
         Required. The name of the database where the table should be moved.
         
        string destination_db_name = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for destinationDbName to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final MoveTableToDatabaseRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MoveTableToDatabaseRequest.Builder>
      • mergeUnknownFields

        public final MoveTableToDatabaseRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MoveTableToDatabaseRequest.Builder>