Package org.apache.pekko.remote
Class WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
- org.apache.pekko.remote.WireFormats.PekkoHandshakeInfo.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
,WireFormats.PekkoHandshakeInfoOrBuilder
- Enclosing class:
- WireFormats.PekkoHandshakeInfo
public static final class WireFormats.PekkoHandshakeInfo.Builder extends org.apache.pekko.protobufv3.internal.GeneratedMessageV3.Builder<WireFormats.PekkoHandshakeInfo.Builder> implements WireFormats.PekkoHandshakeInfoOrBuilder
Protobuf typePekkoHandshakeInfo
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description WireFormats.PekkoHandshakeInfo.Builder
addRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.PekkoHandshakeInfo
build()
WireFormats.PekkoHandshakeInfo
buildPartial()
WireFormats.PekkoHandshakeInfo.Builder
clear()
WireFormats.PekkoHandshakeInfo.Builder
clearCookie()
optional string cookie = 3;
WireFormats.PekkoHandshakeInfo.Builder
clearField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field)
WireFormats.PekkoHandshakeInfo.Builder
clearOneof(org.apache.pekko.protobufv3.internal.Descriptors.OneofDescriptor oneof)
WireFormats.PekkoHandshakeInfo.Builder
clearOrigin()
required .AddressData origin = 1;
WireFormats.PekkoHandshakeInfo.Builder
clearUid()
required fixed64 uid = 2;
WireFormats.PekkoHandshakeInfo.Builder
clone()
java.lang.String
getCookie()
optional string cookie = 3;
org.apache.pekko.protobufv3.internal.ByteString
getCookieBytes()
optional string cookie = 3;
WireFormats.PekkoHandshakeInfo
getDefaultInstanceForType()
static org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptor()
org.apache.pekko.protobufv3.internal.Descriptors.Descriptor
getDescriptorForType()
WireFormats.AddressData
getOrigin()
required .AddressData origin = 1;
WireFormats.AddressData.Builder
getOriginBuilder()
required .AddressData origin = 1;
WireFormats.AddressDataOrBuilder
getOriginOrBuilder()
required .AddressData origin = 1;
long
getUid()
required fixed64 uid = 2;
boolean
hasCookie()
optional string cookie = 3;
boolean
hasOrigin()
required .AddressData origin = 1;
boolean
hasUid()
required fixed64 uid = 2;
protected org.apache.pekko.protobufv3.internal.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
WireFormats.PekkoHandshakeInfo.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.CodedInputStream input, org.apache.pekko.protobufv3.internal.ExtensionRegistryLite extensionRegistry)
WireFormats.PekkoHandshakeInfo.Builder
mergeFrom(org.apache.pekko.protobufv3.internal.Message other)
WireFormats.PekkoHandshakeInfo.Builder
mergeFrom(WireFormats.PekkoHandshakeInfo other)
WireFormats.PekkoHandshakeInfo.Builder
mergeOrigin(WireFormats.AddressData value)
required .AddressData origin = 1;
WireFormats.PekkoHandshakeInfo.Builder
mergeUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
WireFormats.PekkoHandshakeInfo.Builder
setCookie(java.lang.String value)
optional string cookie = 3;
WireFormats.PekkoHandshakeInfo.Builder
setCookieBytes(org.apache.pekko.protobufv3.internal.ByteString value)
optional string cookie = 3;
WireFormats.PekkoHandshakeInfo.Builder
setField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, java.lang.Object value)
WireFormats.PekkoHandshakeInfo.Builder
setOrigin(WireFormats.AddressData value)
required .AddressData origin = 1;
WireFormats.PekkoHandshakeInfo.Builder
setOrigin(WireFormats.AddressData.Builder builderForValue)
required .AddressData origin = 1;
WireFormats.PekkoHandshakeInfo.Builder
setRepeatedField(org.apache.pekko.protobufv3.internal.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
WireFormats.PekkoHandshakeInfo.Builder
setUid(long value)
required fixed64 uid = 2;
WireFormats.PekkoHandshakeInfo.Builder
setUnknownFields(org.apache.pekko.protobufv3.internal.UnknownFieldSet unknownFields)
-
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<WireFormats.PekkoHandshakeInfo.Builder>
-
clear
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
getDefaultInstanceForType
public WireFormats.PekkoHandshakeInfo getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfaceorg.apache.pekko.protobufv3.internal.MessageOrBuilder
-
build
public WireFormats.PekkoHandshakeInfo 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 WireFormats.PekkoHandshakeInfo 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 WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
setField
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
clearField
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
clearOneof
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
setRepeatedField
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
addRepeatedField
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
mergeFrom
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
mergeFrom
public WireFormats.PekkoHandshakeInfo.Builder mergeFrom(WireFormats.PekkoHandshakeInfo 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<WireFormats.PekkoHandshakeInfo.Builder>
-
mergeFrom
public WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
- Throws:
java.io.IOException
-
hasOrigin
public boolean hasOrigin()
required .AddressData origin = 1;
- Specified by:
hasOrigin
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- Whether the origin field is set.
-
getOrigin
public WireFormats.AddressData getOrigin()
required .AddressData origin = 1;
- Specified by:
getOrigin
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- The origin.
-
setOrigin
public WireFormats.PekkoHandshakeInfo.Builder setOrigin(WireFormats.AddressData value)
required .AddressData origin = 1;
-
setOrigin
public WireFormats.PekkoHandshakeInfo.Builder setOrigin(WireFormats.AddressData.Builder builderForValue)
required .AddressData origin = 1;
-
mergeOrigin
public WireFormats.PekkoHandshakeInfo.Builder mergeOrigin(WireFormats.AddressData value)
required .AddressData origin = 1;
-
clearOrigin
public WireFormats.PekkoHandshakeInfo.Builder clearOrigin()
required .AddressData origin = 1;
-
getOriginBuilder
public WireFormats.AddressData.Builder getOriginBuilder()
required .AddressData origin = 1;
-
getOriginOrBuilder
public WireFormats.AddressDataOrBuilder getOriginOrBuilder()
required .AddressData origin = 1;
- Specified by:
getOriginOrBuilder
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
-
hasUid
public boolean hasUid()
required fixed64 uid = 2;
- Specified by:
hasUid
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- Whether the uid field is set.
-
getUid
public long getUid()
required fixed64 uid = 2;
- Specified by:
getUid
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- The uid.
-
setUid
public WireFormats.PekkoHandshakeInfo.Builder setUid(long value)
required fixed64 uid = 2;
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public WireFormats.PekkoHandshakeInfo.Builder clearUid()
required fixed64 uid = 2;
- Returns:
- This builder for chaining.
-
hasCookie
public boolean hasCookie()
optional string cookie = 3;
- Specified by:
hasCookie
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- Whether the cookie field is set.
-
getCookie
public java.lang.String getCookie()
optional string cookie = 3;
- Specified by:
getCookie
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- The cookie.
-
getCookieBytes
public org.apache.pekko.protobufv3.internal.ByteString getCookieBytes()
optional string cookie = 3;
- Specified by:
getCookieBytes
in interfaceWireFormats.PekkoHandshakeInfoOrBuilder
- Returns:
- The bytes for cookie.
-
setCookie
public WireFormats.PekkoHandshakeInfo.Builder setCookie(java.lang.String value)
optional string cookie = 3;
- Parameters:
value
- The cookie to set.- Returns:
- This builder for chaining.
-
clearCookie
public WireFormats.PekkoHandshakeInfo.Builder clearCookie()
optional string cookie = 3;
- Returns:
- This builder for chaining.
-
setCookieBytes
public WireFormats.PekkoHandshakeInfo.Builder setCookieBytes(org.apache.pekko.protobufv3.internal.ByteString value)
optional string cookie = 3;
- Parameters:
value
- The bytes for cookie to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
mergeUnknownFields
public final WireFormats.PekkoHandshakeInfo.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<WireFormats.PekkoHandshakeInfo.Builder>
-
-