Class Protos.ScriptWitness.Builder

    • Field Summary

      • Fields inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        instance, isBuilt
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Protos.ScriptWitness.Builder addAllData​(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
      repeated bytes data = 1;
      Protos.ScriptWitness.Builder addData​(com.google.protobuf.ByteString value)
      repeated bytes data = 1;
      Protos.ScriptWitness.Builder clearData()
      repeated bytes data = 1;
      com.google.protobuf.ByteString getData​(int index)
      repeated bytes data = 1;
      int getDataCount()
      repeated bytes data = 1;
      java.util.List<com.google.protobuf.ByteString> getDataList()
      repeated bytes data = 1;
      Protos.ScriptWitness.Builder setData​(int index, com.google.protobuf.ByteString value)
      repeated bytes data = 1;
      • Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder

        build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
      • Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder

        addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
      • Methods inherited from class java.lang.Object

        equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getDataList

        public java.util.List<com.google.protobuf.ByteString> getDataList()
        repeated bytes data = 1;
        Specified by:
        getDataList in interface Protos.ScriptWitnessOrBuilder
        Returns:
        A list containing the data.
      • getData

        public com.google.protobuf.ByteString getData​(int index)
        repeated bytes data = 1;
        Specified by:
        getData in interface Protos.ScriptWitnessOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The data at the given index.
      • setData

        public Protos.ScriptWitness.Builder setData​(int index,
                                                    com.google.protobuf.ByteString value)
        repeated bytes data = 1;
        Parameters:
        value - The data to set.
        Returns:
        This builder for chaining.
      • addData

        public Protos.ScriptWitness.Builder addData​(com.google.protobuf.ByteString value)
        repeated bytes data = 1;
        Parameters:
        value - The data to add.
        Returns:
        This builder for chaining.
      • addAllData

        public Protos.ScriptWitness.Builder addAllData​(java.lang.Iterable<? extends com.google.protobuf.ByteString> values)
        repeated bytes data = 1;
        Parameters:
        values - The data to add.
        Returns:
        This builder for chaining.