Class ConnectivityRuleSpec

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

@Generated(value="protoc", comments="annotations:ConnectivityRuleSpec.java.pb.meta") public final class ConnectivityRuleSpec extends com.google.protobuf.GeneratedMessageV3 implements ConnectivityRuleSpecOrBuilder
 The connectivity rule specification passed in on create/update operations.
 
Protobuf type temporal.api.cloud.connectivityrule.v1.ConnectivityRuleSpec
See Also:
  • Field Details

    • PUBLIC_RULE_FIELD_NUMBER

      public static final int PUBLIC_RULE_FIELD_NUMBER
      See Also:
    • PRIVATE_RULE_FIELD_NUMBER

      public static final int PRIVATE_RULE_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
    • getConnectionTypeCase

      public ConnectivityRuleSpec.ConnectionTypeCase getConnectionTypeCase()
      Specified by:
      getConnectionTypeCase in interface ConnectivityRuleSpecOrBuilder
    • hasPublicRule

      public boolean hasPublicRule()
       This allows access via public internet.
       
      .temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule public_rule = 1;
      Specified by:
      hasPublicRule in interface ConnectivityRuleSpecOrBuilder
      Returns:
      Whether the publicRule field is set.
    • getPublicRule

      public PublicConnectivityRule getPublicRule()
       This allows access via public internet.
       
      .temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule public_rule = 1;
      Specified by:
      getPublicRule in interface ConnectivityRuleSpecOrBuilder
      Returns:
      The publicRule.
    • getPublicRuleOrBuilder

      public PublicConnectivityRuleOrBuilder getPublicRuleOrBuilder()
       This allows access via public internet.
       
      .temporal.api.cloud.connectivityrule.v1.PublicConnectivityRule public_rule = 1;
      Specified by:
      getPublicRuleOrBuilder in interface ConnectivityRuleSpecOrBuilder
    • hasPrivateRule

      public boolean hasPrivateRule()
       This allows access via specific private vpc.
       
      .temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule private_rule = 2;
      Specified by:
      hasPrivateRule in interface ConnectivityRuleSpecOrBuilder
      Returns:
      Whether the privateRule field is set.
    • getPrivateRule

      public PrivateConnectivityRule getPrivateRule()
       This allows access via specific private vpc.
       
      .temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule private_rule = 2;
      Specified by:
      getPrivateRule in interface ConnectivityRuleSpecOrBuilder
      Returns:
      The privateRule.
    • getPrivateRuleOrBuilder

      public PrivateConnectivityRuleOrBuilder getPrivateRuleOrBuilder()
       This allows access via specific private vpc.
       
      .temporal.api.cloud.connectivityrule.v1.PrivateConnectivityRule private_rule = 2;
      Specified by:
      getPrivateRuleOrBuilder in interface ConnectivityRuleSpecOrBuilder
    • 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 ConnectivityRuleSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

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

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

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

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

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

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

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

      public static ConnectivityRuleSpec.Builder newBuilder()
    • newBuilder

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

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

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

      public static ConnectivityRuleSpec getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<ConnectivityRuleSpec> 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 ConnectivityRuleSpec getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder