Class Zone.ResourceSpec.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<Zone.ResourceSpec.Builder>
com.google.cloud.dataplex.v1.Zone.ResourceSpec.Builder
All Implemented Interfaces:
Zone.ResourceSpecOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
Zone.ResourceSpec

public static final class Zone.ResourceSpec.Builder extends com.google.protobuf.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
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<Zone.ResourceSpec.Builder>
    • clear

      public Zone.ResourceSpec.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<Zone.ResourceSpec.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<Zone.ResourceSpec.Builder>
    • getDefaultInstanceForType

      public Zone.ResourceSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public Zone.ResourceSpec build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public Zone.ResourceSpec buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public Zone.ResourceSpec.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Zone.ResourceSpec.Builder>
    • mergeFrom

      public Zone.ResourceSpec.Builder mergeFrom(Zone.ResourceSpec other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<Zone.ResourceSpec.Builder>
    • mergeFrom

      public Zone.ResourceSpec.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<Zone.ResourceSpec.Builder>
      Throws:
      IOException
    • 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];
      Specified by:
      getLocationTypeValue in interface Zone.ResourceSpecOrBuilder
      Returns:
      The enum numeric value on the wire for locationType.
    • setLocationTypeValue

      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];
      Parameters:
      value - The enum numeric value on the wire for locationType to set.
      Returns:
      This builder for chaining.
    • 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];
      Specified by:
      getLocationType in interface Zone.ResourceSpecOrBuilder
      Returns:
      The locationType.
    • setLocationType

       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];
      Parameters:
      value - The locationType to set.
      Returns:
      This builder for chaining.
    • 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:
      This builder for chaining.