Class ListFilesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ListFilesRequest.Builder
- All Implemented Interfaces:
ListFilesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListFilesRequest
public static final class ListFilesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
implements ListFilesRequestOrBuilder
The request to list files.Protobuf type
google.devtools.artifactregistry.v1beta2.ListFilesRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An expression for filtering the results of the request.The maximum number of files to return.The next_page_token value returned from a previous list request, if any.The name of the repository whose files will be listed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAn expression for filtering the results of the request.com.google.protobuf.ByteStringAn expression for filtering the results of the request.intThe maximum number of files to return.The next_page_token value returned from a previous list request, if any.com.google.protobuf.ByteStringThe next_page_token value returned from a previous list request, if any.The name of the repository whose files will be listed.com.google.protobuf.ByteStringThe name of the repository whose files will be listed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListFilesRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An expression for filtering the results of the request.setFilterBytes(com.google.protobuf.ByteString value) An expression for filtering the results of the request.setPageSize(int value) The maximum number of files to return.setPageToken(String value) The next_page_token value returned from a previous list request, if any.setPageTokenBytes(com.google.protobuf.ByteString value) The next_page_token value returned from a previous list request, if any.The name of the repository whose files will be listed.setParentBytes(com.google.protobuf.ByteString value) The name of the repository whose files will be listed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods 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.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.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.GeneratedMessage.Builder<ListFilesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListFilesRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListFilesRequest.Builder>
-
mergeFrom
public ListFilesRequest.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<ListFilesRequest.Builder>- Throws:
IOException
-
getParent
The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;- Specified by:
getParentin interfaceListFilesRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;- Specified by:
getParentBytesin interfaceListFilesRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the repository whose files will be listed. For example: "projects/p1/locations/us-central1/repositories/repo1
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getFilter
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
string filter = 4;- Specified by:
getFilterin interfaceListFilesRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
string filter = 4;- Specified by:
getFilterBytesin interfaceListFilesRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
string filter = 4;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
string filter = 4;- Returns:
- This builder for chaining.
-
setFilterBytes
An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are: * `name` * `owner` An example of using a filter: * `name="projects/p1/locations/us-central1/repositories/repo1/files/a/b/*"` --> Files with an ID starting with "a/b/". * `owner="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0"` --> Files owned by the version `1.0` in package `pkg1`.
string filter = 4;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The maximum number of files to return.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListFilesRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The maximum number of files to return.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The maximum number of files to return.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Specified by:
getPageTokenin interfaceListFilesRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListFilesRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-