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

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

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

        public CreateDataAttributeRequest 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<CreateDataAttributeRequest.Builder>
      • mergeFrom

        public CreateDataAttributeRequest.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<CreateDataAttributeRequest.Builder>
        Throws:
        IOException
      • getParent

        public String getParent()
         Required. The resource name of the parent data taxonomy
         projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateDataAttributeRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the parent data taxonomy
         projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateDataAttributeRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateDataAttributeRequest.Builder setParent​(String value)
         Required. The resource name of the parent data taxonomy
         projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The parent to set.
        Returns:
        This builder for chaining.
      • clearParent

        public CreateDataAttributeRequest.Builder clearParent()
         Required. The resource name of the parent data taxonomy
         projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateDataAttributeRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the parent data taxonomy
         projects/{project_number}/locations/{location_id}/dataTaxonomies/{data_taxonomy_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Parameters:
        value - The bytes for parent to set.
        Returns:
        This builder for chaining.
      • getDataAttributeId

        public String getDataAttributeId()
         Required. DataAttribute identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the DataTaxonomy.
         
        string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDataAttributeId in interface CreateDataAttributeRequestOrBuilder
        Returns:
        The dataAttributeId.
      • getDataAttributeIdBytes

        public com.google.protobuf.ByteString getDataAttributeIdBytes()
         Required. DataAttribute identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the DataTaxonomy.
         
        string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDataAttributeIdBytes in interface CreateDataAttributeRequestOrBuilder
        Returns:
        The bytes for dataAttributeId.
      • setDataAttributeId

        public CreateDataAttributeRequest.Builder setDataAttributeId​(String value)
         Required. DataAttribute identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the DataTaxonomy.
         
        string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dataAttributeId to set.
        Returns:
        This builder for chaining.
      • clearDataAttributeId

        public CreateDataAttributeRequest.Builder clearDataAttributeId()
         Required. DataAttribute identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the DataTaxonomy.
         
        string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDataAttributeIdBytes

        public CreateDataAttributeRequest.Builder setDataAttributeIdBytes​(com.google.protobuf.ByteString value)
         Required. DataAttribute identifier.
         * Must contain only lowercase letters, numbers and hyphens.
         * Must start with a letter.
         * Must be between 1-63 characters.
         * Must end with a number or a letter.
         * Must be unique within the DataTaxonomy.
         
        string data_attribute_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dataAttributeId to set.
        Returns:
        This builder for chaining.
      • hasDataAttribute

        public boolean hasDataAttribute()
         Required. DataAttribute resource.
         
        .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasDataAttribute in interface CreateDataAttributeRequestOrBuilder
        Returns:
        Whether the dataAttribute field is set.
      • setDataAttribute

        public CreateDataAttributeRequest.Builder setDataAttribute​(DataAttribute value)
         Required. DataAttribute resource.
         
        .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeDataAttribute

        public CreateDataAttributeRequest.Builder mergeDataAttribute​(DataAttribute value)
         Required. DataAttribute resource.
         
        .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearDataAttribute

        public CreateDataAttributeRequest.Builder clearDataAttribute()
         Required. DataAttribute resource.
         
        .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
      • getDataAttributeBuilder

        public DataAttribute.Builder getDataAttributeBuilder()
         Required. DataAttribute resource.
         
        .google.cloud.dataplex.v1.DataAttribute data_attribute = 3 [(.google.api.field_behavior) = REQUIRED];
      • getValidateOnly

        public boolean getValidateOnly()
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Specified by:
        getValidateOnly in interface CreateDataAttributeRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

        public CreateDataAttributeRequest.Builder setValidateOnly​(boolean value)
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Parameters:
        value - The validateOnly to set.
        Returns:
        This builder for chaining.
      • clearValidateOnly

        public CreateDataAttributeRequest.Builder clearValidateOnly()
         Optional. Only validate the request, but do not perform mutations.
         The default is false.
         
        bool validate_only = 4 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final CreateDataAttributeRequest.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<CreateDataAttributeRequest.Builder>
      • mergeUnknownFields

        public final CreateDataAttributeRequest.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<CreateDataAttributeRequest.Builder>