Class ListObjectsResponse.Builder

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

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

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

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

      public ListObjectsResponse 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<ListObjectsResponse.Builder>
    • setField

      public ListObjectsResponse.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<ListObjectsResponse.Builder>
    • clearField

      public ListObjectsResponse.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<ListObjectsResponse.Builder>
    • clearOneof

      public ListObjectsResponse.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<ListObjectsResponse.Builder>
    • setRepeatedField

      public ListObjectsResponse.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<ListObjectsResponse.Builder>
    • addRepeatedField

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

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

      public ListObjectsResponse.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<ListObjectsResponse.Builder>
      Throws:
      IOException
    • getPrefixesList

      public com.google.protobuf.ProtocolStringList getPrefixesList()
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Specified by:
      getPrefixesList in interface ListObjectsResponseOrBuilder
      Returns:
      A list containing the prefixes.
    • getPrefixesCount

      public int getPrefixesCount()
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Specified by:
      getPrefixesCount in interface ListObjectsResponseOrBuilder
      Returns:
      The count of prefixes.
    • getPrefixes

      public String getPrefixes(int index)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Specified by:
      getPrefixes in interface ListObjectsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The prefixes at the given index.
    • getPrefixesBytes

      public com.google.protobuf.ByteString getPrefixesBytes(int index)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Specified by:
      getPrefixesBytes in interface ListObjectsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the prefixes at the given index.
    • setPrefixes

      public ListObjectsResponse.Builder setPrefixes(int index, String value)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Parameters:
      index - The index to set the value at.
      value - The prefixes to set.
      Returns:
      This builder for chaining.
    • addPrefixes

      public ListObjectsResponse.Builder addPrefixes(String value)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Parameters:
      value - The prefixes to add.
      Returns:
      This builder for chaining.
    • addAllPrefixes

      public ListObjectsResponse.Builder addAllPrefixes(Iterable<String> values)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Parameters:
      values - The prefixes to add.
      Returns:
      This builder for chaining.
    • clearPrefixes

      public ListObjectsResponse.Builder clearPrefixes()
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Returns:
      This builder for chaining.
    • addPrefixesBytes

      public ListObjectsResponse.Builder addPrefixesBytes(com.google.protobuf.ByteString value)
       Object name prefixes for objects that matched the request but were
       excluded from ``objects`` because of a delimiter.
       
      repeated string prefixes = 1;
      Parameters:
      value - The bytes of the prefixes to add.
      Returns:
      This builder for chaining.
    • getObjectsList

      public List<ObjectInfo> getObjectsList()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
      Specified by:
      getObjectsList in interface ListObjectsResponseOrBuilder
    • getObjectsCount

      public int getObjectsCount()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
      Specified by:
      getObjectsCount in interface ListObjectsResponseOrBuilder
    • getObjects

      public ObjectInfo getObjects(int index)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
      Specified by:
      getObjects in interface ListObjectsResponseOrBuilder
    • setObjects

      public ListObjectsResponse.Builder setObjects(int index, ObjectInfo value)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • setObjects

      public ListObjectsResponse.Builder setObjects(int index, ObjectInfo.Builder builderForValue)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addObjects

      public ListObjectsResponse.Builder addObjects(ObjectInfo value)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addObjects

      public ListObjectsResponse.Builder addObjects(int index, ObjectInfo value)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addObjects

      public ListObjectsResponse.Builder addObjects(ObjectInfo.Builder builderForValue)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addObjects

      public ListObjectsResponse.Builder addObjects(int index, ObjectInfo.Builder builderForValue)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addAllObjects

      public ListObjectsResponse.Builder addAllObjects(Iterable<? extends ObjectInfo> values)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • clearObjects

      public ListObjectsResponse.Builder clearObjects()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • removeObjects

      public ListObjectsResponse.Builder removeObjects(int index)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • getObjectsBuilder

      public ObjectInfo.Builder getObjectsBuilder(int index)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • getObjectsOrBuilder

      public ObjectInfoOrBuilder getObjectsOrBuilder(int index)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
      Specified by:
      getObjectsOrBuilder in interface ListObjectsResponseOrBuilder
    • getObjectsOrBuilderList

      public List<? extends ObjectInfoOrBuilder> getObjectsOrBuilderList()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
      Specified by:
      getObjectsOrBuilderList in interface ListObjectsResponseOrBuilder
    • addObjectsBuilder

      public ObjectInfo.Builder addObjectsBuilder()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • addObjectsBuilder

      public ObjectInfo.Builder addObjectsBuilder(int index)
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • getObjectsBuilderList

      public List<ObjectInfo.Builder> getObjectsBuilderList()
       The list of objects
       
      repeated .yamcs.protobuf.buckets.ObjectInfo objects = 2;
    • setUnknownFields

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

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