Class ListScriptsResponse.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
org.yamcs.protobuf.activities.ListScriptsResponse.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable, ListScriptsResponseOrBuilder
Enclosing class:
ListScriptsResponse

public static final class ListScriptsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder> implements ListScriptsResponseOrBuilder
Protobuf type yamcs.protobuf.activities.ListScriptsResponse
  • 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<ListScriptsResponse.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<ListScriptsResponse.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<ListScriptsResponse.Builder>
    • getDefaultInstanceForType

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

      public ListScriptsResponse build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ListScriptsResponse buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • setField

      public ListScriptsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • clearField

      public ListScriptsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • clearOneof

      public ListScriptsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • setRepeatedField

      public ListScriptsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • addRepeatedField

      public ListScriptsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListScriptsResponse.Builder>
    • mergeFrom

      public ListScriptsResponse.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<ListScriptsResponse.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<ListScriptsResponse.Builder>
    • mergeFrom

      public ListScriptsResponse.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<ListScriptsResponse.Builder>
      Throws:
      IOException
    • getScriptsList

      public com.google.protobuf.ProtocolStringList getScriptsList()
      repeated string scripts = 1;
      Specified by:
      getScriptsList in interface ListScriptsResponseOrBuilder
      Returns:
      A list containing the scripts.
    • getScriptsCount

      public int getScriptsCount()
      repeated string scripts = 1;
      Specified by:
      getScriptsCount in interface ListScriptsResponseOrBuilder
      Returns:
      The count of scripts.
    • getScripts

      public String getScripts(int index)
      repeated string scripts = 1;
      Specified by:
      getScripts in interface ListScriptsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The scripts at the given index.
    • getScriptsBytes

      public com.google.protobuf.ByteString getScriptsBytes(int index)
      repeated string scripts = 1;
      Specified by:
      getScriptsBytes in interface ListScriptsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the scripts at the given index.
    • setScripts

      public ListScriptsResponse.Builder setScripts(int index, String value)
      repeated string scripts = 1;
      Parameters:
      index - The index to set the value at.
      value - The scripts to set.
      Returns:
      This builder for chaining.
    • addScripts

      public ListScriptsResponse.Builder addScripts(String value)
      repeated string scripts = 1;
      Parameters:
      value - The scripts to add.
      Returns:
      This builder for chaining.
    • addAllScripts

      public ListScriptsResponse.Builder addAllScripts(Iterable<String> values)
      repeated string scripts = 1;
      Parameters:
      values - The scripts to add.
      Returns:
      This builder for chaining.
    • clearScripts

      public ListScriptsResponse.Builder clearScripts()
      repeated string scripts = 1;
      Returns:
      This builder for chaining.
    • addScriptsBytes

      public ListScriptsResponse.Builder addScriptsBytes(com.google.protobuf.ByteString value)
      repeated string scripts = 1;
      Parameters:
      value - The bytes of the scripts to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ListScriptsResponse.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<ListScriptsResponse.Builder>
    • mergeUnknownFields

      public final ListScriptsResponse.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<ListScriptsResponse.Builder>