Class AlterMetadataResourceLocationRequest.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<AlterMetadataResourceLocationRequest.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<AlterMetadataResourceLocationRequest.Builder>
      • getDefaultInstanceForType

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

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

        public AlterMetadataResourceLocationRequest 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<AlterMetadataResourceLocationRequest.Builder>
      • 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 AlterMetadataResourceLocationRequestOrBuilder
        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 AlterMetadataResourceLocationRequestOrBuilder
        Returns:
        The bytes for service.
      • setService

        public AlterMetadataResourceLocationRequest.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 AlterMetadataResourceLocationRequest.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 AlterMetadataResourceLocationRequest.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.
      • getResourceName

        public String getResourceName()
         Required. The relative metadata resource name in the following format.
        
         `databases/{database_id}`
         or
         `databases/{database_id}/tables/{table_id}`
         or
         `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
         
        string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceName in interface AlterMetadataResourceLocationRequestOrBuilder
        Returns:
        The resourceName.
      • getResourceNameBytes

        public com.google.protobuf.ByteString getResourceNameBytes()
         Required. The relative metadata resource name in the following format.
        
         `databases/{database_id}`
         or
         `databases/{database_id}/tables/{table_id}`
         or
         `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
         
        string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getResourceNameBytes in interface AlterMetadataResourceLocationRequestOrBuilder
        Returns:
        The bytes for resourceName.
      • setResourceName

        public AlterMetadataResourceLocationRequest.Builder setResourceName​(String value)
         Required. The relative metadata resource name in the following format.
        
         `databases/{database_id}`
         or
         `databases/{database_id}/tables/{table_id}`
         or
         `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
         
        string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The resourceName to set.
        Returns:
        This builder for chaining.
      • clearResourceName

        public AlterMetadataResourceLocationRequest.Builder clearResourceName()
         Required. The relative metadata resource name in the following format.
        
         `databases/{database_id}`
         or
         `databases/{database_id}/tables/{table_id}`
         or
         `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
         
        string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setResourceNameBytes

        public AlterMetadataResourceLocationRequest.Builder setResourceNameBytes​(com.google.protobuf.ByteString value)
         Required. The relative metadata resource name in the following format.
        
         `databases/{database_id}`
         or
         `databases/{database_id}/tables/{table_id}`
         or
         `databases/{database_id}/tables/{table_id}/partitions/{partition_id}`
         
        string resource_name = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for resourceName to set.
        Returns:
        This builder for chaining.
      • getLocationUriBytes

        public com.google.protobuf.ByteString getLocationUriBytes()
         Required. The new location URI for the metadata resource.
         
        string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getLocationUriBytes in interface AlterMetadataResourceLocationRequestOrBuilder
        Returns:
        The bytes for locationUri.
      • setLocationUri

        public AlterMetadataResourceLocationRequest.Builder setLocationUri​(String value)
         Required. The new location URI for the metadata resource.
         
        string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The locationUri to set.
        Returns:
        This builder for chaining.
      • clearLocationUri

        public AlterMetadataResourceLocationRequest.Builder clearLocationUri()
         Required. The new location URI for the metadata resource.
         
        string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setLocationUriBytes

        public AlterMetadataResourceLocationRequest.Builder setLocationUriBytes​(com.google.protobuf.ByteString value)
         Required. The new location URI for the metadata resource.
         
        string location_uri = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for locationUri to set.
        Returns:
        This builder for chaining.