Send feedback
Class ListFilesResponse.Builder (1.2.5)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.2.5 keyboard_arrow_down
public static final class ListFilesResponse . Builder extends GeneratedMessageV3 . Builder<ListFilesResponse . Builder > implements ListFilesResponseOrBuilder
The response from listing files.
Protobuf type google.devtools.artifactregistry.v1.ListFilesResponse
Static Methods
public static final Descriptors . Descriptor getDescriptor ()
Returns
Methods
public ListFilesResponse . Builder addAllFiles ( Iterable <? extends File > values )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Name Description values Iterable <? extends com.google.devtools.artifactregistry.v1.File >
Returns
public ListFilesResponse . Builder addFiles ( File value )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public ListFilesResponse . Builder addFiles ( File . Builder builderForValue )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public ListFilesResponse . Builder addFiles ( int index , File value )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameters
Returns
public ListFilesResponse . Builder addFiles ( int index , File . Builder builderForValue )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameters
Returns
public File . Builder addFilesBuilder ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
public File . Builder addFilesBuilder ( int index )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public ListFilesResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ListFilesResponse build ()
Returns
public ListFilesResponse buildPartial ()
Returns
public ListFilesResponse . Builder clear ()
Returns
Overrides
public ListFilesResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public ListFilesResponse . Builder clearFiles ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
clearNextPageToken()
public ListFilesResponse . Builder clearNextPageToken ()
The token to retrieve the next page of files, or empty if there are no
more files to return.
string next_page_token = 2;
Returns
public ListFilesResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public ListFilesResponse . Builder clone ()
Returns
Overrides
public ListFilesResponse getDefaultInstanceForType ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
public File getFiles ( int index )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public File . Builder getFilesBuilder ( int index )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public List<File . Builder > getFilesBuilderList ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
public int getFilesCount ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
public List<File> getFilesList ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
public FileOrBuilder getFilesOrBuilder ( int index )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public List <? extends FileOrBuilder > getFilesOrBuilderList ()
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Returns
Type Description List <? extends com.google.devtools.artifactregistry.v1.FileOrBuilder >
getNextPageToken()
public String getNextPageToken ()
The token to retrieve the next page of files, or empty if there are no
more files to return.
string next_page_token = 2;
Returns
Type Description String The nextPageToken.
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes ()
The token to retrieve the next page of files, or empty if there are no
more files to return.
string next_page_token = 2;
Returns
Type Description ByteString The bytes for nextPageToken.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public ListFilesResponse . Builder mergeFrom ( ListFilesResponse other )
Parameter
Returns
public ListFilesResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public ListFilesResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public final ListFilesResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public ListFilesResponse . Builder removeFiles ( int index )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameter
Returns
public ListFilesResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public ListFilesResponse . Builder setFiles ( int index , File value )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameters
Returns
public ListFilesResponse . Builder setFiles ( int index , File . Builder builderForValue )
The files returned.
repeated .google.devtools.artifactregistry.v1.File files = 1;
Parameters
Returns
setNextPageToken(String value)
public ListFilesResponse . Builder setNextPageToken ( String value )
The token to retrieve the next page of files, or empty if there are no
more files to return.
string next_page_token = 2;
Parameter
Name Description value String
The nextPageToken to set.
Returns
setNextPageTokenBytes(ByteString value)
public ListFilesResponse . Builder setNextPageTokenBytes ( ByteString value )
The token to retrieve the next page of files, or empty if there are no
more files to return.
string next_page_token = 2;
Parameter
Name Description value ByteString
The bytes for nextPageToken to set.
Returns
public ListFilesResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final ListFilesResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]