Class Region.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Region.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
io.temporal.api.cloud.region.v1.Region.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RegionOrBuilder, Cloneable
Enclosing class:
Region

public static final class Region.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder> implements RegionOrBuilder
Protobuf type temporal.api.cloud.region.v1.Region
  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • clear

      public Region.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.GeneratedMessageV3.Builder<Region.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.GeneratedMessageV3.Builder<Region.Builder>
    • getDefaultInstanceForType

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

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

      public Region buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public Region.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • setField

      public Region.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • clearField

      public Region.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • clearOneof

      public Region.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • setRepeatedField

      public Region.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • addRepeatedField

      public Region.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • mergeFrom

      public Region.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<Region.Builder>
    • mergeFrom

      public Region.Builder mergeFrom(Region other)
    • isInitialized

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

      public Region.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<Region.Builder>
      Throws:
      IOException
    • getId

      public String getId()
       The id of the temporal cloud region.
       
      string id = 1;
      Specified by:
      getId in interface RegionOrBuilder
      Returns:
      The id.
    • getIdBytes

      public com.google.protobuf.ByteString getIdBytes()
       The id of the temporal cloud region.
       
      string id = 1;
      Specified by:
      getIdBytes in interface RegionOrBuilder
      Returns:
      The bytes for id.
    • setId

      public Region.Builder setId(String value)
       The id of the temporal cloud region.
       
      string id = 1;
      Parameters:
      value - The id to set.
      Returns:
      This builder for chaining.
    • clearId

      public Region.Builder clearId()
       The id of the temporal cloud region.
       
      string id = 1;
      Returns:
      This builder for chaining.
    • setIdBytes

      public Region.Builder setIdBytes(com.google.protobuf.ByteString value)
       The id of the temporal cloud region.
       
      string id = 1;
      Parameters:
      value - The bytes for id to set.
      Returns:
      This builder for chaining.
    • getCloudProviderDeprecated

      @Deprecated public String getCloudProviderDeprecated()
      Deprecated.
      temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated. See temporal/api/cloud/region/v1/message.proto;l=18
       The name of the cloud provider that's hosting the region.
       Currently only "aws" is supported.
       Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. 
       temporal:versioning:max_version=v0.3.0
       
      string cloud_provider_deprecated = 2 [deprecated = true];
      Specified by:
      getCloudProviderDeprecated in interface RegionOrBuilder
      Returns:
      The cloudProviderDeprecated.
    • getCloudProviderDeprecatedBytes

      @Deprecated public com.google.protobuf.ByteString getCloudProviderDeprecatedBytes()
      Deprecated.
      temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated. See temporal/api/cloud/region/v1/message.proto;l=18
       The name of the cloud provider that's hosting the region.
       Currently only "aws" is supported.
       Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. 
       temporal:versioning:max_version=v0.3.0
       
      string cloud_provider_deprecated = 2 [deprecated = true];
      Specified by:
      getCloudProviderDeprecatedBytes in interface RegionOrBuilder
      Returns:
      The bytes for cloudProviderDeprecated.
    • setCloudProviderDeprecated

      @Deprecated public Region.Builder setCloudProviderDeprecated(String value)
      Deprecated.
      temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated. See temporal/api/cloud/region/v1/message.proto;l=18
       The name of the cloud provider that's hosting the region.
       Currently only "aws" is supported.
       Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. 
       temporal:versioning:max_version=v0.3.0
       
      string cloud_provider_deprecated = 2 [deprecated = true];
      Parameters:
      value - The cloudProviderDeprecated to set.
      Returns:
      This builder for chaining.
    • clearCloudProviderDeprecated

      @Deprecated public Region.Builder clearCloudProviderDeprecated()
      Deprecated.
      temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated. See temporal/api/cloud/region/v1/message.proto;l=18
       The name of the cloud provider that's hosting the region.
       Currently only "aws" is supported.
       Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. 
       temporal:versioning:max_version=v0.3.0
       
      string cloud_provider_deprecated = 2 [deprecated = true];
      Returns:
      This builder for chaining.
    • setCloudProviderDeprecatedBytes

      @Deprecated public Region.Builder setCloudProviderDeprecatedBytes(com.google.protobuf.ByteString value)
      Deprecated.
      temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated. See temporal/api/cloud/region/v1/message.proto;l=18
       The name of the cloud provider that's hosting the region.
       Currently only "aws" is supported.
       Deprecated: Not supported after v0.3.0 api version. Use cloud_provider instead. 
       temporal:versioning:max_version=v0.3.0
       
      string cloud_provider_deprecated = 2 [deprecated = true];
      Parameters:
      value - The bytes for cloudProviderDeprecated to set.
      Returns:
      This builder for chaining.
    • getCloudProviderValue

      public int getCloudProviderValue()
       The cloud provider that's hosting the region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=cloud_provider_deprecated
       
      .temporal.api.cloud.region.v1.Region.CloudProvider cloud_provider = 5;
      Specified by:
      getCloudProviderValue in interface RegionOrBuilder
      Returns:
      The enum numeric value on the wire for cloudProvider.
    • setCloudProviderValue

      public Region.Builder setCloudProviderValue(int value)
       The cloud provider that's hosting the region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=cloud_provider_deprecated
       
      .temporal.api.cloud.region.v1.Region.CloudProvider cloud_provider = 5;
      Parameters:
      value - The enum numeric value on the wire for cloudProvider to set.
      Returns:
      This builder for chaining.
    • getCloudProvider

      public Region.CloudProvider getCloudProvider()
       The cloud provider that's hosting the region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=cloud_provider_deprecated
       
      .temporal.api.cloud.region.v1.Region.CloudProvider cloud_provider = 5;
      Specified by:
      getCloudProvider in interface RegionOrBuilder
      Returns:
      The cloudProvider.
    • setCloudProvider

      public Region.Builder setCloudProvider(Region.CloudProvider value)
       The cloud provider that's hosting the region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=cloud_provider_deprecated
       
      .temporal.api.cloud.region.v1.Region.CloudProvider cloud_provider = 5;
      Parameters:
      value - The cloudProvider to set.
      Returns:
      This builder for chaining.
    • clearCloudProvider

      public Region.Builder clearCloudProvider()
       The cloud provider that's hosting the region.
       temporal:versioning:min_version=v0.3.0
       temporal:enums:replaces=cloud_provider_deprecated
       
      .temporal.api.cloud.region.v1.Region.CloudProvider cloud_provider = 5;
      Returns:
      This builder for chaining.
    • getCloudProviderRegion

      public String getCloudProviderRegion()
       The region identifier as defined by the cloud provider.
       
      string cloud_provider_region = 3;
      Specified by:
      getCloudProviderRegion in interface RegionOrBuilder
      Returns:
      The cloudProviderRegion.
    • getCloudProviderRegionBytes

      public com.google.protobuf.ByteString getCloudProviderRegionBytes()
       The region identifier as defined by the cloud provider.
       
      string cloud_provider_region = 3;
      Specified by:
      getCloudProviderRegionBytes in interface RegionOrBuilder
      Returns:
      The bytes for cloudProviderRegion.
    • setCloudProviderRegion

      public Region.Builder setCloudProviderRegion(String value)
       The region identifier as defined by the cloud provider.
       
      string cloud_provider_region = 3;
      Parameters:
      value - The cloudProviderRegion to set.
      Returns:
      This builder for chaining.
    • clearCloudProviderRegion

      public Region.Builder clearCloudProviderRegion()
       The region identifier as defined by the cloud provider.
       
      string cloud_provider_region = 3;
      Returns:
      This builder for chaining.
    • setCloudProviderRegionBytes

      public Region.Builder setCloudProviderRegionBytes(com.google.protobuf.ByteString value)
       The region identifier as defined by the cloud provider.
       
      string cloud_provider_region = 3;
      Parameters:
      value - The bytes for cloudProviderRegion to set.
      Returns:
      This builder for chaining.
    • getLocation

      public String getLocation()
       The human readable location of the region.
       
      string location = 4;
      Specified by:
      getLocation in interface RegionOrBuilder
      Returns:
      The location.
    • getLocationBytes

      public com.google.protobuf.ByteString getLocationBytes()
       The human readable location of the region.
       
      string location = 4;
      Specified by:
      getLocationBytes in interface RegionOrBuilder
      Returns:
      The bytes for location.
    • setLocation

      public Region.Builder setLocation(String value)
       The human readable location of the region.
       
      string location = 4;
      Parameters:
      value - The location to set.
      Returns:
      This builder for chaining.
    • clearLocation

      public Region.Builder clearLocation()
       The human readable location of the region.
       
      string location = 4;
      Returns:
      This builder for chaining.
    • setLocationBytes

      public Region.Builder setLocationBytes(com.google.protobuf.ByteString value)
       The human readable location of the region.
       
      string location = 4;
      Parameters:
      value - The bytes for location to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final Region.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>
    • mergeUnknownFields

      public final Region.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Region.Builder>