Class ListTagsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ListTagsRequest.Builder
- All Implemented Interfaces:
ListTagsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListTagsRequest
public static final class ListTagsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
implements ListTagsRequestOrBuilder
The request to list tags.Protobuf type
google.devtools.artifactregistry.v1beta2.ListTagsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()An expression for filtering the results of the request.The maximum number of tags to return.The next_page_token value returned from a previous list request, if any.The name of the parent resource whose tags will be listed.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorAn expression for filtering the results of the request.com.google.protobuf.ByteStringAn expression for filtering the results of the request.intThe maximum number of tags to return.The next_page_token value returned from a previous list request, if any.com.google.protobuf.ByteStringThe next_page_token value returned from a previous list request, if any.The name of the parent resource whose tags will be listed.com.google.protobuf.ByteStringThe name of the parent resource whose tags will be listed.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListTagsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) An expression for filtering the results of the request.setFilterBytes(com.google.protobuf.ByteString value) An expression for filtering the results of the request.setPageSize(int value) The maximum number of tags to return.setPageToken(String value) The next_page_token value returned from a previous list request, if any.setPageTokenBytes(com.google.protobuf.ByteString value) The next_page_token value returned from a previous list request, if any.The name of the parent resource whose tags will be listed.setParentBytes(com.google.protobuf.ByteString value) The name of the parent resource whose tags will be listed.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTagsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListTagsRequest.Builder>
-
mergeFrom
public ListTagsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListTagsRequest.Builder>- Throws:
IOException
-
getParent
The name of the parent resource whose tags will be listed.
string parent = 1;- Specified by:
getParentin interfaceListTagsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The name of the parent resource whose tags will be listed.
string parent = 1;- Specified by:
getParentBytesin interfaceListTagsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the parent resource whose tags will be listed.
string parent = 1;- Parameters:
value- The parent to set.- Returns:
- This builder for chaining.
-
clearParent
The name of the parent resource whose tags will be listed.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the parent resource whose tags will be listed.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
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;- Specified by:
getFilterin interfaceListTagsRequestOrBuilder- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.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;- Specified by:
getFilterBytesin interfaceListTagsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
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;- Parameters:
value- The filter to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setFilterBytes
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;- Parameters:
value- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The maximum number of tags to return. Maximum page size is 10,000.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListTagsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The maximum number of tags to return. Maximum page size is 10,000.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The maximum number of tags to return. Maximum page size is 10,000.
int32 page_size = 2;- Returns:
- This builder for chaining.
-
getPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Specified by:
getPageTokenin interfaceListTagsRequestOrBuilder- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Specified by:
getPageTokenBytesin interfaceListTagsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Parameters:
value- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Returns:
- This builder for chaining.
-
setPageTokenBytes
The next_page_token value returned from a previous list request, if any.
string page_token = 3;- Parameters:
value- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-