Class CreateCatalogRequest.Builder (0.42.0)

public static final class CreateCatalogRequest.Builder extends GeneratedMessageV3.Builder<CreateCatalogRequest.Builder> implements CreateCatalogRequestOrBuilder

Request message for the CreateCatalog method.

Protobuf type google.cloud.bigquery.biglake.v1.CreateCatalogRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCatalogRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

build()

public CreateCatalogRequest build()
Returns
Type Description
CreateCatalogRequest

buildPartial()

public CreateCatalogRequest buildPartial()
Returns
Type Description
CreateCatalogRequest

clear()

public CreateCatalogRequest.Builder clear()
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

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];

Returns
Type Description
CreateCatalogRequest.Builder

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
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateCatalogRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCatalogRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

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
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

clone()

public CreateCatalogRequest.Builder clone()
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

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];

Returns
Type Description
Catalog

The catalog.

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];

Returns
Type Description
Catalog.Builder

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];

Returns
Type Description
String

The catalogId.

getCatalogIdBytes()

public 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];

Returns
Type Description
ByteString

The bytes for catalogId.

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];

Returns
Type Description
CatalogOrBuilder

getDefaultInstanceForType()

public CreateCatalogRequest getDefaultInstanceForType()
Returns
Type Description
CreateCatalogRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public 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) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

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];

Returns
Type Description
boolean

Whether the catalog field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCatalog(Catalog value)

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];

Parameter
Name Description
value Catalog
Returns
Type Description
CreateCatalogRequest.Builder

mergeFrom(CreateCatalogRequest other)

public CreateCatalogRequest.Builder mergeFrom(CreateCatalogRequest other)
Parameter
Name Description
other CreateCatalogRequest
Returns
Type Description
CreateCatalogRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateCatalogRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateCatalogRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCatalogRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

setCatalog(Catalog value)

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];

Parameter
Name Description
value Catalog
Returns
Type Description
CreateCatalogRequest.Builder

setCatalog(Catalog.Builder builderForValue)

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];

Parameter
Name Description
builderForValue Catalog.Builder
Returns
Type Description
CreateCatalogRequest.Builder

setCatalogId(String value)

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];

Parameter
Name Description
value String

The catalogId to set.

Returns
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

setCatalogIdBytes(ByteString value)

public CreateCatalogRequest.Builder setCatalogIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for catalogId to set.

Returns
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCatalogRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

setParent(String value)

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) = { ... }

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateCatalogRequest.Builder setParentBytes(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) = { ... }

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateCatalogRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateCatalogRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateCatalogRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCatalogRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateCatalogRequest.Builder
Overrides