public static final class OCSProto.WriteRequest extends com.google.protobuf.GeneratedMessageV3 implements OCSProto.WriteRequestOrBuilder
WriteRequest asks the OCS-skipchain to store data on the skipchain. Readers can be empty if Write points to a valid reader that is already stored on the skipchain. The identity of the signature has to be a valid Writer-identity and must be the same as the publisher in the Write-request.Protobuf type
WriteRequest| Modifier and Type | Class and Description |
|---|---|
static class |
OCSProto.WriteRequest.Builder
WriteRequest asks the OCS-skipchain to store data on the skipchain.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
OCS_FIELD_NUMBER |
static com.google.protobuf.Parser<OCSProto.WriteRequest> |
PARSER
Deprecated.
|
static int |
READERS_FIELD_NUMBER |
static int |
SIGNATURE_FIELD_NUMBER |
static int |
WRITE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static OCSProto.WriteRequest |
getDefaultInstance() |
OCSProto.WriteRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.ByteString |
getOcs()
required bytes ocs = 1; |
com.google.protobuf.Parser<OCSProto.WriteRequest> |
getParserForType() |
DarcOCSProto.Darc |
getReaders()
optional .Darc readers = 4; |
DarcOCSProto.DarcOrBuilder |
getReadersOrBuilder()
optional .Darc readers = 4; |
int |
getSerializedSize() |
DarcOCSProto.Signature |
getSignature()
required .Signature signature = 3; |
DarcOCSProto.SignatureOrBuilder |
getSignatureOrBuilder()
required .Signature signature = 3; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
OCSProto.Write |
getWrite()
required .Write write = 2; |
OCSProto.WriteOrBuilder |
getWriteOrBuilder()
required .Write write = 2; |
int |
hashCode() |
boolean |
hasOcs()
required bytes ocs = 1; |
boolean |
hasReaders()
optional .Darc readers = 4; |
boolean |
hasSignature()
required .Signature signature = 3; |
boolean |
hasWrite()
required .Write write = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static OCSProto.WriteRequest.Builder |
newBuilder() |
static OCSProto.WriteRequest.Builder |
newBuilder(OCSProto.WriteRequest prototype) |
OCSProto.WriteRequest.Builder |
newBuilderForType() |
protected OCSProto.WriteRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static OCSProto.WriteRequest |
parseDelimitedFrom(InputStream input) |
static OCSProto.WriteRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OCSProto.WriteRequest |
parseFrom(byte[] data) |
static OCSProto.WriteRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OCSProto.WriteRequest |
parseFrom(ByteBuffer data) |
static OCSProto.WriteRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OCSProto.WriteRequest |
parseFrom(com.google.protobuf.ByteString data) |
static OCSProto.WriteRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OCSProto.WriteRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static OCSProto.WriteRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static OCSProto.WriteRequest |
parseFrom(InputStream input) |
static OCSProto.WriteRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<OCSProto.WriteRequest> |
parser() |
OCSProto.WriteRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int OCS_FIELD_NUMBER
public static final int WRITE_FIELD_NUMBER
public static final int SIGNATURE_FIELD_NUMBER
public static final int READERS_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<OCSProto.WriteRequest> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasOcs()
required bytes ocs = 1;hasOcs in interface OCSProto.WriteRequestOrBuilderpublic com.google.protobuf.ByteString getOcs()
required bytes ocs = 1;getOcs in interface OCSProto.WriteRequestOrBuilderpublic boolean hasWrite()
required .Write write = 2;hasWrite in interface OCSProto.WriteRequestOrBuilderpublic OCSProto.Write getWrite()
required .Write write = 2;getWrite in interface OCSProto.WriteRequestOrBuilderpublic OCSProto.WriteOrBuilder getWriteOrBuilder()
required .Write write = 2;getWriteOrBuilder in interface OCSProto.WriteRequestOrBuilderpublic boolean hasSignature()
required .Signature signature = 3;hasSignature in interface OCSProto.WriteRequestOrBuilderpublic DarcOCSProto.Signature getSignature()
required .Signature signature = 3;getSignature in interface OCSProto.WriteRequestOrBuilderpublic DarcOCSProto.SignatureOrBuilder getSignatureOrBuilder()
required .Signature signature = 3;getSignatureOrBuilder in interface OCSProto.WriteRequestOrBuilderpublic boolean hasReaders()
optional .Darc readers = 4;hasReaders in interface OCSProto.WriteRequestOrBuilderpublic DarcOCSProto.Darc getReaders()
optional .Darc readers = 4;getReaders in interface OCSProto.WriteRequestOrBuilderpublic DarcOCSProto.DarcOrBuilder getReadersOrBuilder()
optional .Darc readers = 4;getReadersOrBuilder in interface OCSProto.WriteRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static OCSProto.WriteRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static OCSProto.WriteRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static OCSProto.WriteRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OCSProto.WriteRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static OCSProto.WriteRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static OCSProto.WriteRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static OCSProto.WriteRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic OCSProto.WriteRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static OCSProto.WriteRequest.Builder newBuilder()
public static OCSProto.WriteRequest.Builder newBuilder(OCSProto.WriteRequest prototype)
public OCSProto.WriteRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected OCSProto.WriteRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static OCSProto.WriteRequest getDefaultInstance()
public static com.google.protobuf.Parser<OCSProto.WriteRequest> parser()
public com.google.protobuf.Parser<OCSProto.WriteRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public OCSProto.WriteRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.