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
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()
Returns
Methods
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
public ListPythonPackagesResponse.Builder addPythonPackages(PythonPackage value)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public ListPythonPackagesResponse.Builder addPythonPackages(PythonPackage.Builder builderForValue)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public ListPythonPackagesResponse.Builder addPythonPackages(int index, PythonPackage value)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameters
Returns
public ListPythonPackagesResponse.Builder addPythonPackages(int index, PythonPackage.Builder builderForValue)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameters
Returns
public PythonPackage.Builder addPythonPackagesBuilder()
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Returns
public PythonPackage.Builder addPythonPackagesBuilder(int index)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public ListPythonPackagesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ListPythonPackagesResponse build()
Returns
public ListPythonPackagesResponse buildPartial()
Returns
public ListPythonPackagesResponse.Builder clear()
Returns
Overrides
public ListPythonPackagesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
public ListPythonPackagesResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ListPythonPackagesResponse.Builder clearPythonPackages()
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Returns
public ListPythonPackagesResponse.Builder clone()
Returns
Overrides
public ListPythonPackagesResponse getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
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.
|
public PythonPackage getPythonPackages(int index)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public PythonPackage.Builder getPythonPackagesBuilder(int index)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public List<PythonPackage.Builder> getPythonPackagesBuilderList()
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Returns
public int getPythonPackagesCount()
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Returns
public List<PythonPackage> getPythonPackagesList()
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Returns
public PythonPackageOrBuilder getPythonPackagesOrBuilder(int index)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
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> | |
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ListPythonPackagesResponse.Builder mergeFrom(ListPythonPackagesResponse other)
Parameter
Returns
public ListPythonPackagesResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ListPythonPackagesResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ListPythonPackagesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ListPythonPackagesResponse.Builder removePythonPackages(int index)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameter
Returns
public ListPythonPackagesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
public ListPythonPackagesResponse.Builder setPythonPackages(int index, PythonPackage value)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameters
Returns
public ListPythonPackagesResponse.Builder setPythonPackages(int index, PythonPackage.Builder builderForValue)
The python packages returned.
repeated .google.devtools.artifactregistry.v1.PythonPackage python_packages = 1;
Parameters
Returns
public ListPythonPackagesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ListPythonPackagesResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides