Class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
com.google.cloud.aiplatform.v1beta1.ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
- All Implemented Interfaces:
ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict
public static final class ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder
extends com.google.protobuf.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-
Method Summary
Modifier and TypeMethodDescriptionaddAllAllowColumn(Iterable<String> values) Optional.addAllDenyColumn(Iterable<String> values) Optional.addAllowColumn(String value) Optional.addAllowColumnBytes(com.google.protobuf.ByteString value) Optional.addDenyColumn(String value) Optional.addDenyColumnBytes(com.google.protobuf.ByteString value) Optional.build()clear()Optional.Optional.Required.getAllowColumn(int index) Optional.com.google.protobuf.ByteStringgetAllowColumnBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.getDenyColumn(int index) Optional.com.google.protobuf.ByteStringgetDenyColumnBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setAllowColumn(int index, String value) Optional.setDenyColumn(int index, String value) Optional.setNamespace(String value) Required.setNamespaceBytes(com.google.protobuf.ByteString value) Required.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
-
getDefaultInstanceForType
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict getDefaultInstanceForType()- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>
-
mergeFrom
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder>- Throws:
IOException
-
getNamespace
Required. The namespace of the restrict in the index.
string namespace = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamespacein interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- The namespace.
-
getNamespaceBytes
public com.google.protobuf.ByteString getNamespaceBytes()Required. The namespace of the restrict in the index.
string namespace = 1 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getNamespaceBytesin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- The bytes for namespace.
-
setNamespace
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];- Parameters:
value- The namespace to set.- Returns:
- This builder for chaining.
-
clearNamespace
Required. The namespace of the restrict in the index.
string namespace = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setNamespaceBytes
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder setNamespaceBytes(com.google.protobuf.ByteString value) Required. The namespace of the restrict in the index.
string namespace = 1 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for namespace to set.- Returns:
- This builder for chaining.
-
getAllowColumnList
public com.google.protobuf.ProtocolStringList getAllowColumnList()Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowColumnListin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- A list containing the allowColumn.
-
getAllowColumnCount
public int getAllowColumnCount()Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowColumnCountin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- The count of allowColumn.
-
getAllowColumn
Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowColumnin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowColumn at the given index.
-
getAllowColumnBytes
public com.google.protobuf.ByteString getAllowColumnBytes(int index) Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAllowColumnBytesin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowColumn at the given index.
-
setAllowColumn
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:
index- The index to set the value at.value- The allowColumn to set.- Returns:
- This builder for chaining.
-
addAllowColumn
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];- Parameters:
value- The allowColumn to add.- Returns:
- This builder for chaining.
-
addAllAllowColumn
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];- Parameters:
values- The allowColumn to add.- Returns:
- This builder for chaining.
-
clearAllowColumn
Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addAllowColumnBytes
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addAllowColumnBytes(com.google.protobuf.ByteString value) Optional. The columns containing the allow values.
repeated string allow_column = 2 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the allowColumn to add.- Returns:
- This builder for chaining.
-
getDenyColumnList
public com.google.protobuf.ProtocolStringList getDenyColumnList()Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDenyColumnListin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- A list containing the denyColumn.
-
getDenyColumnCount
public int getDenyColumnCount()Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDenyColumnCountin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Returns:
- The count of denyColumn.
-
getDenyColumn
Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDenyColumnin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The denyColumn at the given index.
-
getDenyColumnBytes
public com.google.protobuf.ByteString getDenyColumnBytes(int index) Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDenyColumnBytesin interfaceImportIndexRequest.ConnectorConfig.DatapointFieldMapping.RestrictOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the denyColumn at the given index.
-
setDenyColumn
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:
index- The index to set the value at.value- The denyColumn to set.- Returns:
- This builder for chaining.
-
addDenyColumn
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];- Parameters:
value- The denyColumn to add.- Returns:
- This builder for chaining.
-
addAllDenyColumn
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];- Parameters:
values- The denyColumn to add.- Returns:
- This builder for chaining.
-
clearDenyColumn
Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
addDenyColumnBytes
public ImportIndexRequest.ConnectorConfig.DatapointFieldMapping.Restrict.Builder addDenyColumnBytes(com.google.protobuf.ByteString value) Optional. The columns containing the deny values.
repeated string deny_column = 3 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes of the denyColumn to add.- Returns:
- This builder for chaining.
-