Package com.google.cloud.dataplex.v1
Class Zone.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
- com.google.cloud.dataplex.v1.Zone.Builder
-
- All Implemented Interfaces:
ZoneOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- Zone
public static final class Zone.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder> implements ZoneOrBuilder
A zone represents a logical group of related assets within a lake. A zone can be used to map to organizational structure or represent stages of data readiness from raw to curated. It provides managing behavior that is shared or inherited by all contained assets.
Protobuf typegoogle.cloud.dataplex.v1.Zone
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Zone.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Zonebuild()ZonebuildPartial()Zone.Builderclear()Zone.BuilderclearAssetStatus()Output only.Zone.BuilderclearCreateTime()Output only.Zone.BuilderclearDescription()Optional.Zone.BuilderclearDiscoverySpec()Optional.Zone.BuilderclearDisplayName()Optional.Zone.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Zone.BuilderclearLabels()Zone.BuilderclearName()Output only.Zone.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Zone.BuilderclearResourceSpec()Required.Zone.BuilderclearState()Output only.Zone.BuilderclearType()Required.Zone.BuilderclearUid()Output only.Zone.BuilderclearUpdateTime()Output only.Zone.Builderclone()booleancontainsLabels(String key)Optional.AssetStatusgetAssetStatus()Output only.AssetStatus.BuildergetAssetStatusBuilder()Output only.AssetStatusOrBuildergetAssetStatusOrBuilder()Output only.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.ZonegetDefaultInstanceForType()StringgetDescription()Optional.com.google.protobuf.ByteStringgetDescriptionBytes()Optional.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Zone.DiscoverySpecgetDiscoverySpec()Optional.Zone.DiscoverySpec.BuildergetDiscoverySpecBuilder()Optional.Zone.DiscoverySpecOrBuildergetDiscoverySpecOrBuilder()Optional.StringgetDisplayName()Optional.com.google.protobuf.ByteStringgetDisplayNameBytes()Optional.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Optional.Map<String,String>getLabelsMap()Optional.StringgetLabelsOrDefault(String key, String defaultValue)Optional.StringgetLabelsOrThrow(String key)Optional.Map<String,String>getMutableLabels()Deprecated.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.Zone.ResourceSpecgetResourceSpec()Required.Zone.ResourceSpec.BuildergetResourceSpecBuilder()Required.Zone.ResourceSpecOrBuildergetResourceSpecOrBuilder()Required.StategetState()Output only.intgetStateValue()Output only.Zone.TypegetType()Required.intgetTypeValue()Required.StringgetUid()Output only.com.google.protobuf.ByteStringgetUidBytes()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.booleanhasAssetStatus()Output only.booleanhasCreateTime()Output only.booleanhasDiscoverySpec()Optional.booleanhasResourceSpec()Required.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Zone.BuildermergeAssetStatus(AssetStatus value)Output only.Zone.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Zone.BuildermergeDiscoverySpec(Zone.DiscoverySpec value)Optional.Zone.BuildermergeFrom(Zone other)Zone.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Zone.BuildermergeFrom(com.google.protobuf.Message other)Zone.BuildermergeResourceSpec(Zone.ResourceSpec value)Required.Zone.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Zone.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Zone.BuilderputAllLabels(Map<String,String> values)Optional.Zone.BuilderputLabels(String key, String value)Optional.Zone.BuilderremoveLabels(String key)Optional.Zone.BuildersetAssetStatus(AssetStatus value)Output only.Zone.BuildersetAssetStatus(AssetStatus.Builder builderForValue)Output only.Zone.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Zone.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Zone.BuildersetDescription(String value)Optional.Zone.BuildersetDescriptionBytes(com.google.protobuf.ByteString value)Optional.Zone.BuildersetDiscoverySpec(Zone.DiscoverySpec value)Optional.Zone.BuildersetDiscoverySpec(Zone.DiscoverySpec.Builder builderForValue)Optional.Zone.BuildersetDisplayName(String value)Optional.Zone.BuildersetDisplayNameBytes(com.google.protobuf.ByteString value)Optional.Zone.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Zone.BuildersetName(String value)Output only.Zone.BuildersetNameBytes(com.google.protobuf.ByteString value)Output only.Zone.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Zone.BuildersetResourceSpec(Zone.ResourceSpec value)Required.Zone.BuildersetResourceSpec(Zone.ResourceSpec.Builder builderForValue)Required.Zone.BuildersetState(State value)Output only.Zone.BuildersetStateValue(int value)Output only.Zone.BuildersetType(Zone.Type value)Required.Zone.BuildersetTypeValue(int value)Required.Zone.BuildersetUid(String value)Output only.Zone.BuildersetUidBytes(com.google.protobuf.ByteString value)Output only.Zone.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Zone.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Zone.BuildersetUpdateTime(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
clear
public Zone.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.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.GeneratedMessageV3.Builder<Zone.Builder>
-
getDefaultInstanceForType
public Zone getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Zone build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Zone buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Zone.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
setField
public Zone.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
clearField
public Zone.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
clearOneof
public Zone.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
setRepeatedField
public Zone.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
addRepeatedField
public Zone.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
mergeFrom
public Zone.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Zone.Builder>
-
mergeFrom
public Zone.Builder mergeFrom(Zone other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
mergeFrom
public Zone.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<Zone.Builder>- Throws:
IOException
-
getName
public String getName()
Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNamein interfaceZoneOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Specified by:
getNameBytesin interfaceZoneOrBuilder- Returns:
- The bytes for name.
-
setName
public Zone.Builder setName(String value)
Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_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 Zone.Builder clearName()
Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_id}`.string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }- Returns:
- This builder for chaining.
-
setNameBytes
public Zone.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The relative resource name of the zone, of the form: `projects/{project_number}/locations/{location_id}/lakes/{lake_id}/zones/{zone_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:
getDisplayNamein interfaceZoneOrBuilder- 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:
getDisplayNameBytesin interfaceZoneOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
public Zone.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 Zone.Builder clearDisplayName()
Optional. User friendly display name.
string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDisplayNameBytes
public Zone.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 zone. This ID will be different if the zone is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidin interfaceZoneOrBuilder- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. System generated globally unique ID for the zone. This ID will be different if the zone is deleted and re-created with the same name.
string uid = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUidBytesin interfaceZoneOrBuilder- Returns:
- The bytes for uid.
-
setUid
public Zone.Builder setUid(String value)
Output only. System generated globally unique ID for the zone. This ID will be different if the zone 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 Zone.Builder clearUid()
Output only. System generated globally unique ID for the zone. This ID will be different if the zone 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 Zone.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. System generated globally unique ID for the zone. This ID will be different if the zone 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 zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasCreateTimein interfaceZoneOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. The time when the zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceZoneOrBuilder- Returns:
- The createTime.
-
setCreateTime
public Zone.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Zone.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Zone.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. The time when the zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Zone.Builder clearCreateTime()
Output only. The time when the zone 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 zone 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 zone was created.
.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimeOrBuilderin interfaceZoneOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The time when the zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceZoneOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The time when the zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceZoneOrBuilder- Returns:
- The updateTime.
-
setUpdateTime
public Zone.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Zone.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The time when the zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Zone.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The time when the zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Zone.Builder clearUpdateTime()
Output only. The time when the zone 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 zone 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 zone was last updated.
.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimeOrBuilderin interfaceZoneOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ZoneOrBuilderOptional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsCountin interfaceZoneOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
containsLabelsin interfaceZoneOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceZoneOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsMapin interfaceZoneOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrDefaultin interfaceZoneOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getLabelsOrThrowin interfaceZoneOrBuilder
-
clearLabels
public Zone.Builder clearLabels()
-
removeLabels
public Zone.Builder removeLabels(String key)
Optional. User defined labels for the zone.
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 Zone.Builder putLabels(String key, String value)
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
putAllLabels
public Zone.Builder putAllLabels(Map<String,String> values)
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
-
getDescription
public String getDescription()
Optional. Description of the zone.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionin interfaceZoneOrBuilder- Returns:
- The description.
-
getDescriptionBytes
public com.google.protobuf.ByteString getDescriptionBytes()
Optional. Description of the zone.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDescriptionBytesin interfaceZoneOrBuilder- Returns:
- The bytes for description.
-
setDescription
public Zone.Builder setDescription(String value)
Optional. Description of the zone.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The description to set.- Returns:
- This builder for chaining.
-
clearDescription
public Zone.Builder clearDescription()
Optional. Description of the zone.
string description = 7 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setDescriptionBytes
public Zone.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
Optional. Description of the zone.
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 zone.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStateValuein interfaceZoneOrBuilder- Returns:
- The enum numeric value on the wire for state.
-
setStateValue
public Zone.Builder setStateValue(int value)
Output only. Current state of the zone.
.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 zone.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getStatein interfaceZoneOrBuilder- Returns:
- The state.
-
setState
public Zone.Builder setState(State value)
Output only. Current state of the zone.
.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 Zone.Builder clearState()
Output only. Current state of the zone.
.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
Required. Immutable. The type of the zone.
.google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypeValuein interfaceZoneOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Zone.Builder setTypeValue(int value)
Required. Immutable. The type of the zone.
.google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
public Zone.Type getType()
Required. Immutable. The type of the zone.
.google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getTypein interfaceZoneOrBuilder- Returns:
- The type.
-
setType
public Zone.Builder setType(Zone.Type value)
Required. Immutable. The type of the zone.
.google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
clearType
public Zone.Builder clearType()
Required. Immutable. The type of the zone.
.google.cloud.dataplex.v1.Zone.Type type = 9 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Returns:
- This builder for chaining.
-
hasDiscoverySpec
public boolean hasDiscoverySpec()
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
hasDiscoverySpecin interfaceZoneOrBuilder- Returns:
- Whether the discoverySpec field is set.
-
getDiscoverySpec
public Zone.DiscoverySpec getDiscoverySpec()
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiscoverySpecin interfaceZoneOrBuilder- Returns:
- The discoverySpec.
-
setDiscoverySpec
public Zone.Builder setDiscoverySpec(Zone.DiscoverySpec value)
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];
-
setDiscoverySpec
public Zone.Builder setDiscoverySpec(Zone.DiscoverySpec.Builder builderForValue)
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];
-
mergeDiscoverySpec
public Zone.Builder mergeDiscoverySpec(Zone.DiscoverySpec value)
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];
-
clearDiscoverySpec
public Zone.Builder clearDiscoverySpec()
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];
-
getDiscoverySpecBuilder
public Zone.DiscoverySpec.Builder getDiscoverySpecBuilder()
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];
-
getDiscoverySpecOrBuilder
public Zone.DiscoverySpecOrBuilder getDiscoverySpecOrBuilder()
Optional. Specification of the discovery feature applied to data in this zone.
.google.cloud.dataplex.v1.Zone.DiscoverySpec discovery_spec = 103 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDiscoverySpecOrBuilderin interfaceZoneOrBuilder
-
hasResourceSpec
public boolean hasResourceSpec()
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasResourceSpecin interfaceZoneOrBuilder- Returns:
- Whether the resourceSpec field is set.
-
getResourceSpec
public Zone.ResourceSpec getResourceSpec()
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourceSpecin interfaceZoneOrBuilder- Returns:
- The resourceSpec.
-
setResourceSpec
public Zone.Builder setResourceSpec(Zone.ResourceSpec value)
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];
-
setResourceSpec
public Zone.Builder setResourceSpec(Zone.ResourceSpec.Builder builderForValue)
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];
-
mergeResourceSpec
public Zone.Builder mergeResourceSpec(Zone.ResourceSpec value)
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];
-
clearResourceSpec
public Zone.Builder clearResourceSpec()
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];
-
getResourceSpecBuilder
public Zone.ResourceSpec.Builder getResourceSpecBuilder()
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];
-
getResourceSpecOrBuilder
public Zone.ResourceSpecOrBuilder getResourceSpecOrBuilder()
Required. Specification of the resources that are referenced by the assets within this zone.
.google.cloud.dataplex.v1.Zone.ResourceSpec resource_spec = 104 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getResourceSpecOrBuilderin interfaceZoneOrBuilder
-
hasAssetStatus
public boolean hasAssetStatus()
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasAssetStatusin interfaceZoneOrBuilder- Returns:
- Whether the assetStatus field is set.
-
getAssetStatus
public AssetStatus getAssetStatus()
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAssetStatusin interfaceZoneOrBuilder- Returns:
- The assetStatus.
-
setAssetStatus
public Zone.Builder setAssetStatus(AssetStatus value)
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setAssetStatus
public Zone.Builder setAssetStatus(AssetStatus.Builder builderForValue)
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeAssetStatus
public Zone.Builder mergeAssetStatus(AssetStatus value)
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearAssetStatus
public Zone.Builder clearAssetStatus()
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAssetStatusBuilder
public AssetStatus.Builder getAssetStatusBuilder()
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAssetStatusOrBuilder
public AssetStatusOrBuilder getAssetStatusOrBuilder()
Output only. Aggregated status of the underlying assets of the zone.
.google.cloud.dataplex.v1.AssetStatus asset_status = 105 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getAssetStatusOrBuilderin interfaceZoneOrBuilder
-
setUnknownFields
public final Zone.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
mergeUnknownFields
public final Zone.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
-