Class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder (3.84.0)

public static final class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder extends GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder> implements ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder

Restrictions on string values.

Protobuf type google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict

Inheritance

java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

Static Methods

getDescriptor()

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

Methods

addAllAllowColumn(Iterable<String> values)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addAllAllowColumn(Iterable<String> values)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The allowColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

addAllDenyColumn(Iterable<String> values)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addAllDenyColumn(Iterable<String> values)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The denyColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

addAllowColumn(String value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addAllowColumn(String value)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The allowColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

addAllowColumnBytes(ByteString value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addAllowColumnBytes(ByteString value)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the allowColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

addDenyColumn(String value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addDenyColumn(String value)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The denyColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

addDenyColumnBytes(ByteString value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addDenyColumnBytes(ByteString value)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the denyColumn to add.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

build()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict build()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict

buildPartial()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict buildPartial()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict

clear()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder clear()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
Overrides

clearAllowColumn()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder clearAllowColumn()

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

clearDenyColumn()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder clearDenyColumn()

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

clearNamespace()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder clearNamespace()

Required. The namespace of the restrict in the index.

string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

getAllowColumn(int index)

public String getAllowColumn(int index)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The allowColumn at the given index.

getAllowColumnBytes(int index)

public ByteString getAllowColumnBytes(int index)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the allowColumn at the given index.

getAllowColumnCount()

public int getAllowColumnCount()

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of allowColumn.

getAllowColumnList()

public ProtocolStringList getAllowColumnList()

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the allowColumn.

getDefaultInstanceForType()

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict getDefaultInstanceForType()
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict

getDenyColumn(int index)

public String getDenyColumn(int index)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The denyColumn at the given index.

getDenyColumnBytes(int index)

public ByteString getDenyColumnBytes(int index)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the denyColumn at the given index.

getDenyColumnCount()

public int getDenyColumnCount()

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of denyColumn.

getDenyColumnList()

public ProtocolStringList getDenyColumnList()

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the denyColumn.

getDescriptorForType()

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

getNamespace()

public String getNamespace()

Required. The namespace of the restrict in the index.

string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The namespace.

getNamespaceBytes()

public ByteString getNamespaceBytes()

Required. The namespace of the restrict in the index.

string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for namespace.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict other)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder mergeFrom(ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict other)
Parameter
Name Description
other ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
Overrides

setAllowColumn(int index, String value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder setAllowColumn(int index, String value)

Optional. The columns containing the allow values.

repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The allowColumn to set.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

setDenyColumn(int index, String value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder setDenyColumn(int index, String value)

Optional. The columns containing the deny values.

repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The denyColumn to set.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

setNamespace(String value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder setNamespace(String value)

Required. The namespace of the restrict in the index.

string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The namespace to set.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.

setNamespaceBytes(ByteString value)

public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder setNamespaceBytes(ByteString value)

Required. The namespace of the restrict in the index.

string namespace = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for namespace to set.

Returns
Type Description
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder

This builder for chaining.