public static final class SubmitRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder> implements SubmitRequestOrBuilder
SubmitRequest wraps a transaction to be sent for ordering.Protobuf type
orderer.SubmitRequest
Modifier and Type | Method and Description |
---|---|
SubmitRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SubmitRequest |
build() |
SubmitRequest |
buildPartial() |
SubmitRequest.Builder |
clear() |
SubmitRequest.Builder |
clearChannel()
string channel = 1 [json_name = "channel"]; |
SubmitRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
SubmitRequest.Builder |
clearLastValidationSeq()
last_validation_seq denotes the last
configuration sequence at which the
sender validated this message.
|
SubmitRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
SubmitRequest.Builder |
clearPayload()
content is the fabric transaction
that is forwarded to the cluster member.
|
SubmitRequest.Builder |
clone() |
String |
getChannel()
string channel = 1 [json_name = "channel"]; |
com.google.protobuf.ByteString |
getChannelBytes()
string channel = 1 [json_name = "channel"]; |
SubmitRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getLastValidationSeq()
last_validation_seq denotes the last
configuration sequence at which the
sender validated this message.
|
Envelope |
getPayload()
content is the fabric transaction
that is forwarded to the cluster member.
|
Envelope.Builder |
getPayloadBuilder()
content is the fabric transaction
that is forwarded to the cluster member.
|
EnvelopeOrBuilder |
getPayloadOrBuilder()
content is the fabric transaction
that is forwarded to the cluster member.
|
boolean |
hasPayload()
content is the fabric transaction
that is forwarded to the cluster member.
|
boolean |
isInitialized() |
SubmitRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
SubmitRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
SubmitRequest.Builder |
mergeFrom(SubmitRequest other) |
SubmitRequest.Builder |
mergePayload(Envelope value)
content is the fabric transaction
that is forwarded to the cluster member.
|
SubmitRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
SubmitRequest.Builder |
setChannel(String value)
string channel = 1 [json_name = "channel"]; |
SubmitRequest.Builder |
setChannelBytes(com.google.protobuf.ByteString value)
string channel = 1 [json_name = "channel"]; |
SubmitRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
SubmitRequest.Builder |
setLastValidationSeq(long value)
last_validation_seq denotes the last
configuration sequence at which the
sender validated this message.
|
SubmitRequest.Builder |
setPayload(Envelope.Builder builderForValue)
content is the fabric transaction
that is forwarded to the cluster member.
|
SubmitRequest.Builder |
setPayload(Envelope value)
content is the fabric transaction
that is forwarded to the cluster member.
|
SubmitRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
SubmitRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, newBuilderForField
findInitializationErrors, getInitializationErrorString, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, toString
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
public SubmitRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public SubmitRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public SubmitRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public SubmitRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder mergeFrom(SubmitRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public SubmitRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<SubmitRequest.Builder>
IOException
public String getChannel()
string channel = 1 [json_name = "channel"];
getChannel
in interface SubmitRequestOrBuilder
public com.google.protobuf.ByteString getChannelBytes()
string channel = 1 [json_name = "channel"];
getChannelBytes
in interface SubmitRequestOrBuilder
public SubmitRequest.Builder setChannel(String value)
string channel = 1 [json_name = "channel"];
value
- The channel to set.public SubmitRequest.Builder clearChannel()
string channel = 1 [json_name = "channel"];
public SubmitRequest.Builder setChannelBytes(com.google.protobuf.ByteString value)
string channel = 1 [json_name = "channel"];
value
- The bytes for channel to set.public long getLastValidationSeq()
last_validation_seq denotes the last configuration sequence at which the sender validated this message.
uint64 last_validation_seq = 2 [json_name = "lastValidationSeq"];
getLastValidationSeq
in interface SubmitRequestOrBuilder
public SubmitRequest.Builder setLastValidationSeq(long value)
last_validation_seq denotes the last configuration sequence at which the sender validated this message.
uint64 last_validation_seq = 2 [json_name = "lastValidationSeq"];
value
- The lastValidationSeq to set.public SubmitRequest.Builder clearLastValidationSeq()
last_validation_seq denotes the last configuration sequence at which the sender validated this message.
uint64 last_validation_seq = 2 [json_name = "lastValidationSeq"];
public boolean hasPayload()
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
hasPayload
in interface SubmitRequestOrBuilder
public Envelope getPayload()
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
getPayload
in interface SubmitRequestOrBuilder
public SubmitRequest.Builder setPayload(Envelope value)
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
public SubmitRequest.Builder setPayload(Envelope.Builder builderForValue)
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
public SubmitRequest.Builder mergePayload(Envelope value)
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
public SubmitRequest.Builder clearPayload()
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
public Envelope.Builder getPayloadBuilder()
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
public EnvelopeOrBuilder getPayloadOrBuilder()
content is the fabric transaction that is forwarded to the cluster member.
.common.Envelope payload = 3 [json_name = "payload"];
getPayloadOrBuilder
in interface SubmitRequestOrBuilder
public final SubmitRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
public final SubmitRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<SubmitRequest.Builder>
Copyright © 2022. All rights reserved.