Class Zone.Builder (1.0.1)

public static final class Zone.Builder extends 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 type google.cloud.dataplex.v1.Zone

Implements

ZoneOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Zone.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Zone.Builder
Overrides

build()

public Zone build()
Returns
TypeDescription
Zone

buildPartial()

public Zone buildPartial()
Returns
TypeDescription
Zone

clear()

public Zone.Builder clear()
Returns
TypeDescription
Zone.Builder
Overrides

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];

Returns
TypeDescription
Zone.Builder

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];

Returns
TypeDescription
Zone.Builder

clearDescription()

public Zone.Builder clearDescription()

Optional. Description of the zone.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Zone.Builder

This builder for chaining.

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];

Returns
TypeDescription
Zone.Builder

clearDisplayName()

public Zone.Builder clearDisplayName()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Zone.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Zone.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Zone.Builder
Overrides

clearLabels()

public Zone.Builder clearLabels()
Returns
TypeDescription
Zone.Builder

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
TypeDescription
Zone.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Zone.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Zone.Builder
Overrides

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];

Returns
TypeDescription
Zone.Builder

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
TypeDescription
Zone.Builder

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
TypeDescription
Zone.Builder

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
TypeDescription
Zone.Builder

This builder for chaining.

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];

Returns
TypeDescription
Zone.Builder

clone()

public Zone.Builder clone()
Returns
TypeDescription
Zone.Builder
Overrides

containsLabels(String key)

public boolean containsLabels(String key)

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
boolean

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];

Returns
TypeDescription
AssetStatus

The assetStatus.

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];

Returns
TypeDescription
AssetStatus.Builder

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];

Returns
TypeDescription
AssetStatusOrBuilder

getCreateTime()

public Timestamp getCreateTime()

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public Zone getDefaultInstanceForType()
Returns
TypeDescription
Zone

getDescription()

public String getDescription()

Optional. Description of the zone.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

Optional. Description of the zone.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for description.

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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];

Returns
TypeDescription
Zone.DiscoverySpec

The discoverySpec.

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];

Returns
TypeDescription
Zone.DiscoverySpec.Builder

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];

Returns
TypeDescription
Zone.DiscoverySpecOrBuilder

getDisplayName()

public String getDisplayName()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public ByteString getDisplayNameBytes()

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
ByteString

The bytes for displayName.

getLabels()

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameters
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getMutableLabels()

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
TypeDescription
Map<String,String>

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) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public 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) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

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];

Returns
TypeDescription
Zone.ResourceSpec

The resourceSpec.

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];

Returns
TypeDescription
Zone.ResourceSpec.Builder

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];

Returns
TypeDescription
Zone.ResourceSpecOrBuilder

getState()

public State getState()

Output only. Current state of the zone.

.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
State

The state.

getStateValue()

public int getStateValue()

Output only. Current state of the zone.

.google.cloud.dataplex.v1.State state = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for state.

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];

Returns
TypeDescription
Zone.Type

The type.

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];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

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];

Returns
TypeDescription
String

The uid.

getUidBytes()

public 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];

Returns
TypeDescription
ByteString

The bytes for uid.

getUpdateTime()

public Timestamp getUpdateTime()

Output only. The time when the zone was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Timestamp

The updateTime.

getUpdateTimeBuilder()

public 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];

Returns
TypeDescription
Builder

getUpdateTimeOrBuilder()

public TimestampOrBuilder getUpdateTimeOrBuilder()

Output only. The time when the zone was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
TimestampOrBuilder

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];

Returns
TypeDescription
boolean

Whether the assetStatus field is set.

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];

Returns
TypeDescription
boolean

Whether the createTime field is set.

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];

Returns
TypeDescription
boolean

Whether the discoverySpec field is set.

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];

Returns
TypeDescription
boolean

Whether the resourceSpec field is set.

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];

Returns
TypeDescription
boolean

Whether the updateTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

internalGetMapField(int number)

protected MapField internalGetMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

internalGetMutableMapField(int number)

protected MapField internalGetMutableMapField(int number)
Parameter
NameDescription
numberint
Returns
TypeDescription
MapField
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeAssetStatus(AssetStatus value)

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];

Parameter
NameDescription
valueAssetStatus
Returns
TypeDescription
Zone.Builder

