Package akka.remote.testconductor
Class TestConductorProtocol.InjectFailure.Builder
- java.lang.Object
-
- akka.protobufv3.internal.AbstractMessageLite.Builder
-
- akka.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- akka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
- akka.remote.testconductor.TestConductorProtocol.InjectFailure.Builder
-
- All Implemented Interfaces:
akka.protobufv3.internal.Message.Builder
,akka.protobufv3.internal.MessageLite.Builder
,akka.protobufv3.internal.MessageLiteOrBuilder
,akka.protobufv3.internal.MessageOrBuilder
,TestConductorProtocol.InjectFailureOrBuilder
,java.lang.Cloneable
- Enclosing class:
- TestConductorProtocol.InjectFailure
public static final class TestConductorProtocol.InjectFailure.Builder extends akka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder> implements TestConductorProtocol.InjectFailureOrBuilder
Protobuf typeInjectFailure
-
-
Method Summary
-
Methods inherited from class akka.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class akka.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class akka.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final akka.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected akka.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clear
public TestConductorProtocol.InjectFailure.Builder clear()
- Specified by:
clear
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
getDescriptorForType
public akka.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
getDefaultInstanceForType
public TestConductorProtocol.InjectFailure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceakka.protobufv3.internal.MessageOrBuilder
-
build
public TestConductorProtocol.InjectFailure build()
- Specified by:
build
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
buildPartial
public TestConductorProtocol.InjectFailure buildPartial()
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceakka.protobufv3.internal.MessageLite.Builder
-
clone
public TestConductorProtocol.InjectFailure.Builder clone()
- Specified by:
clone
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
setField
public TestConductorProtocol.InjectFailure.Builder setField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clearField
public TestConductorProtocol.InjectFailure.Builder clearField(akka.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clearOneof
public TestConductorProtocol.InjectFailure.Builder clearOneof(akka.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
setRepeatedField
public TestConductorProtocol.InjectFailure.Builder setRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
addRepeatedField
public TestConductorProtocol.InjectFailure.Builder addRepeatedField(akka.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeFrom
public TestConductorProtocol.InjectFailure.Builder mergeFrom(akka.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeFrom
public TestConductorProtocol.InjectFailure.Builder mergeFrom(TestConductorProtocol.InjectFailure other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfaceakka.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeFrom
public TestConductorProtocol.InjectFailure.Builder mergeFrom(akka.protobufv3.internal.CodedInputStream input, akka.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceakka.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classakka.protobufv3.internal.AbstractMessage.Builder<TestConductorProtocol.InjectFailure.Builder>
- Throws:
java.io.IOException
-
hasFailure
public boolean hasFailure()
required .FailType failure = 1;
- Specified by:
hasFailure
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- Whether the failure field is set.
-
getFailure
public TestConductorProtocol.FailType getFailure()
required .FailType failure = 1;
- Specified by:
getFailure
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- The failure.
-
setFailure
public TestConductorProtocol.InjectFailure.Builder setFailure(TestConductorProtocol.FailType value)
required .FailType failure = 1;
- Parameters:
value
- The failure to set.- Returns:
- This builder for chaining.
-
clearFailure
public TestConductorProtocol.InjectFailure.Builder clearFailure()
required .FailType failure = 1;
- Returns:
- This builder for chaining.
-
hasDirection
public boolean hasDirection()
optional .Direction direction = 2;
- Specified by:
hasDirection
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- Whether the direction field is set.
-
getDirection
public TestConductorProtocol.Direction getDirection()
optional .Direction direction = 2;
- Specified by:
getDirection
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- The direction.
-
setDirection
public TestConductorProtocol.InjectFailure.Builder setDirection(TestConductorProtocol.Direction value)
optional .Direction direction = 2;
- Parameters:
value
- The direction to set.- Returns:
- This builder for chaining.
-
clearDirection
public TestConductorProtocol.InjectFailure.Builder clearDirection()
optional .Direction direction = 2;
- Returns:
- This builder for chaining.
-
hasAddress
public boolean hasAddress()
optional .Address address = 3;
- Specified by:
hasAddress
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- Whether the address field is set.
-
getAddress
public TestConductorProtocol.Address getAddress()
optional .Address address = 3;
- Specified by:
getAddress
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- The address.
-
setAddress
public TestConductorProtocol.InjectFailure.Builder setAddress(TestConductorProtocol.Address value)
optional .Address address = 3;
-
setAddress
public TestConductorProtocol.InjectFailure.Builder setAddress(TestConductorProtocol.Address.Builder builderForValue)
optional .Address address = 3;
-
mergeAddress
public TestConductorProtocol.InjectFailure.Builder mergeAddress(TestConductorProtocol.Address value)
optional .Address address = 3;
-
clearAddress
public TestConductorProtocol.InjectFailure.Builder clearAddress()
optional .Address address = 3;
-
getAddressBuilder
public TestConductorProtocol.Address.Builder getAddressBuilder()
optional .Address address = 3;
-
getAddressOrBuilder
public TestConductorProtocol.AddressOrBuilder getAddressOrBuilder()
optional .Address address = 3;
- Specified by:
getAddressOrBuilder
in interfaceTestConductorProtocol.InjectFailureOrBuilder
-
hasRateMBit
public boolean hasRateMBit()
optional float rateMBit = 6;
- Specified by:
hasRateMBit
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- Whether the rateMBit field is set.
-
getRateMBit
public float getRateMBit()
optional float rateMBit = 6;
- Specified by:
getRateMBit
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- The rateMBit.
-
setRateMBit
public TestConductorProtocol.InjectFailure.Builder setRateMBit(float value)
optional float rateMBit = 6;
- Parameters:
value
- The rateMBit to set.- Returns:
- This builder for chaining.
-
clearRateMBit
public TestConductorProtocol.InjectFailure.Builder clearRateMBit()
optional float rateMBit = 6;
- Returns:
- This builder for chaining.
-
hasExitValue
public boolean hasExitValue()
optional int32 exitValue = 7;
- Specified by:
hasExitValue
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- Whether the exitValue field is set.
-
getExitValue
public int getExitValue()
optional int32 exitValue = 7;
- Specified by:
getExitValue
in interfaceTestConductorProtocol.InjectFailureOrBuilder
- Returns:
- The exitValue.
-
setExitValue
public TestConductorProtocol.InjectFailure.Builder setExitValue(int value)
optional int32 exitValue = 7;
- Parameters:
value
- The exitValue to set.- Returns:
- This builder for chaining.
-
clearExitValue
public TestConductorProtocol.InjectFailure.Builder clearExitValue()
optional int32 exitValue = 7;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final TestConductorProtocol.InjectFailure.Builder setUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeUnknownFields
public final TestConductorProtocol.InjectFailure.Builder mergeUnknownFields(akka.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceakka.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classakka.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
-