Package org.yamcs.protobuf
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 Summary
Modifier and TypeMethodDescriptionaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
Bucket nameReturn only objects whose name do not contain the delimiter after the prefix.clearField
(com.google.protobuf.Descriptors.FieldDescriptor field) Deprecated.clearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) List only objects whose name start with prefixclone()
Bucket namecom.google.protobuf.ByteString
Bucket nameReturn only objects whose name do not contain the delimiter after the prefix.com.google.protobuf.ByteString
Return only objects whose name do not contain the delimiter after the prefix.static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
Deprecated.com.google.protobuf.ByteString
Deprecated.List only objects whose name start with prefixcom.google.protobuf.ByteString
List only objects whose name start with prefixboolean
Bucket nameboolean
Return only objects whose name do not contain the delimiter after the prefix.boolean
Deprecated.boolean
List only objects whose name start with prefixprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(ListObjectsRequest other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setBucketName
(String value) Bucket namesetBucketNameBytes
(com.google.protobuf.ByteString value) Bucket namesetDelimiter
(String value) Return only objects whose name do not contain the delimiter after the prefix.setDelimiterBytes
(com.google.protobuf.ByteString value) Return only objects whose name do not contain the delimiter after the prefix.setInstance
(String value) Deprecated.setInstanceBytes
(com.google.protobuf.ByteString value) Deprecated.List only objects whose name start with prefixsetPrefixBytes
(com.google.protobuf.ByteString value) List only objects whose name start with prefixsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
setField
public ListObjectsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clearField
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clearOneof
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
addRepeatedField
public ListObjectsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListObjectsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListObjectsRequest.Builder>
- Throws:
IOException
-
hasInstance
Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- Specified by:
hasInstance
in interfaceListObjectsRequestOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- Specified by:
getInstance
in interfaceListObjectsRequestOrBuilder
- Returns:
- The instance.
-
getInstanceBytes
Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- Specified by:
getInstanceBytes
in interfaceListObjectsRequestOrBuilder
- Returns:
- The bytes for instance.
-
setInstance
Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- Parameters:
value
- The instance to set.- Returns:
- This builder for chaining.
-
clearInstance
Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- Returns:
- This builder for chaining.
-
setInstanceBytes
@Deprecated public ListObjectsRequest.Builder setInstanceBytes(com.google.protobuf.ByteString value) Deprecated.Yamcs instance name. Or _global.
optional string instance = 1 [deprecated = true];
- 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 interfaceListObjectsRequestOrBuilder
- Returns:
- Whether the bucketName field is set.
-
getBucketName
Bucket name
optional string bucketName = 2;
- Specified by:
getBucketName
in interfaceListObjectsRequestOrBuilder
- Returns:
- The bucketName.
-
getBucketNameBytes
public com.google.protobuf.ByteString getBucketNameBytes()Bucket name
optional string bucketName = 2;
- Specified by:
getBucketNameBytes
in interfaceListObjectsRequestOrBuilder
- Returns:
- The bytes for bucketName.
-
setBucketName
Bucket name
optional string bucketName = 2;
- Parameters:
value
- The bucketName to set.- Returns:
- This builder for chaining.
-
clearBucketName
Bucket name
optional string bucketName = 2;
- Returns:
- This builder for chaining.
-
setBucketNameBytes
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 interfaceListObjectsRequestOrBuilder
- Returns:
- Whether the delimiter field is set.
-
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 interfaceListObjectsRequestOrBuilder
- 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 interfaceListObjectsRequestOrBuilder
- Returns:
- The bytes for delimiter.
-
setDelimiter
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
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
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 interfaceListObjectsRequestOrBuilder
- Returns:
- Whether the prefix field is set.
-
getPrefix
List only objects whose name start with prefix
optional string prefix = 4;
- Specified by:
getPrefix
in interfaceListObjectsRequestOrBuilder
- 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 interfaceListObjectsRequestOrBuilder
- Returns:
- The bytes for prefix.
-
setPrefix
List only objects whose name start with prefix
optional string prefix = 4;
- Parameters:
value
- The prefix to set.- Returns:
- This builder for chaining.
-
clearPrefix
List only objects whose name start with prefix
optional string prefix = 4;
- Returns:
- This builder for chaining.
-
setPrefixBytes
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
mergeUnknownFields
public final ListObjectsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-