Package com.google.cloud.dataplex.v1
Class DataAttributeBinding.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
- com.google.cloud.dataplex.v1.DataAttributeBinding.Builder
-
- All Implemented Interfaces:
DataAttributeBindingOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- DataAttributeBinding
public static final class DataAttributeBinding.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder> implements DataAttributeBindingOrBuilder
DataAttributeBinding represents binding of attributes to resources. Eg: Bind 'CustomerInfo' entity with 'PII' attribute.
Protobuf typegoogle.cloud.dataplex.v1.DataAttributeBinding
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description DataAttributeBinding.Builder
addAllAttributes(Iterable<String> values)
Optional.DataAttributeBinding.Builder
addAllPaths(Iterable<? extends DataAttributeBinding.Path> values)
Optional.DataAttributeBinding.Builder
addAttributes(String value)
Optional.DataAttributeBinding.Builder
addAttributesBytes(com.google.protobuf.ByteString value)
Optional.DataAttributeBinding.Builder
addPaths(int index, DataAttributeBinding.Path value)
Optional.DataAttributeBinding.Builder
addPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
Optional.DataAttributeBinding.Builder
addPaths(DataAttributeBinding.Path value)
Optional.DataAttributeBinding.Builder
addPaths(DataAttributeBinding.Path.Builder builderForValue)
Optional.DataAttributeBinding.Path.Builder
addPathsBuilder()
Optional.DataAttributeBinding.Path.Builder
addPathsBuilder(int index)
Optional.DataAttributeBinding.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataAttributeBinding
build()
DataAttributeBinding
buildPartial()
DataAttributeBinding.Builder
clear()
DataAttributeBinding.Builder
clearAttributes()
Optional.DataAttributeBinding.Builder
clearCreateTime()
Output only.DataAttributeBinding.Builder
clearDescription()
Optional.DataAttributeBinding.Builder
clearDisplayName()
Optional.DataAttributeBinding.Builder
clearEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.DataAttributeBinding.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
DataAttributeBinding.Builder
clearLabels()
DataAttributeBinding.Builder
clearName()
Output only.DataAttributeBinding.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
DataAttributeBinding.Builder
clearPaths()
Optional.DataAttributeBinding.Builder
clearResource()
Optional.DataAttributeBinding.Builder
clearResourceReference()
DataAttributeBinding.Builder
clearUid()
Output only.DataAttributeBinding.Builder
clearUpdateTime()
Output only.DataAttributeBinding.Builder
clone()
boolean
containsLabels(String key)
Optional.String
getAttributes(int index)
Optional.com.google.protobuf.ByteString
getAttributesBytes(int index)
Optional.int
getAttributesCount()
Optional.com.google.protobuf.ProtocolStringList
getAttributesList()
Optional.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.DataAttributeBinding
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getDisplayName()
Optional.com.google.protobuf.ByteString
getDisplayNameBytes()
Optional.String
getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.com.google.protobuf.ByteString
getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Optional.Map<String,String>
getLabelsMap()
Optional.String
getLabelsOrDefault(String key, String defaultValue)
Optional.String
getLabelsOrThrow(String key)
Optional.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.DataAttributeBinding.Path
getPaths(int index)
Optional.DataAttributeBinding.Path.Builder
getPathsBuilder(int index)
Optional.List<DataAttributeBinding.Path.Builder>
getPathsBuilderList()
Optional.int
getPathsCount()
Optional.List<DataAttributeBinding.Path>
getPathsList()
Optional.DataAttributeBinding.PathOrBuilder
getPathsOrBuilder(int index)
Optional.List<? extends DataAttributeBinding.PathOrBuilder>
getPathsOrBuilderList()
Optional.String
getResource()
Optional.com.google.protobuf.ByteString
getResourceBytes()
Optional.DataAttributeBinding.ResourceReferenceCase
getResourceReferenceCase()
String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCreateTime()
Output only.boolean
hasResource()
Optional.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
DataAttributeBinding.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.DataAttributeBinding.Builder
mergeFrom(DataAttributeBinding other)
DataAttributeBinding.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
DataAttributeBinding.Builder
mergeFrom(com.google.protobuf.Message other)
DataAttributeBinding.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataAttributeBinding.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.DataAttributeBinding.Builder
putAllLabels(Map<String,String> values)
Optional.DataAttributeBinding.Builder
putLabels(String key, String value)
Optional.DataAttributeBinding.Builder
removeLabels(String key)
Optional.DataAttributeBinding.Builder
removePaths(int index)
Optional.DataAttributeBinding.Builder
setAttributes(int index, String value)
Optional.DataAttributeBinding.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.DataAttributeBinding.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.DataAttributeBinding.Builder
setDescription(String value)
Optional.DataAttributeBinding.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.DataAttributeBinding.Builder
setDisplayName(String value)
Optional.DataAttributeBinding.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.DataAttributeBinding.Builder
setEtag(String value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.DataAttributeBinding.Builder
setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding.DataAttributeBinding.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
DataAttributeBinding.Builder
setName(String value)
Output only.DataAttributeBinding.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.DataAttributeBinding.Builder
setPaths(int index, DataAttributeBinding.Path value)
Optional.DataAttributeBinding.Builder
setPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
Optional.DataAttributeBinding.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
DataAttributeBinding.Builder
setResource(String value)
Optional.DataAttributeBinding.Builder
setResourceBytes(com.google.protobuf.ByteString value)
Optional.DataAttributeBinding.Builder
setUid(String value)
Output only.DataAttributeBinding.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.DataAttributeBinding.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
DataAttributeBinding.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.DataAttributeBinding.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
clear
public DataAttributeBinding.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
getDefaultInstanceForType
public DataAttributeBinding getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public DataAttributeBinding build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public DataAttributeBinding buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public DataAttributeBinding.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
setField
public DataAttributeBinding.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
clearField
public DataAttributeBinding.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
clearOneof
public DataAttributeBinding.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
setRepeatedField
public DataAttributeBinding.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
addRepeatedField
public DataAttributeBinding.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
mergeFrom
public DataAttributeBinding.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataAttributeBinding.Builder>
-
mergeFrom
public DataAttributeBinding.Builder mergeFrom(DataAttributeBinding other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
mergeFrom
public DataAttributeBinding.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<DataAttributeBinding.Builder>
- Throws:
IOException
-
getResourceReferenceCase
public DataAttributeBinding.ResourceReferenceCase getResourceReferenceCase()
- Specified by:
getResourceReferenceCase
in interfaceDataAttributeBindingOrBuilder
-
clearResourceReference
public DataAttributeBinding.Builder clearResourceReference()
-
getName
public String getName()
Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for name.
-
setName
public DataAttributeBinding.Builder setName(String value)
Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public DataAttributeBinding.Builder clearName()
Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public DataAttributeBinding.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The relative resource name of the Data Attribute Binding, of the form: projects/{project_number}/locations/{location}/dataAttributeBindings/{data_attribute_binding_id}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public DataAttributeBinding.Builder setUid(String value)
Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public DataAttributeBinding.Builder clearUid()
Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public DataAttributeBinding.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System generated globally unique ID for the DataAttributeBinding. This ID will be different if the DataAttributeBinding is deleted and re-created with the same name.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
hasCreateTime
public boolean hasCreateTime()
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceDataAttributeBindingOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public DataAttributeBinding.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public DataAttributeBinding.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public DataAttributeBinding.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public DataAttributeBinding.Builder clearCreateTime()
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the DataAttributeBinding was created.
.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceDataAttributeBindingOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceDataAttributeBindingOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public DataAttributeBinding.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public DataAttributeBinding.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public DataAttributeBinding.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public DataAttributeBinding.Builder clearUpdateTime()
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the DataAttributeBinding was last updated.
.google.protobuf.Timestamp update_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceDataAttributeBindingOrBuilder
-
getDescription
public String getDescription()
Optional. Description of the DataAttributeBinding.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the DataAttributeBinding.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public DataAttributeBinding.Builder setDescription(String value)
Optional. Description of the DataAttributeBinding.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public DataAttributeBinding.Builder clearDescription()
Optional. Description of the DataAttributeBinding.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public DataAttributeBinding.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the DataAttributeBinding.
string description = 5 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getDisplayName
public String getDisplayName()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayNameBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public DataAttributeBinding.Builder setDisplayName(String value)
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public DataAttributeBinding.Builder clearDisplayName()
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public DataAttributeBinding.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional. User friendly display name.
string display_name = 6 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:DataAttributeBindingOrBuilder
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceDataAttributeBindingOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceDataAttributeBindingOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceDataAttributeBindingOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceDataAttributeBindingOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceDataAttributeBindingOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceDataAttributeBindingOrBuilder
-
clearLabels
public DataAttributeBinding.Builder clearLabels()
-
removeLabels
public DataAttributeBinding.Builder removeLabels(String key)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public DataAttributeBinding.Builder putLabels(String key, String value)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public DataAttributeBinding.Builder putAllLabels(Map<String,String> values)
Optional. User-defined labels for the DataAttributeBinding.
map<string, string> labels = 7 [(.google.api.field_behavior) = OPTIONAL];
-
getEtag
public String getEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
string etag = 8;
- Specified by:
getEtag
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
string etag = 8;
- Specified by:
getEtagBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public DataAttributeBinding.Builder setEtag(String value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
string etag = 8;
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public DataAttributeBinding.Builder clearEtag()
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
string etag = 8;
- Returns:
- This builder for chaining.
-
setEtagBytes
public DataAttributeBinding.Builder setEtagBytes(com.google.protobuf.ByteString value)
This checksum is computed by the server based on the value of other fields, and may be sent on update and delete requests to ensure the client has an up-to-date value before proceeding. Etags must be used when calling the DeleteDataAttributeBinding and the UpdateDataAttributeBinding method.
string etag = 8;
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
hasResource
public boolean hasResource()
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
hasResource
in interfaceDataAttributeBindingOrBuilder
- Returns:
- Whether the resource field is set.
-
getResource
public String getResource()
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getResource
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The resource.
-
getResourceBytes
public com.google.protobuf.ByteString getResourceBytes()
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getResourceBytes
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The bytes for resource.
-
setResource
public DataAttributeBinding.Builder setResource(String value)
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The resource to set.- Returns:
- This builder for chaining.
-
clearResource
public DataAttributeBinding.Builder clearResource()
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Returns:
- This builder for chaining.
-
setResourceBytes
public DataAttributeBinding.Builder setResourceBytes(com.google.protobuf.ByteString value)
Optional. Immutable. The resource name of the resource that is associated to attributes. Presently, only entity resource is supported in the form: projects/{project}/locations/{location}/lakes/{lake}/zones/{zone}/entities/{entity_id} Must belong in the same project and region as the attribute binding, and there can only exist one active binding for a resource.
string resource = 100 [(.google.api.field_behavior) = OPTIONAL, (.google.api.field_behavior) = IMMUTABLE];
- Parameters:
value
- The bytes for resource to set.- Returns:
- This builder for chaining.
-
getAttributesList
public com.google.protobuf.ProtocolStringList getAttributesList()
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getAttributesList
in interfaceDataAttributeBindingOrBuilder
- Returns:
- A list containing the attributes.
-
getAttributesCount
public int getAttributesCount()
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getAttributesCount
in interfaceDataAttributeBindingOrBuilder
- Returns:
- The count of attributes.
-
getAttributes
public String getAttributes(int index)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getAttributes
in interfaceDataAttributeBindingOrBuilder
- Parameters:
index
- The index of the element to return.- Returns:
- The attributes at the given index.
-
getAttributesBytes
public com.google.protobuf.ByteString getAttributesBytes(int index)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Specified by:
getAttributesBytes
in interfaceDataAttributeBindingOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the attributes at the given index.
-
setAttributes
public DataAttributeBinding.Builder setAttributes(int index, String value)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Parameters:
index
- The index to set the value at.value
- The attributes to set.- Returns:
- This builder for chaining.
-
addAttributes
public DataAttributeBinding.Builder addAttributes(String value)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The attributes to add.- Returns:
- This builder for chaining.
-
addAllAttributes
public DataAttributeBinding.Builder addAllAttributes(Iterable<String> values)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Parameters:
values
- The attributes to add.- Returns:
- This builder for chaining.
-
clearAttributes
public DataAttributeBinding.Builder clearAttributes()
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
addAttributesBytes
public DataAttributeBinding.Builder addAttributesBytes(com.google.protobuf.ByteString value)
Optional. List of attributes to be associated with the resource, provided in the form: projects/{project}/locations/{location}/dataTaxonomies/{dataTaxonomy}/attributes/{data_attribute_id}
repeated string attributes = 110 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes of the attributes to add.- Returns:
- This builder for chaining.
-
getPathsList
public List<DataAttributeBinding.Path> getPathsList()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPathsList
in interfaceDataAttributeBindingOrBuilder
-
getPathsCount
public int getPathsCount()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPathsCount
in interfaceDataAttributeBindingOrBuilder
-
getPaths
public DataAttributeBinding.Path getPaths(int index)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPaths
in interfaceDataAttributeBindingOrBuilder
-
setPaths
public DataAttributeBinding.Builder setPaths(int index, DataAttributeBinding.Path value)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
setPaths
public DataAttributeBinding.Builder setPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addPaths
public DataAttributeBinding.Builder addPaths(DataAttributeBinding.Path value)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addPaths
public DataAttributeBinding.Builder addPaths(int index, DataAttributeBinding.Path value)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addPaths
public DataAttributeBinding.Builder addPaths(DataAttributeBinding.Path.Builder builderForValue)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addPaths
public DataAttributeBinding.Builder addPaths(int index, DataAttributeBinding.Path.Builder builderForValue)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addAllPaths
public DataAttributeBinding.Builder addAllPaths(Iterable<? extends DataAttributeBinding.Path> values)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
clearPaths
public DataAttributeBinding.Builder clearPaths()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
removePaths
public DataAttributeBinding.Builder removePaths(int index)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
getPathsBuilder
public DataAttributeBinding.Path.Builder getPathsBuilder(int index)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
getPathsOrBuilder
public DataAttributeBinding.PathOrBuilder getPathsOrBuilder(int index)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPathsOrBuilder
in interfaceDataAttributeBindingOrBuilder
-
getPathsOrBuilderList
public List<? extends DataAttributeBinding.PathOrBuilder> getPathsOrBuilderList()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getPathsOrBuilderList
in interfaceDataAttributeBindingOrBuilder
-
addPathsBuilder
public DataAttributeBinding.Path.Builder addPathsBuilder()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
addPathsBuilder
public DataAttributeBinding.Path.Builder addPathsBuilder(int index)
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
getPathsBuilderList
public List<DataAttributeBinding.Path.Builder> getPathsBuilderList()
Optional. The list of paths for items within the associated resource (eg. columns and partitions within a table) along with attribute bindings.
repeated .google.cloud.dataplex.v1.DataAttributeBinding.Path paths = 120 [(.google.api.field_behavior) = OPTIONAL];
-
setUnknownFields
public final DataAttributeBinding.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
mergeUnknownFields
public final DataAttributeBinding.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<DataAttributeBinding.Builder>
-
-