Class ListPythonPackagesResponse.Builder (1.45.0)

public static final class ListPythonPackagesResponse.Builder extends GeneratedMessageV3.Builder<ListPythonPackagesResponse.Builder> implements ListPythonPackagesResponseOrBuilder

The response from listing python packages.

Protobuf type google.devtools.artifactregistry.v1.ListPythonPackagesResponse

Static Methods

getDescriptor()

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

Methods

addAllPythonPackages(Iterable<? extends PythonPackage> values)

public ListPythonPackagesResponse.Builder addAllPythonPackages(Iterable<? extends PythonPackage> values)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
values Iterable<? extends com.google.devtools.artifactregistry.v1.PythonPackage>
Returns
Type Description
ListPythonPackagesResponse.Builder

addPythonPackages(PythonPackage value)

public ListPythonPackagesResponse.Builder addPythonPackages(PythonPackage value)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
value PythonPackage
Returns
Type Description
ListPythonPackagesResponse.Builder

addPythonPackages(PythonPackage.Builder builderForValue)

public ListPythonPackagesResponse.Builder addPythonPackages(PythonPackage.Builder builderForValue)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
builderForValue PythonPackage.Builder
Returns
Type Description
ListPythonPackagesResponse.Builder

addPythonPackages(int index, PythonPackage value)

public ListPythonPackagesResponse.Builder addPythonPackages(int index, PythonPackage value)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameters
Name Description
index int
value PythonPackage
Returns
Type Description
ListPythonPackagesResponse.Builder

addPythonPackages(int index, PythonPackage.Builder builderForValue)

public ListPythonPackagesResponse.Builder addPythonPackages(int index, PythonPackage.Builder builderForValue)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameters
Name Description
index int
builderForValue PythonPackage.Builder
Returns
Type Description
ListPythonPackagesResponse.Builder

addPythonPackagesBuilder()

public PythonPackage.Builder addPythonPackagesBuilder()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
PythonPackage.Builder

addPythonPackagesBuilder(int index)

public PythonPackage.Builder addPythonPackagesBuilder(int index)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
index int
Returns
Type Description
PythonPackage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListPythonPackagesResponse build()
Returns
Type Description
ListPythonPackagesResponse

buildPartial()

public ListPythonPackagesResponse buildPartial()
Returns
Type Description
ListPythonPackagesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearNextPageToken()

public ListPythonPackagesResponse.Builder clearNextPageToken()

The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.

string next_page_token = 2;

Returns
Type Description
ListPythonPackagesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPythonPackages()

public ListPythonPackagesResponse.Builder clearPythonPackages()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
ListPythonPackagesResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListPythonPackagesResponse getDefaultInstanceForType()
Returns
Type Description
ListPythonPackagesResponse

getDescriptorForType()

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

getNextPageToken()

public String getNextPageToken()

The token to retrieve the next page of artifacts, or empty if there are no more artifacts 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 artifacts, or empty if there are no more artifacts to return.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getPythonPackages(int index)

public PythonPackage getPythonPackages(int index)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
index int
Returns
Type Description
PythonPackage

getPythonPackagesBuilder(int index)

public PythonPackage.Builder getPythonPackagesBuilder(int index)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
index int
Returns
Type Description
PythonPackage.Builder

getPythonPackagesBuilderList()

public List<PythonPackage.Builder> getPythonPackagesBuilderList()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
List<Builder>

getPythonPackagesCount()

public int getPythonPackagesCount()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
int

getPythonPackagesList()

public List<PythonPackage> getPythonPackagesList()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
List<PythonPackage>

getPythonPackagesOrBuilder(int index)

public PythonPackageOrBuilder getPythonPackagesOrBuilder(int index)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
index int
Returns
Type Description
PythonPackageOrBuilder

getPythonPackagesOrBuilderList()

public List<? extends PythonPackageOrBuilder> getPythonPackagesOrBuilderList()

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Returns
Type Description
List<? extends com.google.devtools.artifactregistry.v1.PythonPackageOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListPythonPackagesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removePythonPackages(int index)

public ListPythonPackagesResponse.Builder removePythonPackages(int index)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameter
Name Description
index int
Returns
Type Description
ListPythonPackagesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setNextPageToken(String value)

public ListPythonPackagesResponse.Builder setNextPageToken(String value)

The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
ListPythonPackagesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListPythonPackagesResponse.Builder setNextPageTokenBytes(ByteString value)

The token to retrieve the next page of artifacts, or empty if there are no more artifacts to return.

string next_page_token = 2;

Parameter
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
ListPythonPackagesResponse.Builder

This builder for chaining.

setPythonPackages(int index, PythonPackage value)

public ListPythonPackagesResponse.Builder setPythonPackages(int index, PythonPackage value)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameters
Name Description
index int
value PythonPackage
Returns
Type Description
ListPythonPackagesResponse.Builder

setPythonPackages(int index, PythonPackage.Builder builderForValue)

public ListPythonPackagesResponse.Builder setPythonPackages(int index, PythonPackage.Builder builderForValue)

The python packages returned.

repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;

Parameters
Name Description
index int
builderForValue PythonPackage.Builder
Returns
Type Description
ListPythonPackagesResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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