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.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Zone
build()
Zone
buildPartial()
Zone.Builder
clear()
Zone.Builder
clearAssetStatus()
Output only.Zone.Builder
clearCreateTime()
Output only.Zone.Builder
clearDescription()
Optional.Zone.Builder
clearDiscoverySpec()
Optional.Zone.Builder
clearDisplayName()
Optional.Zone.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Zone.Builder
clearLabels()
Zone.Builder
clearName()
Output only.Zone.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Zone.Builder
clearResourceSpec()
Required.Zone.Builder
clearState()
Output only.Zone.Builder
clearType()
Required.Zone.Builder
clearUid()
Output only.Zone.Builder
clearUpdateTime()
Output only.Zone.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.Zone
getDefaultInstanceForType()
String
getDescription()
Optional.com.google.protobuf.ByteString
getDescriptionBytes()
Optional.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
Zone.DiscoverySpec
getDiscoverySpec()
Optional.Zone.DiscoverySpec.Builder
getDiscoverySpecBuilder()
Optional.Zone.DiscoverySpecOrBuilder
getDiscoverySpecOrBuilder()
Optional.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.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.Zone.ResourceSpec
getResourceSpec()
Required.Zone.ResourceSpec.Builder
getResourceSpecBuilder()
Required.Zone.ResourceSpecOrBuilder
getResourceSpecOrBuilder()
Required.State
getState()
Output only.int
getStateValue()
Output only.Zone.Type
getType()
Required.int
getTypeValue()
Required.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
hasDiscoverySpec()
Optional.boolean
hasResourceSpec()
Required.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()
Zone.Builder
mergeAssetStatus(AssetStatus value)
Output only.Zone.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Zone.Builder
mergeDiscoverySpec(Zone.DiscoverySpec value)
Optional.Zone.Builder
mergeFrom(Zone other)
Zone.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Zone.Builder
mergeFrom(com.google.protobuf.Message other)
Zone.Builder
mergeResourceSpec(Zone.ResourceSpec value)
Required.Zone.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Zone.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Zone.Builder
putAllLabels(Map<String,String> values)
Optional.Zone.Builder
putLabels(String key, String value)
Optional.Zone.Builder
removeLabels(String key)
Optional.Zone.Builder
setAssetStatus(AssetStatus value)
Output only.Zone.Builder
setAssetStatus(AssetStatus.Builder builderForValue)
Output only.Zone.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Zone.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Zone.Builder
setDescription(String value)
Optional.Zone.Builder
setDescriptionBytes(com.google.protobuf.ByteString value)
Optional.Zone.Builder
setDiscoverySpec(Zone.DiscoverySpec value)
Optional.Zone.Builder
setDiscoverySpec(Zone.DiscoverySpec.Builder builderForValue)
Optional.Zone.Builder
setDisplayName(String value)
Optional.Zone.Builder
setDisplayNameBytes(com.google.protobuf.ByteString value)
Optional.Zone.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Zone.Builder
setName(String value)
Output only.Zone.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Zone.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Zone.Builder
setResourceSpec(Zone.ResourceSpec value)
Required.Zone.Builder
setResourceSpec(Zone.ResourceSpec.Builder builderForValue)
Required.Zone.Builder
setState(State value)
Output only.Zone.Builder
setStateValue(int value)
Output only.Zone.Builder
setType(Zone.Type value)
Required.Zone.Builder
setTypeValue(int value)
Required.Zone.Builder
setUid(String value)
Output only.Zone.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Zone.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Zone.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Zone.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<Zone.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
clear
public Zone.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<Zone.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<Zone.Builder>
-
getDefaultInstanceForType
public Zone getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Zone build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Zone buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Zone.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<Zone.Builder>
-
setField
public Zone.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<Zone.Builder>
-
clearField
public Zone.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<Zone.Builder>
-
clearOneof
public Zone.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<Zone.Builder>
-
setRepeatedField
public Zone.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<Zone.Builder>
-
addRepeatedField
public Zone.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<Zone.Builder>
-
mergeFrom
public Zone.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Zone.Builder>
-
mergeFrom
public Zone.Builder mergeFrom(Zone other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
getName
in 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:
getNameBytes
in 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:
getDisplayName
in 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:
getDisplayNameBytes
in 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:
getUid
in 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:
getUidBytes
in 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:
hasCreateTime
in 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:
getCreateTime
in 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:
getCreateTimeOrBuilder
in 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:
hasUpdateTime
in 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:
getUpdateTime
in 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:
getUpdateTimeOrBuilder
in interfaceZoneOrBuilder
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ZoneOrBuilder
Optional. User defined labels for the zone.
map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];
- Specified by:
getLabelsCount
in 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:
containsLabels
in interfaceZoneOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in 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:
getLabelsMap
in 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:
getLabelsOrDefault
in 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:
getLabelsOrThrow
in 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:
getDescription
in 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:
getDescriptionBytes
in 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:
getStateValue
in 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:
getState
in 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:
getTypeValue
in 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:
getType
in 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:
hasDiscoverySpec
in 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:
getDiscoverySpec
in 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:
getDiscoverySpecOrBuilder
in 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:
hasResourceSpec
in 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:
getResourceSpec
in 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:
getResourceSpecOrBuilder
in 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:
hasAssetStatus
in 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:
getAssetStatus
in 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:
getAssetStatusOrBuilder
in interfaceZoneOrBuilder
-
setUnknownFields
public final Zone.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
mergeUnknownFields
public final Zone.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Zone.Builder>
-
-