Class ListVersionsRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListVersionsRequest.Builder>
com.google.devtools.artifactregistry.v1beta2.ListVersionsRequest.Builder
- All Implemented Interfaces:
ListVersionsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListVersionsRequest
public static final class ListVersionsRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListVersionsRequest.Builder>
implements ListVersionsRequestOrBuilder
The request to list versions.Protobuf type
google.devtools.artifactregistry.v1beta2.ListVersionsRequest-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Optional.The maximum number of versions to return.The next_page_token value returned from a previous list request, if any.The name of the parent resource whose versions will be listed.The view that should be returned in the response.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.intThe maximum number of versions 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 versions will be listed.com.google.protobuf.ByteStringThe name of the parent resource whose versions will be listed.getView()The view that should be returned in the response.intThe view that should be returned in the response.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListVersionsRequest other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setOrderBy(String value) Optional.setOrderByBytes(com.google.protobuf.ByteString value) Optional.setPageSize(int value) The maximum number of versions 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 versions will be listed.setParentBytes(com.google.protobuf.ByteString value) The name of the parent resource whose versions will be listed.setView(VersionView value) The view that should be returned in the response.setViewValue(int value) The view that should be returned in the response.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<ListVersionsRequest.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<ListVersionsRequest.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<ListVersionsRequest.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<ListVersionsRequest.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListVersionsRequest.Builder>
-
mergeFrom
public ListVersionsRequest.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<ListVersionsRequest.Builder>- Throws:
IOException
-
getParent
The name of the parent resource whose versions will be listed.
string parent = 1;- Specified by:
getParentin interfaceListVersionsRequestOrBuilder- Returns:
- The parent.
-
getParentBytes
public com.google.protobuf.ByteString getParentBytes()The name of the parent resource whose versions will be listed.
string parent = 1;- Specified by:
getParentBytesin interfaceListVersionsRequestOrBuilder- Returns:
- The bytes for parent.
-
setParent
The name of the parent resource whose versions 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 versions will be listed.
string parent = 1;- Returns:
- This builder for chaining.
-
setParentBytes
The name of the parent resource whose versions will be listed.
string parent = 1;- Parameters:
value- The bytes for parent to set.- Returns:
- This builder for chaining.
-
getPageSize
public int getPageSize()The maximum number of versions to return. Maximum page size is 1,000.
int32 page_size = 2;- Specified by:
getPageSizein interfaceListVersionsRequestOrBuilder- Returns:
- The pageSize.
-
setPageSize
The maximum number of versions to return. Maximum page size is 1,000.
int32 page_size = 2;- Parameters:
value- The pageSize to set.- Returns:
- This builder for chaining.
-
clearPageSize
The maximum number of versions to return. Maximum page size is 1,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 interfaceListVersionsRequestOrBuilder- 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 interfaceListVersionsRequestOrBuilder- 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.
-
getViewValue
public int getViewValue()The view that should be returned in the response.
.google.devtools.artifactregistry.v1beta2.VersionView view = 4;- Specified by:
getViewValuein interfaceListVersionsRequestOrBuilder- Returns:
- The enum numeric value on the wire for view.
-
setViewValue
The view that should be returned in the response.
.google.devtools.artifactregistry.v1beta2.VersionView view = 4;- Parameters:
value- The enum numeric value on the wire for view to set.- Returns:
- This builder for chaining.
-
getView
The view that should be returned in the response.
.google.devtools.artifactregistry.v1beta2.VersionView view = 4;- Specified by:
getViewin interfaceListVersionsRequestOrBuilder- Returns:
- The view.
-
setView
The view that should be returned in the response.
.google.devtools.artifactregistry.v1beta2.VersionView view = 4;- Parameters:
value- The view to set.- Returns:
- This builder for chaining.
-
clearView
The view that should be returned in the response.
.google.devtools.artifactregistry.v1beta2.VersionView view = 4;- Returns:
- This builder for chaining.
-
getOrderBy
Optional. The field to order the results by.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByin interfaceListVersionsRequestOrBuilder- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()Optional. The field to order the results by.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getOrderByBytesin interfaceListVersionsRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
Optional. The field to order the results by.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
Optional. The field to order the results by.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Returns:
- This builder for chaining.
-
setOrderByBytes
Optional. The field to order the results by.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];- Parameters:
value- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-