Class CreateDataAttributeBindingRequest.Builder (1.46.0)

public static final class CreateDataAttributeBindingRequest.Builder extends GeneratedMessageV3.Builder<CreateDataAttributeBindingRequest.Builder> implements CreateDataAttributeBindingRequestOrBuilder

Create DataAttributeBinding request.

Protobuf type google.cloud.dataplex.v1.CreateDataAttributeBindingRequest

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataAttributeBindingRequest build()
Returns
Type Description
CreateDataAttributeBindingRequest

buildPartial()

public CreateDataAttributeBindingRequest buildPartial()
Returns
Type Description
CreateDataAttributeBindingRequest

clear()

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

clearDataAttributeBinding()

public CreateDataAttributeBindingRequest.Builder clearDataAttributeBinding()

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDataAttributeBindingRequest.Builder

clearDataAttributeBindingId()

public CreateDataAttributeBindingRequest.Builder clearDataAttributeBindingId()

Required. DataAttributeBinding 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 Location.

string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearParent()

public CreateDataAttributeBindingRequest.Builder clearParent()

Required. The resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

clearValidateOnly()

public CreateDataAttributeBindingRequest.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
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

clone()

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

getDataAttributeBinding()

public DataAttributeBinding getDataAttributeBinding()

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAttributeBinding

The dataAttributeBinding.

getDataAttributeBindingBuilder()

public DataAttributeBinding.Builder getDataAttributeBindingBuilder()

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAttributeBinding.Builder

getDataAttributeBindingId()

public String getDataAttributeBindingId()

Required. DataAttributeBinding 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 Location.

string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The dataAttributeBindingId.

getDataAttributeBindingIdBytes()

public ByteString getDataAttributeBindingIdBytes()

Required. DataAttributeBinding 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 Location.

string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for dataAttributeBindingId.

getDataAttributeBindingOrBuilder()

public DataAttributeBindingOrBuilder getDataAttributeBindingOrBuilder()

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DataAttributeBindingOrBuilder

getDefaultInstanceForType()

public CreateDataAttributeBindingRequest getDefaultInstanceForType()
Returns
Type Description
CreateDataAttributeBindingRequest

getDescriptorForType()

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

getParent()

public String getParent()

Required. The resource name of the parent data taxonomy projects/{project_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 resource name of the parent data taxonomy projects/{project_number}/locations/{location_id}

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.

hasDataAttributeBinding()

public boolean hasDataAttributeBinding()

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the dataAttributeBinding field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataAttributeBinding(DataAttributeBinding value)

public CreateDataAttributeBindingRequest.Builder mergeDataAttributeBinding(DataAttributeBinding value)

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAttributeBinding
Returns
Type Description
CreateDataAttributeBindingRequest.Builder

mergeFrom(CreateDataAttributeBindingRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDataAttributeBinding(DataAttributeBinding value)

public CreateDataAttributeBindingRequest.Builder setDataAttributeBinding(DataAttributeBinding value)

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DataAttributeBinding
Returns
Type Description
CreateDataAttributeBindingRequest.Builder

setDataAttributeBinding(DataAttributeBinding.Builder builderForValue)

public CreateDataAttributeBindingRequest.Builder setDataAttributeBinding(DataAttributeBinding.Builder builderForValue)

Required. DataAttributeBinding resource.

.google.cloud.dataplex.v1.DataAttributeBinding data_attribute_binding = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue DataAttributeBinding.Builder
Returns
Type Description
CreateDataAttributeBindingRequest.Builder

setDataAttributeBindingId(String value)

public CreateDataAttributeBindingRequest.Builder setDataAttributeBindingId(String value)

Required. DataAttributeBinding 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 Location.

string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The dataAttributeBindingId to set.

Returns
Type Description
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

setDataAttributeBindingIdBytes(ByteString value)

public CreateDataAttributeBindingRequest.Builder setDataAttributeBindingIdBytes(ByteString value)

Required. DataAttributeBinding 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 Location.

string data_attribute_binding_id = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for dataAttributeBindingId to set.

Returns
Type Description
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setParent(String value)

public CreateDataAttributeBindingRequest.Builder setParent(String value)

Required. The resource name of the parent data taxonomy projects/{project_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
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public CreateDataAttributeBindingRequest.Builder setParentBytes(ByteString value)

Required. The resource name of the parent data taxonomy projects/{project_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
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValidateOnly(boolean value)

public CreateDataAttributeBindingRequest.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
CreateDataAttributeBindingRequest.Builder

This builder for chaining.