Class Region

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.temporal.api.cloud.region.v1.Region
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, RegionOrBuilder, Serializable

@Generated(value="protoc", comments="annotations:Region.java.pb.meta") public final class Region extends com.google.protobuf.GeneratedMessageV3 implements RegionOrBuilder
Protobuf type temporal.api.cloud.region.v1.Region
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Protobuf type temporal.api.cloud.region.v1.Region
    static enum 
    The cloud provider that's hosting the region.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3

    com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    The cloud provider that's hosting the region.
    Deprecated.
    temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated.
    com.google.protobuf.ByteString
    Deprecated.
    temporal.api.cloud.region.v1.Region.cloud_provider_deprecated is deprecated.
    The region identifier as defined by the cloud provider.
    com.google.protobuf.ByteString
    The region identifier as defined by the cloud provider.
    int
    The cloud provider that's hosting the region.
    static Region
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    The id of the temporal cloud region.
    com.google.protobuf.ByteString
    The id of the temporal cloud region.
    The human readable location of the region.
    com.google.protobuf.ByteString
    The human readable location of the region.
    com.google.protobuf.Parser<Region>
     
    int
     
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
    newBuilder(Region prototype)
     
     
    protected Region.Builder
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
    static Region
     
    static Region
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Region
    parseFrom(byte[] data)
     
    static Region
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Region
    parseFrom(com.google.protobuf.ByteString data)
     
    static Region
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Region
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    static Region
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Region
     
    static Region
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static Region
     
    static Region
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<Region>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

    • ID_FIELD_NUMBER

      public static final int ID_FIELD_NUMBER
      See Also:
    • CLOUD_PROVIDER_DEPRECATED_FIELD_NUMBER

      public static final int CLOUD_PROVIDER_DEPRECATED_FIELD_NUMBER
      See Also:
    • CLOUD_PROVIDER_FIELD_NUMBER

      public static final int CLOUD_PROVIDER_FIELD_NUMBER
      See Also:
    • CLOUD_PROVIDER_REGION_FIELD_NUMBER

      public static final int CLOUD_PROVIDER_REGION_FIELD_NUMBER
      See Also:
    • LOCATION_FIELD_NUMBER

      public static final int LOCATION_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • 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.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Region parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Region parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Region parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Region parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Region parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Region parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Region parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

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

      public static Region.Builder newBuilder()
    • newBuilder

      public static Region.Builder newBuilder(Region prototype)
    • toBuilder

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

      protected Region.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Region getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Region> parser()
    • getParserForType

      public com.google.protobuf.Parser<Region> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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