public static final class ListFilesResponse.Builder extends GeneratedMessageV3.Builder<ListFilesResponse.Builder> implements ListFilesResponseOrBuilder
The response from listing files.
Protobuf type google.devtools.artifactregistry.v1beta2.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.v1beta2.File files = 1;
Parameter
Name | Description |
values | Iterable<? extends com.google.devtools.artifactregistry.v1beta2.File>
|
Returns
public ListFilesResponse.Builder addFiles(File value)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter
Returns
public ListFilesResponse.Builder addFiles(File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter
Returns
public ListFilesResponse.Builder addFiles(int index, File value)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameters
Returns
public ListFilesResponse.Builder addFiles(int index, File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameters
Returns
public File.Builder addFilesBuilder()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns
public File.Builder addFilesBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.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.v1beta2.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.v1beta2.File files = 1;
Parameter
Returns
public File.Builder getFilesBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter
Returns
public List<File.Builder> getFilesBuilderList()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns
public int getFilesCount()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns
public List<File> getFilesList()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns
public FileOrBuilder getFilesOrBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter
Returns
public List<? extends FileOrBuilder> getFilesOrBuilderList()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns
Type | Description |
List<? extends com.google.devtools.artifactregistry.v1beta2.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.v1beta2.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.v1beta2.File files = 1;
Parameters
Returns
public ListFilesResponse.Builder setFiles(int index, File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.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