Module com.hedera.hashgraph.sdk
Package com.hedera.hashgraph.sdk.proto
Class WrapsMessageDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder<WrapsMessageDetails,WrapsMessageDetails.Builder>
com.google.protobuf.GeneratedMessageLite.Builder<WrapsMessageDetails,WrapsMessageDetails.Builder>
com.hedera.hashgraph.sdk.proto.WrapsMessageDetails.Builder
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,WrapsMessageDetailsOrBuilder,Cloneable
- Enclosing class:
WrapsMessageDetails
public static final class WrapsMessageDetails.Builder
extends com.google.protobuf.GeneratedMessageLite.Builder<WrapsMessageDetails,WrapsMessageDetails.Builder>
implements WrapsMessageDetailsOrBuilder
* A message published by a node during a WRAPS proof construction.Protobuf type
com.hedera.hapi.node.state.history.WrapsMessageDetails-
Field Summary
Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder
instance -
Method Summary
Modifier and TypeMethodDescription* The message itself.* The phase of the construction the message applies to.* The time at which the message was published.com.google.protobuf.ByteString* The message itself.getPhase()* The phase of the construction the message applies to.int* The phase of the construction the message applies to.* The time at which the message was published.boolean* The time at which the message was published.mergePublicationTime(Timestamp value) * The time at which the message was published.setMessage(com.google.protobuf.ByteString value) * The message itself.setPhase(WrapsPhase value) * The phase of the construction the message applies to.setPhaseValue(int value) * The phase of the construction the message applies to.setPublicationTime(Timestamp value) * The time at which the message was published.setPublicationTime(Timestamp.Builder builderForValue) * The time at which the message was published.Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFromMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Method Details
-
hasPublicationTime
public boolean hasPublicationTime()* The time at which the message was published.
.proto.Timestamp publication_time = 1;- Specified by:
hasPublicationTimein interfaceWrapsMessageDetailsOrBuilder- Returns:
- Whether the publicationTime field is set.
-
getPublicationTime
* The time at which the message was published.
.proto.Timestamp publication_time = 1;- Specified by:
getPublicationTimein interfaceWrapsMessageDetailsOrBuilder- Returns:
- The publicationTime.
-
setPublicationTime
* The time at which the message was published.
.proto.Timestamp publication_time = 1; -
setPublicationTime
* The time at which the message was published.
.proto.Timestamp publication_time = 1; -
mergePublicationTime
* The time at which the message was published.
.proto.Timestamp publication_time = 1; -
clearPublicationTime
* The time at which the message was published.
.proto.Timestamp publication_time = 1; -
getPhaseValue
public int getPhaseValue()* The phase of the construction the message applies to.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 2;- Specified by:
getPhaseValuein interfaceWrapsMessageDetailsOrBuilder- Returns:
- The enum numeric value on the wire for phase.
-
setPhaseValue
* The phase of the construction the message applies to.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 2;- Parameters:
value- The phase to set.- Returns:
- This builder for chaining.
- Throws:
IllegalArgumentException- if UNRECOGNIZED is provided.
-
getPhase
* The phase of the construction the message applies to.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 2;- Specified by:
getPhasein interfaceWrapsMessageDetailsOrBuilder- Returns:
- The phase.
-
setPhase
* The phase of the construction the message applies to.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 2;- Parameters:
value- The enum numeric value on the wire for phase to set.- Returns:
- This builder for chaining.
-
clearPhase
* The phase of the construction the message applies to.
.com.hedera.hapi.node.state.history.WrapsPhase phase = 2;- Returns:
- This builder for chaining.
-
getMessage
public com.google.protobuf.ByteString getMessage()* The message itself.
bytes message = 3;- Specified by:
getMessagein interfaceWrapsMessageDetailsOrBuilder- Returns:
- The message.
-
setMessage
* The message itself.
bytes message = 3;- Parameters:
value- The message to set.- Returns:
- This builder for chaining.
-
clearMessage
* The message itself.
bytes message = 3;- Returns:
- This builder for chaining.
-