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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
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>
|
public ListFilesResponse.Builder addFiles(File value)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter |
---|
Name | Description |
value | File
|
public ListFilesResponse.Builder addFiles(File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
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
|
public ListFilesResponse.Builder addFiles(int index, File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
public File.Builder addFilesBuilder()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
public File.Builder addFilesBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListFilesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public ListFilesResponse build()
public ListFilesResponse buildPartial()
public ListFilesResponse.Builder clear()
Overrides
public ListFilesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public ListFilesResponse.Builder clearFiles()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
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;
public ListFilesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public ListFilesResponse.Builder clone()
Overrides
public ListFilesResponse getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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 | |
public File.Builder getFilesBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter |
---|
Name | Description |
index | int
|
public List<File.Builder> getFilesBuilderList()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
public int getFilesCount()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Returns |
---|
Type | Description |
int | |
public List<File> getFilesList()
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
public FileOrBuilder getFilesOrBuilder(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter |
---|
Name | Description |
index | int
|
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()
Overrides
public final boolean isInitialized()
Overrides
public ListFilesResponse.Builder mergeFrom(ListFilesResponse other)
public ListFilesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public ListFilesResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public final ListFilesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public ListFilesResponse.Builder removeFiles(int index)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
Parameter |
---|
Name | Description |
index | int
|
public ListFilesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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
|
public ListFilesResponse.Builder setFiles(int index, File.Builder builderForValue)
The files returned.
repeated .google.devtools.artifactregistry.v1beta2.File files = 1;
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.
|
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.
|
public ListFilesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public final ListFilesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides