Class ListObjectsRequest.Builder

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

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

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

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

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

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

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

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

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

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

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

      public ListObjectsRequest.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<ListObjectsRequest.Builder>
      Throws:
      IOException
    • hasInstance

      public boolean hasInstance()
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Specified by:
      hasInstance in interface ListObjectsRequestOrBuilder
      Returns:
      Whether the instance field is set.
    • getInstance

      public String getInstance()
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Specified by:
      getInstance in interface ListObjectsRequestOrBuilder
      Returns:
      The instance.
    • getInstanceBytes

      public com.google.protobuf.ByteString getInstanceBytes()
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Specified by:
      getInstanceBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for instance.
    • setInstance

      public ListObjectsRequest.Builder setInstance(String value)
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Parameters:
      value - The instance to set.
      Returns:
      This builder for chaining.
    • clearInstance

      public ListObjectsRequest.Builder clearInstance()
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Returns:
      This builder for chaining.
    • setInstanceBytes

      public ListObjectsRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value)
       Yamcs instance name. Or _global.
       
      optional string instance = 1;
      Parameters:
      value - The bytes for instance to set.
      Returns:
      This builder for chaining.
    • hasBucketName

      public boolean hasBucketName()
       Bucket name.
       
      optional string bucketName = 2;
      Specified by:
      hasBucketName in interface ListObjectsRequestOrBuilder
      Returns:
      Whether the bucketName field is set.
    • getBucketName

      public String getBucketName()
       Bucket name.
       
      optional string bucketName = 2;
      Specified by:
      getBucketName in interface ListObjectsRequestOrBuilder
      Returns:
      The bucketName.
    • getBucketNameBytes

      public com.google.protobuf.ByteString getBucketNameBytes()
       Bucket name.
       
      optional string bucketName = 2;
      Specified by:
      getBucketNameBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for bucketName.
    • setBucketName

      public ListObjectsRequest.Builder setBucketName(String value)
       Bucket name.
       
      optional string bucketName = 2;
      Parameters:
      value - The bucketName to set.
      Returns:
      This builder for chaining.
    • clearBucketName

      public ListObjectsRequest.Builder clearBucketName()
       Bucket name.
       
      optional string bucketName = 2;
      Returns:
      This builder for chaining.
    • setBucketNameBytes

      public ListObjectsRequest.Builder setBucketNameBytes(com.google.protobuf.ByteString value)
       Bucket name.
       
      optional string bucketName = 2;
      Parameters:
      value - The bytes for bucketName to set.
      Returns:
      This builder for chaining.
    • hasDelimiter

      public boolean hasDelimiter()
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Specified by:
      hasDelimiter in interface ListObjectsRequestOrBuilder
      Returns:
      Whether the delimiter field is set.
    • getDelimiter

      public String getDelimiter()
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Specified by:
      getDelimiter in interface ListObjectsRequestOrBuilder
      Returns:
      The delimiter.
    • getDelimiterBytes

      public com.google.protobuf.ByteString getDelimiterBytes()
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Specified by:
      getDelimiterBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for delimiter.
    • setDelimiter

      public ListObjectsRequest.Builder setDelimiter(String value)
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Parameters:
      value - The delimiter to set.
      Returns:
      This builder for chaining.
    • clearDelimiter

      public ListObjectsRequest.Builder clearDelimiter()
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Returns:
      This builder for chaining.
    • setDelimiterBytes

      public ListObjectsRequest.Builder setDelimiterBytes(com.google.protobuf.ByteString value)
       Return only objects whose name do not contain the delimiter after the
       prefix. For the other objects, the response contains (in the prefix
       response parameter) the name truncated after the delimiter. Duplicates
       are omitted.
       Together with ``prefix`` this parameter provides filtering capabilities.
       These work similar to Google Cloud Storage and Amazon S3.
       The ``delimiter`` allows the list to work in a directory mode despite
       the object namespace being flat. For example if the delimiter is set to
       "/", then listing the bucket containing objects "a/b", "a/c", "d", "e"
       and "e/f" returns objects "d" and "e" and prefixes "a/" and "e/".
       
      optional string delimiter = 3;
      Parameters:
      value - The bytes for delimiter to set.
      Returns:
      This builder for chaining.
    • hasPrefix

      public boolean hasPrefix()
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Specified by:
      hasPrefix in interface ListObjectsRequestOrBuilder
      Returns:
      Whether the prefix field is set.
    • getPrefix

      public String getPrefix()
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Specified by:
      getPrefix in interface ListObjectsRequestOrBuilder
      Returns:
      The prefix.
    • getPrefixBytes

      public com.google.protobuf.ByteString getPrefixBytes()
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Specified by:
      getPrefixBytes in interface ListObjectsRequestOrBuilder
      Returns:
      The bytes for prefix.
    • setPrefix

      public ListObjectsRequest.Builder setPrefix(String value)
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Parameters:
      value - The prefix to set.
      Returns:
      This builder for chaining.
    • clearPrefix

      public ListObjectsRequest.Builder clearPrefix()
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Returns:
      This builder for chaining.
    • setPrefixBytes

      public ListObjectsRequest.Builder setPrefixBytes(com.google.protobuf.ByteString value)
       List only objects whose name start with prefix
       
      optional string prefix = 4;
      Parameters:
      value - The bytes for prefix to set.
      Returns:
      This builder for chaining.
    • setUnknownFields

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

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