Class CreateDataAttributeBindingRequest.Builder (1.25.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateDataAttributeBindingRequest build()
Returns
TypeDescription
CreateDataAttributeBindingRequest

buildPartial()

public CreateDataAttributeBindingRequest buildPartial()
Returns
TypeDescription
CreateDataAttributeBindingRequest

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public CreateDataAttributeBindingRequest getDefaultInstanceForType()
Returns
TypeDescription
CreateDataAttributeBindingRequest

getDescriptorForType()

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

hasDataAttributeBinding()

public boolean hasDataAttributeBinding()

Required. DataAttributeBinding resource.

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

Returns
TypeDescription
boolean

Whether the dataAttributeBinding field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

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

mergeFrom(CreateDataAttributeBindingRequest other)

public CreateDataAttributeBindingRequest.Builder mergeFrom(CreateDataAttributeBindingRequest other)
Parameter
NameDescription
otherCreateDataAttributeBindingRequest
Returns
TypeDescription
CreateDataAttributeBindingRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateDataAttributeBindingRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueDataAttributeBinding
Returns
TypeDescription
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
NameDescription
builderForValueDataAttributeBinding.Builder
Returns
TypeDescription
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
NameDescription
valueString

The dataAttributeBindingId to set.

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

The bytes for dataAttributeBindingId to set.

Returns
TypeDescription
CreateDataAttributeBindingRequest.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The parent to set.

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

The bytes for parent to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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

The validateOnly to set.

Returns
TypeDescription
CreateDataAttributeBindingRequest.Builder

This builder for chaining.