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

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

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

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

        public CreateDataTaxonomyRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateDataTaxonomyRequest.Builder>
      • isInitialized

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

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

        public String getParent()
         Required. The resource name of the data taxonomy location, of the form:
         projects/{project_number}/locations/{location_id}
         where `location_id` refers to a GCP region.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateDataTaxonomyRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The resource name of the data taxonomy location, of the form:
         projects/{project_number}/locations/{location_id}
         where `location_id` refers to a GCP region.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateDataTaxonomyRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateDataTaxonomyRequest.Builder setParent​(String value)
         Required. The resource name of the data taxonomy location, of the form:
         projects/{project_number}/locations/{location_id}
         where `location_id` refers to a GCP region.
         
        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 CreateDataTaxonomyRequest.Builder clearParent()
         Required. The resource name of the data taxonomy location, of the form:
         projects/{project_number}/locations/{location_id}
         where `location_id` refers to a GCP region.
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateDataTaxonomyRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The resource name of the data taxonomy location, of the form:
         projects/{project_number}/locations/{location_id}
         where `location_id` refers to a GCP region.
         
        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.
      • getDataTaxonomyId

        public String getDataTaxonomyId()
         Required. DataTaxonomy 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 Project.
         
        string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDataTaxonomyId in interface CreateDataTaxonomyRequestOrBuilder
        Returns:
        The dataTaxonomyId.
      • getDataTaxonomyIdBytes

        public com.google.protobuf.ByteString getDataTaxonomyIdBytes()
         Required. DataTaxonomy 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 Project.
         
        string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getDataTaxonomyIdBytes in interface CreateDataTaxonomyRequestOrBuilder
        Returns:
        The bytes for dataTaxonomyId.
      • setDataTaxonomyId

        public CreateDataTaxonomyRequest.Builder setDataTaxonomyId​(String value)
         Required. DataTaxonomy 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 Project.
         
        string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The dataTaxonomyId to set.
        Returns:
        This builder for chaining.
      • clearDataTaxonomyId

        public CreateDataTaxonomyRequest.Builder clearDataTaxonomyId()
         Required. DataTaxonomy 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 Project.
         
        string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setDataTaxonomyIdBytes

        public CreateDataTaxonomyRequest.Builder setDataTaxonomyIdBytes​(com.google.protobuf.ByteString value)
         Required. DataTaxonomy 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 Project.
         
        string data_taxonomy_id = 2 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for dataTaxonomyId to set.
        Returns:
        This builder for chaining.
      • hasDataTaxonomy

        public boolean hasDataTaxonomy()
         Required. DataTaxonomy resource.
         
        .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasDataTaxonomy in interface CreateDataTaxonomyRequestOrBuilder
        Returns:
        Whether the dataTaxonomy field is set.
      • setDataTaxonomy

        public CreateDataTaxonomyRequest.Builder setDataTaxonomy​(DataTaxonomy value)
         Required. DataTaxonomy resource.
         
        .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];
      • mergeDataTaxonomy

        public CreateDataTaxonomyRequest.Builder mergeDataTaxonomy​(DataTaxonomy value)
         Required. DataTaxonomy resource.
         
        .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];
      • clearDataTaxonomy

        public CreateDataTaxonomyRequest.Builder clearDataTaxonomy()
         Required. DataTaxonomy resource.
         
        .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];
      • getDataTaxonomyBuilder

        public DataTaxonomy.Builder getDataTaxonomyBuilder()
         Required. DataTaxonomy resource.
         
        .google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 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 CreateDataTaxonomyRequestOrBuilder
        Returns:
        The validateOnly.
      • setValidateOnly

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

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