mergeCreateTime(Timestamp value)

public Zone.Builder mergeCreateTime(Timestamp value)

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Zone.Builder

mergeDiscoverySpec(Zone.DiscoverySpec value)

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];

Parameter
NameDescription
valueZone.DiscoverySpec
Returns
TypeDescription
Zone.Builder

mergeFrom(Zone other)

public Zone.Builder mergeFrom(Zone other)
Parameter
NameDescription
otherZone
Returns
TypeDescription
Zone.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Zone.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Zone.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Zone.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Zone.Builder
Overrides

mergeResourceSpec(Zone.ResourceSpec value)

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];

Parameter
NameDescription
valueZone.ResourceSpec
Returns
TypeDescription
Zone.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Zone.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Zone.Builder
Overrides

mergeUpdateTime(Timestamp value)

public Zone.Builder mergeUpdateTime(Timestamp value)

Output only. The time when the zone was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Zone.Builder

putAllLabels(Map<String,String> values)

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];

Parameter
NameDescription
valuesMap<String,String>
Returns
TypeDescription
Zone.Builder

putLabels(String key, String value)

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];

Parameters
NameDescription
keyString
valueString
Returns
TypeDescription
Zone.Builder

removeLabels(String key)

public Zone.Builder removeLabels(String key)

Optional. User defined labels for the zone.

map<string, string> labels = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
keyString
Returns
TypeDescription
Zone.Builder

setAssetStatus(AssetStatus value)

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];

Parameter
NameDescription
valueAssetStatus
Returns
TypeDescription
Zone.Builder

setAssetStatus(AssetStatus.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueAssetStatus.Builder
Returns
TypeDescription
Zone.Builder

setCreateTime(Timestamp value)

public Zone.Builder setCreateTime(Timestamp value)

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Zone.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Zone.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The time when the zone was created.

.google.protobuf.Timestamp create_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Zone.Builder

setDescription(String value)

public Zone.Builder setDescription(String value)

Optional. Description of the zone.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The description to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setDescriptionBytes(ByteString value)

public Zone.Builder setDescriptionBytes(ByteString value)

Optional. Description of the zone.

string description = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for description to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setDiscoverySpec(Zone.DiscoverySpec value)

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];

Parameter
NameDescription
valueZone.DiscoverySpec
Returns
TypeDescription
Zone.Builder

setDiscoverySpec(Zone.DiscoverySpec.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueZone.DiscoverySpec.Builder
Returns
TypeDescription
Zone.Builder

setDisplayName(String value)

public Zone.Builder setDisplayName(String value)

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueString

The displayName to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setDisplayNameBytes(ByteString value)

public Zone.Builder setDisplayNameBytes(ByteString value)

Optional. User friendly display name.

string display_name = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
NameDescription
valueByteString

The bytes for displayName to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Zone.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Zone.Builder
Overrides

setName(String value)

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) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Zone.Builder setNameBytes(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) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public Zone.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Zone.Builder
Overrides

setResourceSpec(Zone.ResourceSpec value)

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];

Parameter
NameDescription
valueZone.ResourceSpec
Returns
TypeDescription
Zone.Builder

setResourceSpec(Zone.ResourceSpec.Builder builderForValue)

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];

Parameter
NameDescription
builderForValueZone.ResourceSpec.Builder
Returns
TypeDescription
Zone.Builder

setState(State value)

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];

Parameter
NameDescription
valueState

The state to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setStateValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for state to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setType(Zone.Type value)

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];

Parameter
NameDescription
valueZone.Type

The type to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setTypeValue(int value)

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];

Parameter
NameDescription
valueint

The enum numeric value on the wire for type to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setUid(String value)

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];

Parameter
NameDescription
valueString

The uid to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setUidBytes(ByteString value)

public Zone.Builder setUidBytes(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];

Parameter
NameDescription
valueByteString

The bytes for uid to set.

Returns
TypeDescription
Zone.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final Zone.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Zone.Builder
Overrides

setUpdateTime(Timestamp value)

public Zone.Builder setUpdateTime(Timestamp value)

Output only. The time when the zone was last updated.

.google.protobuf.Timestamp update_time = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
Zone.Builder

setUpdateTime(Timestamp.Builder builderForValue)

public Zone.Builder setUpdateTime(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];

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
Zone.Builder