Package mls_client

Class MlsClient.CommitRequest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
mls_client.MlsClient.CommitRequest
All Implemented Interfaces:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable, MlsClient.CommitRequestOrBuilder
Enclosing class:
MlsClient

public static final class MlsClient.CommitRequest extends com.google.protobuf.GeneratedMessageV3 implements MlsClient.CommitRequestOrBuilder
 rpc Commit
 Note: CommitResponse.ratchet_tree should be empty if CommitRequest.external_tree is not true
 
Protobuf type mls_client.CommitRequest
See Also:
  • Field Details

    • STATE_ID_FIELD_NUMBER

      public static final int STATE_ID_FIELD_NUMBER
      See Also:
    • BY_REFERENCE_FIELD_NUMBER

      public static final int BY_REFERENCE_FIELD_NUMBER
      See Also:
    • BY_VALUE_FIELD_NUMBER

      public static final int BY_VALUE_FIELD_NUMBER
      See Also:
    • FORCE_PATH_FIELD_NUMBER

      public static final int FORCE_PATH_FIELD_NUMBER
      See Also:
    • EXTERNAL_TREE_FIELD_NUMBER

      public static final int EXTERNAL_TREE_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getStateId

      public int getStateId()
      uint32 state_id = 1;
      Specified by:
      getStateId in interface MlsClient.CommitRequestOrBuilder
      Returns:
      The stateId.
    • getByReferenceList

      public List<com.google.protobuf.ByteString> getByReferenceList()
      repeated bytes by_reference = 2;
      Specified by:
      getByReferenceList in interface MlsClient.CommitRequestOrBuilder
      Returns:
      A list containing the byReference.
    • getByReferenceCount

      public int getByReferenceCount()
      repeated bytes by_reference = 2;
      Specified by:
      getByReferenceCount in interface MlsClient.CommitRequestOrBuilder
      Returns:
      The count of byReference.
    • getByReference

      public com.google.protobuf.ByteString getByReference(int index)
      repeated bytes by_reference = 2;
      Specified by:
      getByReference in interface MlsClient.CommitRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The byReference at the given index.
    • getByValueList

      public List<MlsClient.ProposalDescription> getByValueList()
      repeated .mls_client.ProposalDescription by_value = 3;
      Specified by:
      getByValueList in interface MlsClient.CommitRequestOrBuilder
    • getByValueOrBuilderList

      public List<? extends MlsClient.ProposalDescriptionOrBuilder> getByValueOrBuilderList()
      repeated .mls_client.ProposalDescription by_value = 3;
      Specified by:
      getByValueOrBuilderList in interface MlsClient.CommitRequestOrBuilder
    • getByValueCount

      public int getByValueCount()
      repeated .mls_client.ProposalDescription by_value = 3;
      Specified by:
      getByValueCount in interface MlsClient.CommitRequestOrBuilder
    • getByValue

      public MlsClient.ProposalDescription getByValue(int index)
      repeated .mls_client.ProposalDescription by_value = 3;
      Specified by:
      getByValue in interface MlsClient.CommitRequestOrBuilder
    • getByValueOrBuilder

      public MlsClient.ProposalDescriptionOrBuilder getByValueOrBuilder(int index)
      repeated .mls_client.ProposalDescription by_value = 3;
      Specified by:
      getByValueOrBuilder in interface MlsClient.CommitRequestOrBuilder
    • getForcePath

      public boolean getForcePath()
      bool force_path = 4;
      Specified by:
      getForcePath in interface MlsClient.CommitRequestOrBuilder
      Returns:
      The forcePath.
    • getExternalTree

      public boolean getExternalTree()
      bool external_tree = 5;
      Specified by:
      getExternalTree in interface MlsClient.CommitRequestOrBuilder
      Returns:
      The externalTree.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MlsClient.CommitRequest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static MlsClient.CommitRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static MlsClient.CommitRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public MlsClient.CommitRequest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static MlsClient.CommitRequest.Builder newBuilder()
    • newBuilder

      public static MlsClient.CommitRequest.Builder newBuilder(MlsClient.CommitRequest prototype)
    • toBuilder

      public MlsClient.CommitRequest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected MlsClient.CommitRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static MlsClient.CommitRequest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<MlsClient.CommitRequest> parser()
    • getParserForType

      public com.google.protobuf.Parser<MlsClient.CommitRequest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public MlsClient.CommitRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder