Class TestConductorProtocol.InjectFailure.Builder
- java.lang.Object
-
- org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
-
- org.apache.pekko.protobufv3.internal.AbstractMessage.Builder<BuilderType>
-
- org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
- org.apache.pekko.remote.testconductor.TestConductorProtocol.InjectFailure.Builder
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.pekko.protobufv3.internal.Message.Builder
,org.apache.pekko.protobufv3.internal.MessageLite.Builder
,org.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
,org.apache.pekko.protobufv3.internal.MessageOrBuilder
,TestConductorProtocol.InjectFailureOrBuilder
- Enclosing class:
- TestConductorProtocol.InjectFailure
public static final class TestConductorProtocol.InjectFailure.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder> implements TestConductorProtocol.InjectFailureOrBuilder
Protobuf typeInjectFailure
-
-
Method Summary
-
Methods inherited from class org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.apache.pekko.protobufv3.internal.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clear
public TestConductorProtocol.InjectFailure.Builder clear()
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clear
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clear
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
getDescriptorForType
public org.apache.pekko.protobufv3.internal.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
getDescriptorForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
- Overrides:
getDescriptorForType
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
getDefaultInstanceForType
public TestConductorProtocol.InjectFailure getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public TestConductorProtocol.InjectFailure build()
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
build
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
buildPartial
public TestConductorProtocol.InjectFailure buildPartial()
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
buildPartial
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
-
clone
public TestConductorProtocol.InjectFailure.Builder clone()
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
clone
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
clone
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
setField
public TestConductorProtocol.InjectFailure.Builder setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clearField
public TestConductorProtocol.InjectFailure.Builder clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
clearOneof
public TestConductorProtocol.InjectFailure.Builder clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
clearOneof
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
setRepeatedField
public TestConductorProtocol.InjectFailure.Builder setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
addRepeatedField
public TestConductorProtocol.InjectFailure.Builder addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
addRepeatedField
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeFrom
public TestConductorProtocol.InjectFailure.Builder mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.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 interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Overrides:
isInitialized
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeFrom
public TestConductorProtocol.InjectFailure.Builder mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Specified by:
mergeFrom
in interfaceorg.apache.pekko.protobufv3.internal.MessageLite.Builder
- Overrides:
mergeFrom
in classorg.apache.pekko.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(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
setUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
mergeUnknownFields
public final TestConductorProtocol.InjectFailure.Builder mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfaceorg.apache.pekko.protobufv3.internal.Message.Builder
- Overrides:
mergeUnknownFields
in classorg.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<TestConductorProtocol.InjectFailure.Builder>
-
-