public static final class UnicastMsg.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder> implements UnicastMsgOrBuilder
iotexrpc.UnicastMsg| Modifier and Type | Method and Description |
|---|---|
UnicastMsg.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UnicastMsg |
build() |
UnicastMsg |
buildPartial() |
UnicastMsg.Builder |
clear() |
UnicastMsg.Builder |
clearAddr()
string addr = 2; |
UnicastMsg.Builder |
clearChainId()
uint32 chain_id = 1; |
UnicastMsg.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
UnicastMsg.Builder |
clearMsgBody()
bytes msg_body = 4; |
UnicastMsg.Builder |
clearMsgType()
.iotexrpc.MessageType msg_type = 3; |
UnicastMsg.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
UnicastMsg.Builder |
clearPeerId()
string peer_id = 5; |
UnicastMsg.Builder |
clearTimestamp()
.google.protobuf.Timestamp timestamp = 6; |
UnicastMsg.Builder |
clone() |
String |
getAddr()
string addr = 2; |
com.google.protobuf.ByteString |
getAddrBytes()
string addr = 2; |
int |
getChainId()
uint32 chain_id = 1; |
UnicastMsg |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getMsgBody()
bytes msg_body = 4; |
MessageType |
getMsgType()
.iotexrpc.MessageType msg_type = 3; |
int |
getMsgTypeValue()
.iotexrpc.MessageType msg_type = 3; |
String |
getPeerId()
string peer_id = 5; |
com.google.protobuf.ByteString |
getPeerIdBytes()
string peer_id = 5; |
com.google.protobuf.Timestamp |
getTimestamp()
.google.protobuf.Timestamp timestamp = 6; |
com.google.protobuf.Timestamp.Builder |
getTimestampBuilder()
.google.protobuf.Timestamp timestamp = 6; |
com.google.protobuf.TimestampOrBuilder |
getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 6; |
boolean |
hasTimestamp()
.google.protobuf.Timestamp timestamp = 6; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
UnicastMsg.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
UnicastMsg.Builder |
mergeFrom(com.google.protobuf.Message other) |
UnicastMsg.Builder |
mergeFrom(UnicastMsg other) |
UnicastMsg.Builder |
mergeTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 6; |
UnicastMsg.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
UnicastMsg.Builder |
setAddr(String value)
string addr = 2; |
UnicastMsg.Builder |
setAddrBytes(com.google.protobuf.ByteString value)
string addr = 2; |
UnicastMsg.Builder |
setChainId(int value)
uint32 chain_id = 1; |
UnicastMsg.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
UnicastMsg.Builder |
setMsgBody(com.google.protobuf.ByteString value)
bytes msg_body = 4; |
UnicastMsg.Builder |
setMsgType(MessageType value)
.iotexrpc.MessageType msg_type = 3; |
UnicastMsg.Builder |
setMsgTypeValue(int value)
.iotexrpc.MessageType msg_type = 3; |
UnicastMsg.Builder |
setPeerId(String value)
string peer_id = 5; |
UnicastMsg.Builder |
setPeerIdBytes(com.google.protobuf.ByteString value)
string peer_id = 5; |
UnicastMsg.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
UnicastMsg.Builder |
setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 6; |
UnicastMsg.Builder |
setTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 6; |
UnicastMsg.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic UnicastMsg build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic UnicastMsg buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic UnicastMsg.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UnicastMsg.Builder>public UnicastMsg.Builder mergeFrom(UnicastMsg other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public UnicastMsg.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<UnicastMsg.Builder>IOExceptionpublic int getChainId()
uint32 chain_id = 1;getChainId in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setChainId(int value)
uint32 chain_id = 1;public UnicastMsg.Builder clearChainId()
uint32 chain_id = 1;public String getAddr()
string addr = 2;getAddr in interface UnicastMsgOrBuilderpublic com.google.protobuf.ByteString getAddrBytes()
string addr = 2;getAddrBytes in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setAddr(String value)
string addr = 2;public UnicastMsg.Builder clearAddr()
string addr = 2;public UnicastMsg.Builder setAddrBytes(com.google.protobuf.ByteString value)
string addr = 2;public int getMsgTypeValue()
.iotexrpc.MessageType msg_type = 3;getMsgTypeValue in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setMsgTypeValue(int value)
.iotexrpc.MessageType msg_type = 3;public MessageType getMsgType()
.iotexrpc.MessageType msg_type = 3;getMsgType in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setMsgType(MessageType value)
.iotexrpc.MessageType msg_type = 3;public UnicastMsg.Builder clearMsgType()
.iotexrpc.MessageType msg_type = 3;public com.google.protobuf.ByteString getMsgBody()
bytes msg_body = 4;getMsgBody in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setMsgBody(com.google.protobuf.ByteString value)
bytes msg_body = 4;public UnicastMsg.Builder clearMsgBody()
bytes msg_body = 4;public String getPeerId()
string peer_id = 5;getPeerId in interface UnicastMsgOrBuilderpublic com.google.protobuf.ByteString getPeerIdBytes()
string peer_id = 5;getPeerIdBytes in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setPeerId(String value)
string peer_id = 5;public UnicastMsg.Builder clearPeerId()
string peer_id = 5;public UnicastMsg.Builder setPeerIdBytes(com.google.protobuf.ByteString value)
string peer_id = 5;public boolean hasTimestamp()
.google.protobuf.Timestamp timestamp = 6;hasTimestamp in interface UnicastMsgOrBuilderpublic com.google.protobuf.Timestamp getTimestamp()
.google.protobuf.Timestamp timestamp = 6;getTimestamp in interface UnicastMsgOrBuilderpublic UnicastMsg.Builder setTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 6;public UnicastMsg.Builder setTimestamp(com.google.protobuf.Timestamp.Builder builderForValue)
.google.protobuf.Timestamp timestamp = 6;public UnicastMsg.Builder mergeTimestamp(com.google.protobuf.Timestamp value)
.google.protobuf.Timestamp timestamp = 6;public UnicastMsg.Builder clearTimestamp()
.google.protobuf.Timestamp timestamp = 6;public com.google.protobuf.Timestamp.Builder getTimestampBuilder()
.google.protobuf.Timestamp timestamp = 6;public com.google.protobuf.TimestampOrBuilder getTimestampOrBuilder()
.google.protobuf.Timestamp timestamp = 6;getTimestampOrBuilder in interface UnicastMsgOrBuilderpublic final UnicastMsg.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>public final UnicastMsg.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<UnicastMsg.Builder>Copyright © 2022 IoTeX Group. All rights reserved.