Class CreateCatalogRequest.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<CreateCatalogRequest.Builder>
      • clear

        public CreateCatalogRequest.Builder clear()
        Specified by:
        clear in interface com.google.protobuf.Message.Builder
        Specified by:
        clear in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clear in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCatalogRequest.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<CreateCatalogRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public CreateCatalogRequest.Builder clone()
        Specified by:
        clone in interface com.google.protobuf.Message.Builder
        Specified by:
        clone in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        clone in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCatalogRequest.Builder>
      • setField

        public CreateCatalogRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                     Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCatalogRequest.Builder>
      • clearField

        public CreateCatalogRequest.Builder clearField​(com.google.protobuf.Descriptors.FieldDescriptor field)
        Specified by:
        clearField in interface com.google.protobuf.Message.Builder
        Overrides:
        clearField in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCatalogRequest.Builder>
      • clearOneof

        public CreateCatalogRequest.Builder clearOneof​(com.google.protobuf.Descriptors.OneofDescriptor oneof)
        Specified by:
        clearOneof in interface com.google.protobuf.Message.Builder
        Overrides:
        clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CreateCatalogRequest.Builder>
      • setRepeatedField

        public CreateCatalogRequest.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<CreateCatalogRequest.Builder>
      • addRepeatedField

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

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

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

        public String getParent()
         Required. The parent resource where this catalog will be created.
         Format: projects/{project_id_or_number}/locations/{location_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParent in interface CreateCatalogRequestOrBuilder
        Returns:
        The parent.
      • getParentBytes

        public com.google.protobuf.ByteString getParentBytes()
         Required. The parent resource where this catalog will be created.
         Format: projects/{project_id_or_number}/locations/{location_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Specified by:
        getParentBytes in interface CreateCatalogRequestOrBuilder
        Returns:
        The bytes for parent.
      • setParent

        public CreateCatalogRequest.Builder setParent​(String value)
         Required. The parent resource where this catalog will be created.
         Format: projects/{project_id_or_number}/locations/{location_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 CreateCatalogRequest.Builder clearParent()
         Required. The parent resource where this catalog will be created.
         Format: projects/{project_id_or_number}/locations/{location_id}
         
        string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
        Returns:
        This builder for chaining.
      • setParentBytes

        public CreateCatalogRequest.Builder setParentBytes​(com.google.protobuf.ByteString value)
         Required. The parent resource where this catalog will be created.
         Format: projects/{project_id_or_number}/locations/{location_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.
      • hasCatalog

        public boolean hasCatalog()
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        hasCatalog in interface CreateCatalogRequestOrBuilder
        Returns:
        Whether the catalog field is set.
      • getCatalog

        public Catalog getCatalog()
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCatalog in interface CreateCatalogRequestOrBuilder
        Returns:
        The catalog.
      • setCatalog

        public CreateCatalogRequest.Builder setCatalog​(Catalog value)
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      • setCatalog

        public CreateCatalogRequest.Builder setCatalog​(Catalog.Builder builderForValue)
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      • mergeCatalog

        public CreateCatalogRequest.Builder mergeCatalog​(Catalog value)
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      • clearCatalog

        public CreateCatalogRequest.Builder clearCatalog()
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCatalogBuilder

        public Catalog.Builder getCatalogBuilder()
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
      • getCatalogOrBuilder

        public CatalogOrBuilder getCatalogOrBuilder()
         Required. The catalog to create.
         The `name` field does not need to be provided.
         
        .google.cloud.bigquery.biglake.v1.Catalog catalog = 2 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCatalogOrBuilder in interface CreateCatalogRequestOrBuilder
      • getCatalogId

        public String getCatalogId()
         Required. The ID to use for the catalog, which will become the final
         component of the catalog's resource name.
         
        string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCatalogId in interface CreateCatalogRequestOrBuilder
        Returns:
        The catalogId.
      • getCatalogIdBytes

        public com.google.protobuf.ByteString getCatalogIdBytes()
         Required. The ID to use for the catalog, which will become the final
         component of the catalog's resource name.
         
        string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Specified by:
        getCatalogIdBytes in interface CreateCatalogRequestOrBuilder
        Returns:
        The bytes for catalogId.
      • setCatalogId

        public CreateCatalogRequest.Builder setCatalogId​(String value)
         Required. The ID to use for the catalog, which will become the final
         component of the catalog's resource name.
         
        string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The catalogId to set.
        Returns:
        This builder for chaining.
      • clearCatalogId

        public CreateCatalogRequest.Builder clearCatalogId()
         Required. The ID to use for the catalog, which will become the final
         component of the catalog's resource name.
         
        string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        This builder for chaining.
      • setCatalogIdBytes

        public CreateCatalogRequest.Builder setCatalogIdBytes​(com.google.protobuf.ByteString value)
         Required. The ID to use for the catalog, which will become the final
         component of the catalog's resource name.
         
        string catalog_id = 3 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        value - The bytes for catalogId to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

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

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