Class ListFilesResponse.Builder (1.41.0)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllFiles(Iterable<? extends File> values)

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
Type Description
ListFilesResponse.Builder

addFiles(File value)

public ListFilesResponse.Builder addFiles(File value)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
value File
Returns
Type Description
ListFilesResponse.Builder

addFiles(File.Builder builderForValue)

public ListFilesResponse.Builder addFiles(File.Builder builderForValue)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
builderForValue File.Builder
Returns
Type Description
ListFilesResponse.Builder

addFiles(int index, File value)

public ListFilesResponse.Builder addFiles(int index, File value)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameters
Name Description
index int
value File
Returns
Type Description
ListFilesResponse.Builder

addFiles(int index, File.Builder builderForValue)

public ListFilesResponse.Builder addFiles(int index, File.Builder builderForValue)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
ListFilesResponse.Builder

addFilesBuilder()

public File.Builder addFilesBuilder()

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Returns
Type Description
File.Builder

addFilesBuilder(int index)

public File.Builder addFilesBuilder(int index)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
index int
Returns
Type Description
File.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFilesResponse.Builder
Overrides

build()

public ListFilesResponse build()
Returns
Type Description
ListFilesResponse

buildPartial()

public ListFilesResponse buildPartial()
Returns
Type Description
ListFilesResponse

clear()

public ListFilesResponse.Builder clear()
Returns
Type Description
ListFilesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ListFilesResponse.Builder
Overrides

clearFiles()

public ListFilesResponse.Builder clearFiles()

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Returns
Type Description
ListFilesResponse.Builder

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
Type Description
ListFilesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ListFilesResponse.Builder
Overrides

clone()

public ListFilesResponse.Builder clone()
Returns
Type Description
ListFilesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListFilesResponse getDefaultInstanceForType()
Returns
Type Description
ListFilesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFiles(int index)

public File getFiles(int index)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
index int
Returns
Type Description
File

getFilesBuilder(int index)

public File.Builder getFilesBuilder(int index)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
index int
Returns
Type Description
File.Builder

getFilesBuilderList()

public List<File.Builder> getFilesBuilderList()

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Returns
Type Description
List<Builder>

getFilesCount()

public int getFilesCount()

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Returns
Type Description
int

getFilesList()

public List<File> getFilesList()

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Returns
Type Description
List<File>

getFilesOrBuilder(int index)

public FileOrBuilder getFilesOrBuilder(int index)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
index int
Returns
Type Description
FileOrBuilder

getFilesOrBuilderList()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListFilesResponse other)

public ListFilesResponse.Builder mergeFrom(ListFilesResponse other)
Parameter
Name Description
other ListFilesResponse
Returns
Type Description
ListFilesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListFilesResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ListFilesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ListFilesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFilesResponse.Builder
Overrides

removeFiles(int index)

public ListFilesResponse.Builder removeFiles(int index)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameter
Name Description
index int
Returns
Type Description
ListFilesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ListFilesResponse.Builder
Overrides

setFiles(int index, File value)

public ListFilesResponse.Builder setFiles(int index, File value)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameters
Name Description
index int
value File
Returns
Type Description
ListFilesResponse.Builder

setFiles(int index, File.Builder builderForValue)

public ListFilesResponse.Builder setFiles(int index, File.Builder builderForValue)

The files returned.

repeated .google.devtools.artifactregistry.v1beta2.File files = 1;

Parameters
Name Description
index int
builderForValue File.Builder
Returns
Type Description
ListFilesResponse.Builder

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
Type Description
ListFilesResponse.Builder

This builder for chaining.

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
Type Description
ListFilesResponse.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ListFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ListFilesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ListFilesResponse.Builder
Overrides