Class CreateCatalogRequest.Builder (0.18.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateCatalogRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides

build()

public CreateCatalogRequest build()
Returns
TypeDescription
CreateCatalogRequest

buildPartial()

public CreateCatalogRequest buildPartial()
Returns
TypeDescription
CreateCatalogRequest

clear()

public CreateCatalogRequest.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
CreateCatalogRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateCatalogRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateCatalogRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
CreateCatalogRequest.Builder

This builder for chaining.

clone()

public CreateCatalogRequest.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
CatalogOrBuilder

getDefaultInstanceForType()

public CreateCatalogRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateCatalogRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the catalog field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueCatalog
Returns
TypeDescription
CreateCatalogRequest.Builder

mergeFrom(CreateCatalogRequest other)

public CreateCatalogRequest.Builder mergeFrom(CreateCatalogRequest other)
Parameter
NameDescription
otherCreateCatalogRequest
Returns
TypeDescription
CreateCatalogRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateCatalogRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateCatalogRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateCatalogRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueCatalog
Returns
TypeDescription
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
NameDescription
builderForValueCatalog.Builder
Returns
TypeDescription
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
NameDescription
valueString

The catalogId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for catalogId to set.

Returns
TypeDescription
CreateCatalogRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateCatalogRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The parent to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateCatalogRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateCatalogRequest.Builder
Overrides