Package mls_client

Class MlsClient.HandleCommitRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<MlsClient.HandleCommitRequest.Builder>
com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>
mls_client.MlsClient.HandleCommitRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, MlsClient.HandleCommitRequestOrBuilder
Enclosing class:
MlsClient.HandleCommitRequest

public static final class MlsClient.HandleCommitRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder> implements MlsClient.HandleCommitRequestOrBuilder
 rpc HandleCommit
 
Protobuf type mls_client.HandleCommitRequest
  • Method Details

    • 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.Builder<MlsClient.HandleCommitRequest.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public MlsClient.HandleCommitRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public MlsClient.HandleCommitRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MlsClient.HandleCommitRequest.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>
    • mergeFrom

      public MlsClient.HandleCommitRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<MlsClient.HandleCommitRequest.Builder>
      Throws:
      IOException
    • getStateId

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

      public MlsClient.HandleCommitRequest.Builder setStateId(int value)
      uint32 state_id = 1;
      Parameters:
      value - The stateId to set.
      Returns:
      This builder for chaining.
    • clearStateId

      uint32 state_id = 1;
      Returns:
      This builder for chaining.
    • getProposalList

      public List<com.google.protobuf.ByteString> getProposalList()
      repeated bytes proposal = 2;
      Specified by:
      getProposalList in interface MlsClient.HandleCommitRequestOrBuilder
      Returns:
      A list containing the proposal.
    • getProposalCount

      public int getProposalCount()
      repeated bytes proposal = 2;
      Specified by:
      getProposalCount in interface MlsClient.HandleCommitRequestOrBuilder
      Returns:
      The count of proposal.
    • getProposal

      public com.google.protobuf.ByteString getProposal(int index)
      repeated bytes proposal = 2;
      Specified by:
      getProposal in interface MlsClient.HandleCommitRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The proposal at the given index.
    • setProposal

      public MlsClient.HandleCommitRequest.Builder setProposal(int index, com.google.protobuf.ByteString value)
      repeated bytes proposal = 2;
      Parameters:
      index - The index to set the value at.
      value - The proposal to set.
      Returns:
      This builder for chaining.
    • addProposal

      public MlsClient.HandleCommitRequest.Builder addProposal(com.google.protobuf.ByteString value)
      repeated bytes proposal = 2;
      Parameters:
      value - The proposal to add.
      Returns:
      This builder for chaining.
    • addAllProposal

      public MlsClient.HandleCommitRequest.Builder addAllProposal(Iterable<? extends com.google.protobuf.ByteString> values)
      repeated bytes proposal = 2;
      Parameters:
      values - The proposal to add.
      Returns:
      This builder for chaining.
    • clearProposal

      public MlsClient.HandleCommitRequest.Builder clearProposal()
      repeated bytes proposal = 2;
      Returns:
      This builder for chaining.
    • getCommit

      public com.google.protobuf.ByteString getCommit()
      bytes commit = 3;
      Specified by:
      getCommit in interface MlsClient.HandleCommitRequestOrBuilder
      Returns:
      The commit.
    • setCommit

      public MlsClient.HandleCommitRequest.Builder setCommit(com.google.protobuf.ByteString value)
      bytes commit = 3;
      Parameters:
      value - The commit to set.
      Returns:
      This builder for chaining.
    • clearCommit

      bytes commit = 3;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final MlsClient.HandleCommitRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>
    • mergeUnknownFields

      public final MlsClient.HandleCommitRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MlsClient.HandleCommitRequest.Builder>