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