Package com.google.cloud.dataplex.v1
Class Lake.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
- com.google.cloud.dataplex.v1.Lake.Builder
-
- All Implemented Interfaces:
LakeOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Lake
public static final class Lake.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder> implements LakeOrBuilder
A lake is a centralized repository for managing enterprise data across the organization distributed across many cloud projects, and stored in a variety of storage services such as Google Cloud Storage and BigQuery. The resources attached to a lake are referred to as managed resources. Data within these managed resources can be structured or unstructured. A lake provides data admins with tools to organize, secure and manage their data at scale, and provides data scientists and data engineers an integrated experience to easily search, discover, analyze and transform data and associated metadata.
Protobuf typegoogle.cloud.dataplex.v1.Lake
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Lake.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Lake
build()
Lake
buildPartial()
Lake.Builder
clear()
Lake.Builder
clearAssetStatus()
Output only.Lake.Builder
clearCreateTime()
Output only.Lake.Builder
clearDescription()
Optional.Lake.Builder
clearDisplayName()
Optional.Lake.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Lake.Builder
clearLabels()
Lake.Builder
clearMetastore()
Optional.Lake.Builder
clearMetastoreStatus()
Output only.Lake.Builder
clearName()
Output only.Lake.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Lake.Builder
clearServiceAccount()
Output only.Lake.Builder
clearState()
Output only.Lake.Builder
clearUid()
Output only.Lake.Builder
clearUpdateTime()
Output only.Lake.Builder
clone()
boolean
containsLabels(String key)
Optional.AssetStatus
getAssetStatus()
Output only.AssetStatus.Builder
getAssetStatusBuilder()
Output only.AssetStatusOrBuilder
getAssetStatusOrBuilder()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Lake
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.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.Lake.Metastore
getMetastore()
Optional.Lake.Metastore.Builder
getMetastoreBuilder()
Optional.Lake.MetastoreOrBuilder
getMetastoreOrBuilder()
Optional.Lake.MetastoreStatus
getMetastoreStatus()
Output only.Lake.MetastoreStatus.Builder
getMetastoreStatusBuilder()
Output only.Lake.MetastoreStatusOrBuilder
getMetastoreStatusOrBuilder()
Output only.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.String
getServiceAccount()
Output only.com.google.protobuf.ByteString
getServiceAccountBytes()
Output only.State
getState()
Output only.int
getStateValue()
Output only.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
hasAssetStatus()
Output only.boolean
hasCreateTime()
Output only.boolean
hasMetastore()
Optional.boolean
hasMetastoreStatus()
Output only.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()
Lake.Builder
mergeAssetStatus(AssetStatus value)
Output only.Lake.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Lake.Builder
mergeFrom(Lake other)
Lake.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lake.Builder
mergeFrom(com.google.protobuf.Message other)
Lake.Builder
mergeMetastore(Lake.Metastore value)
Optional.Lake.Builder
mergeMetastoreStatus(Lake.MetastoreStatus value)
Output only.Lake.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Lake.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Lake.Builder
putAllLabels(Map<String,String> values)
Optional.Lake.Builder
putLabels(String key, String value)
Optional.Lake.Builder
removeLabels(String key)
Optional.Lake.Builder
setAssetStatus(AssetStatus value)
Output only.Lake.Builder
setAssetStatus(AssetStatus.Builder builderForValue)
Output only.Lake.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Lake.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Lake.Builder
setDescription(String value)
Optional.Lake.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.Lake.Builder
setDisplayName(String value)
Optional.Lake.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.Lake.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Lake.Builder
setMetastore(Lake.Metastore value)
Optional.Lake.Builder
setMetastore(Lake.Metastore.Builder builderForValue)
Optional.Lake.Builder
setMetastoreStatus(Lake.MetastoreStatus value)
Output only.Lake.Builder
setMetastoreStatus(Lake.MetastoreStatus.Builder builderForValue)
Output only.Lake.Builder
setName(String value)
Output only.Lake.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Lake.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Lake.Builder
setServiceAccount(String value)
Output only.Lake.Builder
setServiceAccountBytes(com.google.protobuf.ByteString value)
Output only.Lake.Builder
setState(State value)
Output only.Lake.Builder
setStateValue(int value)
Output only.Lake.Builder
setUid(String value)
Output only.Lake.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Lake.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Lake.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Lake.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<Lake.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
clear
public Lake.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<Lake.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<Lake.Builder>
-
getDefaultInstanceForType
public Lake getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Lake build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Lake buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Lake.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<Lake.Builder>
-
setField
public Lake.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<Lake.Builder>
-
clearField
public Lake.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<Lake.Builder>
-
clearOneof
public Lake.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<Lake.Builder>
-
setRepeatedField
public Lake.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<Lake.Builder>
-
addRepeatedField
public Lake.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<Lake.Builder>
-
mergeFrom
public Lake.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Lake.Builder>
-
mergeFrom
public Lake.Builder mergeFrom(Lake other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
mergeFrom
public Lake.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<Lake.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getName
in interfaceLakeOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getNameBytes
in interfaceLakeOrBuilder
- Returns:
- The bytes for name.
-
setName
public Lake.Builder setName(String value)
Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_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 Lake.Builder clearName()
Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}`.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setNameBytes
public Lake.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The relative resource name of the lake, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_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.
-
getDisplayName
public String getDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayName
in interfaceLakeOrBuilder
- Returns:
- The displayName.
-
getDisplayNameBytes
public com.google.protobuf.ByteString getDisplayNameBytes()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDisplayNameBytes
in interfaceLakeOrBuilder
- Returns:
- The bytes for displayName.
-
setDisplayName
public Lake.Builder setDisplayName(String value)
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The displayName to set.- Returns:
- This builder for chaining.
-
clearDisplayName
public Lake.Builder clearDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Lake.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for displayName to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceLakeOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceLakeOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Lake.Builder setUid(String value)
Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Lake.Builder clearUid()
Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Lake.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System generated globally unique ID for the lake. This ID will be different if the lake is deleted and re-created with the same name.
string uid = 3 [(.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 lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceLakeOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceLakeOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Lake.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Lake.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Lake.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Lake.Builder clearCreateTime()
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. The time when the lake was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceLakeOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceLakeOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceLakeOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Lake.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Lake.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Lake.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Lake.Builder clearUpdateTime()
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The time when the lake was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceLakeOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:LakeOrBuilder
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in interfaceLakeOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
containsLabels
in interfaceLakeOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceLakeOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsMap
in interfaceLakeOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrDefault
in interfaceLakeOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsOrThrow
in interfaceLakeOrBuilder
-
clearLabels
public Lake.Builder clearLabels()
-
removeLabels
public Lake.Builder removeLabels(String key)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Lake.Builder putLabels(String key, String value)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Lake.Builder putAllLabels(Map<String,String> values)
Optional. User-defined labels for the lake.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getDescription
public String getDescription()
Optional. Description of the lake.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescription
in interfaceLakeOrBuilder
- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the lake.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getDescriptionBytes
in interfaceLakeOrBuilder
- Returns:
- The bytes for description.
-
setDescription
public Lake.Builder setDescription(String value)
Optional. Description of the lake.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Lake.Builder clearDescription()
Optional. Description of the lake.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Lake.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the lake.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];
- Parameters:
value
- The bytes for description to set.- Returns:
- This builder for chaining.
-
getStateValue
public int getStateValue()
Output only. Current state of the lake.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceLakeOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Lake.Builder setStateValue(int value)
Output only. Current state of the lake.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
getState
public State getState()
Output only. Current state of the lake.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceLakeOrBuilder
- Returns:
- The state.
-
setState
public Lake.Builder setState(State value)
Output only. Current state of the lake.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Lake.Builder clearState()
Output only. Current state of the lake.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getServiceAccount
public String getServiceAccount()
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServiceAccount
in interfaceLakeOrBuilder
- Returns:
- The serviceAccount.
-
getServiceAccountBytes
public com.google.protobuf.ByteString getServiceAccountBytes()
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getServiceAccountBytes
in interfaceLakeOrBuilder
- Returns:
- The bytes for serviceAccount.
-
setServiceAccount
public Lake.Builder setServiceAccount(String value)
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The serviceAccount to set.- Returns:
- This builder for chaining.
-
clearServiceAccount
public Lake.Builder clearServiceAccount()
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setServiceAccountBytes
public Lake.Builder setServiceAccountBytes(com.google.protobuf.ByteString value)
Output only. Service account associated with this lake. This service account must be authorized to access or operate on resources managed by the lake.
string service_account = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for serviceAccount to set.- Returns:
- This builder for chaining.
-
hasMetastore
public boolean hasMetastore()
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
hasMetastore
in interfaceLakeOrBuilder
- Returns:
- Whether the metastore field is set.
-
getMetastore
public Lake.Metastore getMetastore()
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetastore
in interfaceLakeOrBuilder
- Returns:
- The metastore.
-
setMetastore
public Lake.Builder setMetastore(Lake.Metastore value)
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
-
setMetastore
public Lake.Builder setMetastore(Lake.Metastore.Builder builderForValue)
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
-
mergeMetastore
public Lake.Builder mergeMetastore(Lake.Metastore value)
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
-
clearMetastore
public Lake.Builder clearMetastore()
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
-
getMetastoreBuilder
public Lake.Metastore.Builder getMetastoreBuilder()
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
-
getMetastoreOrBuilder
public Lake.MetastoreOrBuilder getMetastoreOrBuilder()
Optional. Settings to manage lake and Dataproc Metastore service instance association.
.google.cloud.dataplex.v1.Lake.Metastore metastore = 102 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getMetastoreOrBuilder
in interfaceLakeOrBuilder
-
hasAssetStatus
public boolean hasAssetStatus()
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasAssetStatus
in interfaceLakeOrBuilder
- Returns:
- Whether the assetStatus field is set.
-
getAssetStatus
public AssetStatus getAssetStatus()
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAssetStatus
in interfaceLakeOrBuilder
- Returns:
- The assetStatus.
-
setAssetStatus
public Lake.Builder setAssetStatus(AssetStatus value)
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setAssetStatus
public Lake.Builder setAssetStatus(AssetStatus.Builder builderForValue)
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeAssetStatus
public Lake.Builder mergeAssetStatus(AssetStatus value)
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearAssetStatus
public Lake.Builder clearAssetStatus()
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAssetStatusBuilder
public AssetStatus.Builder getAssetStatusBuilder()
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAssetStatusOrBuilder
public AssetStatusOrBuilder getAssetStatusOrBuilder()
Output only. Aggregated status of the underlying assets of the lake.
.google.cloud.dataplex.v1.AssetStatus asset_status = 103 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAssetStatusOrBuilder
in interfaceLakeOrBuilder
-
hasMetastoreStatus
public boolean hasMetastoreStatus()
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasMetastoreStatus
in interfaceLakeOrBuilder
- Returns:
- Whether the metastoreStatus field is set.
-
getMetastoreStatus
public Lake.MetastoreStatus getMetastoreStatus()
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMetastoreStatus
in interfaceLakeOrBuilder
- Returns:
- The metastoreStatus.
-
setMetastoreStatus
public Lake.Builder setMetastoreStatus(Lake.MetastoreStatus value)
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setMetastoreStatus
public Lake.Builder setMetastoreStatus(Lake.MetastoreStatus.Builder builderForValue)
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeMetastoreStatus
public Lake.Builder mergeMetastoreStatus(Lake.MetastoreStatus value)
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearMetastoreStatus
public Lake.Builder clearMetastoreStatus()
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMetastoreStatusBuilder
public Lake.MetastoreStatus.Builder getMetastoreStatusBuilder()
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMetastoreStatusOrBuilder
public Lake.MetastoreStatusOrBuilder getMetastoreStatusOrBuilder()
Output only. Metastore status of the lake.
.google.cloud.dataplex.v1.Lake.MetastoreStatus metastore_status = 104 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getMetastoreStatusOrBuilder
in interfaceLakeOrBuilder
-
setUnknownFields
public final Lake.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
mergeUnknownFields
public final Lake.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Lake.Builder>
-
-