Class ListPythonPackagesResponse.Builder (1.23.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.devtools.artifactregistry.v1.PythonPackage>
Returns
TypeDescription
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
NameDescription
valuePythonPackage
Returns
TypeDescription
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
NameDescription
builderForValuePythonPackage.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePythonPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePythonPackage.Builder
Returns
TypeDescription
ListPythonPackagesResponse.Builder

addPythonPackagesBuilder()

public PythonPackage.Builder addPythonPackagesBuilder()

The python packages returned.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PythonPackage.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ListPythonPackagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

build()

public ListPythonPackagesResponse build()
Returns
TypeDescription
ListPythonPackagesResponse

buildPartial()

public ListPythonPackagesResponse buildPartial()
Returns
TypeDescription
ListPythonPackagesResponse

clear()

public ListPythonPackagesResponse.Builder clear()
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ListPythonPackagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ListPythonPackagesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ListPythonPackagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

clearPythonPackages()

public ListPythonPackagesResponse.Builder clearPythonPackages()

The python packages returned.

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

Returns
TypeDescription
ListPythonPackagesResponse.Builder

clone()

public ListPythonPackagesResponse.Builder clone()
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

getDefaultInstanceForType()

public ListPythonPackagesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPythonPackagesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PythonPackage

getPythonPackagesBuilder(int index)

public PythonPackage.Builder getPythonPackagesBuilder(int index)

The python packages returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PythonPackage.Builder

getPythonPackagesBuilderList()

public List<PythonPackage.Builder> getPythonPackagesBuilderList()

The python packages returned.

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

Returns
TypeDescription
List<Builder>

getPythonPackagesCount()

public int getPythonPackagesCount()

The python packages returned.

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

Returns
TypeDescription
int

getPythonPackagesList()

public List<PythonPackage> getPythonPackagesList()

The python packages returned.

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

Returns
TypeDescription
List<PythonPackage>

getPythonPackagesOrBuilder(int index)

public PythonPackageOrBuilder getPythonPackagesOrBuilder(int index)

The python packages returned.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
PythonPackageOrBuilder

getPythonPackagesOrBuilderList()

public List<? extends PythonPackageOrBuilder> getPythonPackagesOrBuilderList()

The python packages returned.

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListPythonPackagesResponse other)

public ListPythonPackagesResponse.Builder mergeFrom(ListPythonPackagesResponse other)
Parameter
NameDescription
otherListPythonPackagesResponse
Returns
TypeDescription
ListPythonPackagesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ListPythonPackagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ListPythonPackagesResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListPythonPackagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ListPythonPackagesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public ListPythonPackagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
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
NameDescription
indexint
valuePythonPackage
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePythonPackage.Builder
Returns
TypeDescription
ListPythonPackagesResponse.Builder

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

public ListPythonPackagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ListPythonPackagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListPythonPackagesResponse.Builder
Overrides