Class CreateDataTaxonomyRequest.Builder (1.53.0)

public static final class CreateDataTaxonomyRequest.Builder extends GeneratedMessageV3.Builder<CreateDataTaxonomyRequest.Builder> implements CreateDataTaxonomyRequestOrBuilder

Create DataTaxonomy request.

Protobuf type google.cloud.dataplex.v1.CreateDataTaxonomyRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataTaxonomyRequest build()
Returns
Type Description
CreateDataTaxonomyRequest

buildPartial()

public CreateDataTaxonomyRequest buildPartial()
Returns
Type Description
CreateDataTaxonomyRequest

clear()

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

clearDataTaxonomy()

public CreateDataTaxonomyRequest.Builder clearDataTaxonomy()

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDataTaxonomyRequest.Builder

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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

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

This builder for chaining.

clone()

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

getDataTaxonomy()

public DataTaxonomy getDataTaxonomy()

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataTaxonomy

The dataTaxonomy.

getDataTaxonomyBuilder()

public DataTaxonomy.Builder getDataTaxonomyBuilder()

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataTaxonomy.Builder

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

Returns
Type Description
String

The dataTaxonomyId.

getDataTaxonomyIdBytes()

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

Returns
Type Description
ByteString

The bytes for dataTaxonomyId.

getDataTaxonomyOrBuilder()

public DataTaxonomyOrBuilder getDataTaxonomyOrBuilder()

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataTaxonomyOrBuilder

getDefaultInstanceForType()

public CreateDataTaxonomyRequest getDefaultInstanceForType()
Returns
Type Description
CreateDataTaxonomyRequest

getDescriptorForType()

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

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

Returns
Type Description
String

The parent.

getParentBytes()

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

Returns
Type Description
ByteString

The bytes for parent.

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

Returns
Type Description
boolean

The validateOnly.

hasDataTaxonomy()

public boolean hasDataTaxonomy()

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataTaxonomy field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataTaxonomy(DataTaxonomy value)

public CreateDataTaxonomyRequest.Builder mergeDataTaxonomy(DataTaxonomy value)

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataTaxonomy
Returns
Type Description
CreateDataTaxonomyRequest.Builder

mergeFrom(CreateDataTaxonomyRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataTaxonomy(DataTaxonomy value)

public CreateDataTaxonomyRequest.Builder setDataTaxonomy(DataTaxonomy value)

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataTaxonomy
Returns
Type Description
CreateDataTaxonomyRequest.Builder

setDataTaxonomy(DataTaxonomy.Builder builderForValue)

public CreateDataTaxonomyRequest.Builder setDataTaxonomy(DataTaxonomy.Builder builderForValue)

Required. DataTaxonomy resource.

.google.cloud.dataplex.v1.DataTaxonomy data_taxonomy = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataTaxonomy.Builder
Returns
Type Description
CreateDataTaxonomyRequest.Builder

setDataTaxonomyId(String value)

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

Parameter
Name Description
value String

The dataTaxonomyId to set.

Returns
Type Description
CreateDataTaxonomyRequest.Builder

This builder for chaining.

setDataTaxonomyIdBytes(ByteString value)

public CreateDataTaxonomyRequest.Builder setDataTaxonomyIdBytes(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];

Parameter
Name Description
value ByteString

The bytes for dataTaxonomyId to set.

Returns
Type Description
CreateDataTaxonomyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

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

Parameter
Name Description
value String

The parent to set.

Returns
Type Description
CreateDataTaxonomyRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

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

Parameter
Name Description
value ByteString

The bytes for parent to set.

Returns
Type Description
CreateDataTaxonomyRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

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

Parameter
Name Description
value boolean

The validateOnly to set.

Returns
Type Description
CreateDataTaxonomyRequest.Builder

This builder for chaining.