Class ListTagsRequest.Builder (1.3.0)

public static final class ListTagsRequest.Builder extends GeneratedMessageV3.Builder<ListTagsRequest.Builder> implements ListTagsRequestOrBuilder

The request to list tags.

Protobuf type google.devtools.artifactregistry.v1.ListTagsRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListTagsRequest build()
Returns
TypeDescription
ListTagsRequest

buildPartial()

public ListTagsRequest buildPartial()
Returns
TypeDescription
ListTagsRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

public ListTagsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
ListTagsRequest.Builder
Overrides

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:

  • version An example of using a filter:
  • version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.

string filter = 4;

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPageSize()

public ListTagsRequest.Builder clearPageSize()

The maximum number of tags to return. Maximum page size is 10,000.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

clearParent()

public ListTagsRequest.Builder clearParent()

The name of the parent resource whose tags will be listed.

string parent = 1;

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ListTagsRequest getDefaultInstanceForType()
Returns
TypeDescription
ListTagsRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilter()

public String getFilter()

An expression for filtering the results of the request. Filter rules are case insensitive. The fields eligible for filtering are:

  • version An example of using a filter:
  • version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.

string filter = 4;

Returns
TypeDescription
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:

  • version An example of using a filter:
  • version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.

string filter = 4;

Returns
TypeDescription
ByteString

The bytes for filter.

getPageSize()

public int getPageSize()

The maximum number of tags to return. Maximum page size is 10,000.

int32 page_size = 2;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for pageToken.

getParent()

public String getParent()

The name of the parent resource whose tags will be listed.

string parent = 1;

Returns
TypeDescription
String

The parent.

getParentBytes()

public ByteString getParentBytes()

The name of the parent resource whose tags will be listed.

string parent = 1;

Returns
TypeDescription
ByteString

The bytes for parent.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListTagsRequest other)

public ListTagsRequest.Builder mergeFrom(ListTagsRequest other)
Parameter
NameDescription
otherListTagsRequest
Returns
TypeDescription
ListTagsRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListTagsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ListTagsRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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:

  • version An example of using a filter:
  • version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.

string filter = 4;

Parameter
NameDescription
valueString

The filter to set.

Returns
TypeDescription
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:

  • version An example of using a filter:
  • version="projects/p1/locations/us-central1/repositories/repo1/packages/pkg1/versions/1.0" --> Tags that are applied to the version 1.0 in package pkg1.

string filter = 4;

Parameter
NameDescription
valueByteString

The bytes for filter to set.

Returns
TypeDescription
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 10,000.

int32 page_size = 2;

Parameter
NameDescription
valueint

The pageSize to set.

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

The pageToken to set.

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

The bytes for pageToken to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

setParent(String value)

public ListTagsRequest.Builder setParent(String value)

The name of the parent resource whose tags will be listed.

string parent = 1;

Parameter
NameDescription
valueString

The parent to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

setParentBytes(ByteString value)

public ListTagsRequest.Builder setParentBytes(ByteString value)

The name of the parent resource whose tags will be listed.

string parent = 1;

Parameter
NameDescription
valueByteString

The bytes for parent to set.

Returns
TypeDescription
ListTagsRequest.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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