Class TestConductorProtocol.InjectFailure

java.lang.Object
org.apache.pekko.protobufv3.internal.AbstractMessageLite
org.apache.pekko.protobufv3.internal.AbstractMessage
org.apache.pekko.protobufv3.internal.GeneratedMessage
org.apache.pekko.remote.testconductor.TestConductorProtocol.InjectFailure
All Implemented Interfaces:
Serializable, org.apache.pekko.protobufv3.internal.Message, org.apache.pekko.protobufv3.internal.MessageLite, org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder, org.apache.pekko.protobufv3.internal.MessageOrBuilder, TestConductorProtocol.InjectFailureOrBuilder
Enclosing class:
TestConductorProtocol

public static final class TestConductorProtocol.InjectFailure extends org.apache.pekko.protobufv3.internal.GeneratedMessage implements TestConductorProtocol.InjectFailureOrBuilder
Protobuf type InjectFailure
See Also:
  • Field Details

  • Method Details

    • getDescriptor

      public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
    • getDescriptorForType

      public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder
      Overrides:
      getDescriptorForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • internalGetFieldAccessorTable

      protected org.apache.pekko.protobufv3.internal.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • hasFailure

      public boolean hasFailure()
      required .FailType failure = 1;
      Specified by:
      hasFailure in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      Whether the failure field is set.
    • getFailure

      public TestConductorProtocol.FailType getFailure()
      required .FailType failure = 1;
      Specified by:
      getFailure in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      The failure.
    • hasDirection

      public boolean hasDirection()
      optional .Direction direction = 2;
      Specified by:
      hasDirection in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      Whether the direction field is set.
    • getDirection

      public TestConductorProtocol.Direction getDirection()
      optional .Direction direction = 2;
      Specified by:
      getDirection in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      The direction.
    • hasAddress

      public boolean hasAddress()
      optional .Address address = 3;
      Specified by:
      hasAddress in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      Whether the address field is set.
    • getAddress

      public TestConductorProtocol.Address getAddress()
      optional .Address address = 3;
      Specified by:
      getAddress in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      The address.
    • getAddressOrBuilder

      public TestConductorProtocol.AddressOrBuilder getAddressOrBuilder()
      optional .Address address = 3;
      Specified by:
      getAddressOrBuilder in interface TestConductorProtocol.InjectFailureOrBuilder
    • hasRateMBit

      public boolean hasRateMBit()
      optional float rateMBit = 6;
      Specified by:
      hasRateMBit in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      Whether the rateMBit field is set.
    • getRateMBit

      public float getRateMBit()
      optional float rateMBit = 6;
      Specified by:
      getRateMBit in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      The rateMBit.
    • hasExitValue

      public boolean hasExitValue()
      optional int32 exitValue = 7;
      Specified by:
      hasExitValue in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      Whether the exitValue field is set.
    • getExitValue

      public int getExitValue()
      optional int32 exitValue = 7;
      Specified by:
      getExitValue in interface TestConductorProtocol.InjectFailureOrBuilder
      Returns:
      The exitValue.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Overrides:
      isInitialized in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • writeTo

      public void writeTo(org.apache.pekko.protobufv3.internal.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      writeTo in class org.apache.pekko.protobufv3.internal.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getSerializedSize in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      equals in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface org.apache.pekko.protobufv3.internal.Message
      Overrides:
      hashCode in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(ByteBuffer data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(ByteBuffer data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(org.apache.pekko.protobufv3.internal.ByteString data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(org.apache.pekko.protobufv3.internal.ByteString data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(byte[] data) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(byte[] data, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
      Throws:
      org.apache.pekko.protobufv3.internal.InvalidProtocolBufferException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TestConductorProtocol.InjectFailure parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static TestConductorProtocol.InjectFailure parseDelimitedFrom(InputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static TestConductorProtocol.InjectFailure parseFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public TestConductorProtocol.InjectFailure.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      newBuilderForType in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilder

      public static TestConductorProtocol.InjectFailure.Builder newBuilder()
    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      toBuilder in interface org.apache.pekko.protobufv3.internal.MessageLite
    • newBuilderForType

      protected TestConductorProtocol.InjectFailure.Builder newBuilderForType(org.apache.pekko.protobufv3.internal.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class org.apache.pekko.protobufv3.internal.AbstractMessage
    • getDefaultInstance

      public static TestConductorProtocol.InjectFailure getDefaultInstance()
    • parser

      public static org.apache.pekko.protobufv3.internal.Parser<TestConductorProtocol.InjectFailure> parser()
    • getParserForType

      public org.apache.pekko.protobufv3.internal.Parser<TestConductorProtocol.InjectFailure> getParserForType()
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.Message
      Specified by:
      getParserForType in interface org.apache.pekko.protobufv3.internal.MessageLite
      Overrides:
      getParserForType in class org.apache.pekko.protobufv3.internal.GeneratedMessage
    • getDefaultInstanceForType

      public TestConductorProtocol.InjectFailure getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface org.apache.pekko.protobufv3.internal.MessageOrBuilder