Class CreateDataTaxonomyRequest.Builder (1.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataTaxonomyRequest build()
Returns
TypeDescription
CreateDataTaxonomyRequest

buildPartial()

public CreateDataTaxonomyRequest buildPartial()
Returns
TypeDescription
CreateDataTaxonomyRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

public CreateDataTaxonomyRequest.Builder clone()
Returns
TypeDescription
CreateDataTaxonomyRequest.Builder
Overrides

getDataTaxonomy()

public DataTaxonomy getDataTaxonomy()

Required. DataTaxonomy resource.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
DataTaxonomyOrBuilder

getDefaultInstanceForType()

public CreateDataTaxonomyRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDataTaxonomyRequest

getDescriptorForType()

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

The validateOnly.

hasDataTaxonomy()

public boolean hasDataTaxonomy()

Required. DataTaxonomy resource.

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

Returns
TypeDescription
boolean

Whether the dataTaxonomy field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(CreateDataTaxonomyRequest other)

public CreateDataTaxonomyRequest.Builder mergeFrom(CreateDataTaxonomyRequest other)
Parameter
NameDescription
otherCreateDataTaxonomyRequest
Returns
TypeDescription
CreateDataTaxonomyRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataTaxonomyRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataTaxonomy
Returns
TypeDescription
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
NameDescription
builderForValueDataTaxonomy.Builder
Returns
TypeDescription
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
NameDescription
valueString

The dataTaxonomyId to set.

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

The bytes for dataTaxonomyId to set.

Returns
TypeDescription
CreateDataTaxonomyRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataTaxonomyRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueboolean

The validateOnly to set.

Returns
TypeDescription
CreateDataTaxonomyRequest.Builder

This builder for chaining.