Class Zone.ResourceSpec.Builder (1.40.0)

public static final class Zone.ResourceSpec.Builder extends GeneratedMessageV3.Builder<Zone.ResourceSpec.Builder> implements Zone.ResourceSpecOrBuilder

Settings for resources attached as assets within a zone.

Protobuf type google.cloud.dataplex.v1.Zone.ResourceSpec

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Zone.ResourceSpec.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
Zone.ResourceSpec.Builder
Overrides

build()

public Zone.ResourceSpec build()
Returns
Type Description
Zone.ResourceSpec

buildPartial()

public Zone.ResourceSpec buildPartial()
Returns
Type Description
Zone.ResourceSpec

clear()

public Zone.ResourceSpec.Builder clear()
Returns
Type Description
Zone.ResourceSpec.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public Zone.ResourceSpec.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
Zone.ResourceSpec.Builder
Overrides

clearLocationType()

public Zone.ResourceSpec.Builder clearLocationType()

Required. Immutable. The location type of the resources that are allowed to be attached to the assets within this zone.

.google.cloud.dataplex.v1.Zone.ResourceSpec.LocationType location_type = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
Zone.ResourceSpec.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Zone.ResourceSpec.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
Zone.ResourceSpec.Builder
Overrides

clone()

public Zone.ResourceSpec.Builder clone()
Returns
Type Description
Zone.ResourceSpec.Builder
Overrides

getDefaultInstanceForType()

public Zone.ResourceSpec getDefaultInstanceForType()
Returns
Type Description
Zone.ResourceSpec

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor