Class Zone.ResourceSpec.Builder (1.91.0)
Stay organized with collections
Save and categorize content based on your preferences.
public static final class Zone.ResourceSpec.Builder extends GeneratedMessage.Builder<Zone.ResourceSpec.Builder> implements Zone.ResourceSpecOrBuilder
Settings for resources attached as assets within a zone.
Protobuf type google.cloud.dataplex.v1.Zone.ResourceSpec
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
build()
public Zone.ResourceSpec build()
buildPartial()
public Zone.ResourceSpec buildPartial()
clear()
public Zone.ResourceSpec.Builder clear()
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];
getDefaultInstanceForType()
public Zone.ResourceSpec getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getLocationType()
public Zone.ResourceSpec.LocationType getLocationType()
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];
getLocationTypeValue()
public int getLocationTypeValue()
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 |
int |
The enum numeric value on the wire for locationType.
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(Zone.ResourceSpec other)
public Zone.ResourceSpec.Builder mergeFrom(Zone.ResourceSpec other)
public Zone.ResourceSpec.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Zone.ResourceSpec.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
setLocationType(Zone.ResourceSpec.LocationType value)
public Zone.ResourceSpec.Builder setLocationType(Zone.ResourceSpec.LocationType value)
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];
setLocationTypeValue(int value)
public Zone.ResourceSpec.Builder setLocationTypeValue(int value)
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];
| Parameter |
| Name |
Description |
value |
int
The enum numeric value on the wire for locationType to set.
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-06-18 UTC.
[null,null,["Last updated 2026-06-18 UTC."],[],[]]