public static final class ListTagsRequest.Builder extends GeneratedMessage.Builder<ListTagsRequest.Builder> implements ListTagsRequestOrBuilderThe request to list tags.
Protobuf type google.devtools.artifactregistry.v1.ListTagsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListTagsRequest.BuilderImplements
ListTagsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListTagsRequest build()| Returns | |
|---|---|
| Type | Description |
ListTagsRequest |
|
buildPartial()
public ListTagsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListTagsRequest |
|
clear()
public ListTagsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
|
clearFilter()
public ListTagsRequest.Builder clearFilter()An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
nameversionExamples of using a filter:
To filter the results of your request to tags with the name
my-tagin packagemy-packagein repositorymy-repoin project "y-projectin the us-central region, append the following filter expression to your request:name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"You can also use wildcards to match any number of characters before or after the value:
name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"To filter the results of your request to tags applied to the version
1.0in packagemy-package, append the following filter expression to your request:version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
clearPageSize()
public ListTagsRequest.Builder clearPageSize()The maximum number of tags to return. Maximum page size is 1,000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
clearPageToken()
public ListTagsRequest.Builder clearPageToken()The next_page_token value returned from a previous list request, if any.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
clearParent()
public ListTagsRequest.Builder clearParent() The name of the parent package whose tags will be listed.
For example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ListTagsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ListTagsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
nameversionExamples of using a filter:
To filter the results of your request to tags with the name
my-tagin packagemy-packagein repositorymy-repoin project "y-projectin the us-central region, append the following filter expression to your request:name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"You can also use wildcards to match any number of characters before or after the value:
name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"To filter the results of your request to tags applied to the version
1.0in packagemy-package, append the following filter expression to your request:version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
nameversionExamples of using a filter:
To filter the results of your request to tags with the name
my-tagin packagemy-packagein repositorymy-repoin project "y-projectin the us-central region, append the following filter expression to your request:name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"You can also use wildcards to match any number of characters before or after the value:
name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"To filter the results of your request to tags applied to the version
1.0in packagemy-package, append the following filter expression to your request:version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"
string filter = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getPageSize()
public int getPageSize()The maximum number of tags to return. Maximum page size is 1,000.
int32 page_size = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken()The next_page_token value returned from a previous list request, if any.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()The next_page_token value returned from a previous list request, if any.
string page_token = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent() The name of the parent package whose tags will be listed.
For example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() The name of the parent package whose tags will be listed.
For example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
string parent = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ListTagsRequest other)
public ListTagsRequest.Builder mergeFrom(ListTagsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
ListTagsRequest |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ListTagsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ListTagsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
|
setFilter(String value)
public ListTagsRequest.Builder setFilter(String value)An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
nameversionExamples of using a filter:
To filter the results of your request to tags with the name
my-tagin packagemy-packagein repositorymy-repoin project "y-projectin the us-central region, append the following filter expression to your request:name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"You can also use wildcards to match any number of characters before or after the value:
name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"To filter the results of your request to tags applied to the version
1.0in packagemy-package, append the following filter expression to your request:version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public ListTagsRequest.Builder setFilterBytes(ByteString value)An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:
nameversionExamples of using a filter:
To filter the results of your request to tags with the name
my-tagin packagemy-packagein repositorymy-repoin project "y-projectin the us-central region, append the following filter expression to your request:name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my-tag"You can also use wildcards to match any number of characters before or after the value:
name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/my*"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag"name="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/tags/*tag*"To filter the results of your request to tags applied to the version
1.0in packagemy-package, append the following filter expression to your request:version="projects/my-project/locations/us-central1/repositories/my-repo/packages/my-package/versions/1.0"
string filter = 4;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public ListTagsRequest.Builder setPageSize(int value)The maximum number of tags to return. Maximum page size is 1,000.
int32 page_size = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public ListTagsRequest.Builder setPageToken(String value)The next_page_token value returned from a previous list request, if any.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public ListTagsRequest.Builder setPageTokenBytes(ByteString value)The next_page_token value returned from a previous list request, if any.
string page_token = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setParent(String value)
public ListTagsRequest.Builder setParent(String value) The name of the parent package whose tags will be listed.
For example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
string parent = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public ListTagsRequest.Builder setParentBytes(ByteString value) The name of the parent package whose tags will be listed.
For example:
projects/p1/locations/us-central1/repositories/repo1/packages/pkg1.
string parent = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
ListTagsRequest.Builder |
This builder for chaining. |