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 typeyamcs.protobuf.buckets.ListObjectsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListObjectsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListObjectsRequestbuild()ListObjectsRequestbuildPartial()ListObjectsRequest.Builderclear()ListObjectsRequest.BuilderclearBucketName()Bucket name.ListObjectsRequest.BuilderclearDelimiter()Return only objects whose name do not contain the delimiter after the prefix.ListObjectsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListObjectsRequest.BuilderclearInstance()Yamcs instance name.ListObjectsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListObjectsRequest.BuilderclearPrefix()List only objects whose name start with prefixListObjectsRequest.Builderclone()StringgetBucketName()Bucket name.com.google.protobuf.ByteStringgetBucketNameBytes()Bucket name.ListObjectsRequestgetDefaultInstanceForType()StringgetDelimiter()Return only objects whose name do not contain the delimiter after the prefix.com.google.protobuf.ByteStringgetDelimiterBytes()Return only objects whose name do not contain the delimiter after the prefix.static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetInstance()Yamcs instance name.com.google.protobuf.ByteStringgetInstanceBytes()Yamcs instance name.StringgetPrefix()List only objects whose name start with prefixcom.google.protobuf.ByteStringgetPrefixBytes()List only objects whose name start with prefixbooleanhasBucketName()Bucket name.booleanhasDelimiter()Return only objects whose name do not contain the delimiter after the prefix.booleanhasInstance()Yamcs instance name.booleanhasPrefix()List only objects whose name start with prefixprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListObjectsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListObjectsRequest.BuildermergeFrom(com.google.protobuf.Message other)ListObjectsRequest.BuildermergeFrom(ListObjectsRequest other)ListObjectsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListObjectsRequest.BuildersetBucketName(String value)Bucket name.ListObjectsRequest.BuildersetBucketNameBytes(com.google.protobuf.ByteString value)Bucket name.ListObjectsRequest.BuildersetDelimiter(String value)Return only objects whose name do not contain the delimiter after the prefix.ListObjectsRequest.BuildersetDelimiterBytes(com.google.protobuf.ByteString value)Return only objects whose name do not contain the delimiter after the prefix.ListObjectsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListObjectsRequest.BuildersetInstance(String value)Yamcs instance name.ListObjectsRequest.BuildersetInstanceBytes(com.google.protobuf.ByteString value)Yamcs instance name.ListObjectsRequest.BuildersetPrefix(String value)List only objects whose name start with prefixListObjectsRequest.BuildersetPrefixBytes(com.google.protobuf.ByteString value)List only objects whose name start with prefixListObjectsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListObjectsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, 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
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clear
public ListObjectsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
getDefaultInstanceForType
public ListObjectsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListObjectsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListObjectsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListObjectsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
setField
public ListObjectsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clearField
public ListObjectsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
clearOneof
public ListObjectsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
setRepeatedField
public ListObjectsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
addRepeatedField
public ListObjectsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
mergeFrom
public ListObjectsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListObjectsRequest.Builder>
-
mergeFrom
public ListObjectsRequest.Builder mergeFrom(ListObjectsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListObjectsRequest.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()
Yamcs instance name. Or _global.
optional string instance = 1;- Specified by:
hasInstancein interfaceListObjectsRequestOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
public String getInstance()
Yamcs instance name. Or _global.
optional string instance = 1;- Specified by:
getInstancein interfaceListObjectsRequestOrBuilder- Returns:
- The instance.
-
getInstanceBytes
public com.google.protobuf.ByteString getInstanceBytes()
Yamcs instance name. Or _global.
optional string instance = 1;- Specified by:
getInstanceBytesin interfaceListObjectsRequestOrBuilder- 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:
hasBucketNamein interfaceListObjectsRequestOrBuilder- Returns:
- Whether the bucketName field is set.
-
getBucketName
public String getBucketName()
Bucket name.
optional string bucketName = 2;- Specified by:
getBucketNamein interfaceListObjectsRequestOrBuilder- Returns:
- The bucketName.
-
getBucketNameBytes
public com.google.protobuf.ByteString getBucketNameBytes()
Bucket name.
optional string bucketName = 2;- Specified by:
getBucketNameBytesin interfaceListObjectsRequestOrBuilder- 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:
hasDelimiterin interfaceListObjectsRequestOrBuilder- 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:
getDelimiterin 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:
getDelimiterBytesin interfaceListObjectsRequestOrBuilder- 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:
hasPrefixin interfaceListObjectsRequestOrBuilder- 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:
getPrefixin 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:
getPrefixBytesin interfaceListObjectsRequestOrBuilder- 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
mergeUnknownFields
public final ListObjectsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListObjectsRequest.Builder>
-
-