Class ListAttachmentsResponse.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<ListAttachmentsResponse.Builder>
com.google.devtools.artifactregistry.v1.ListAttachmentsResponse.Builder
- All Implemented Interfaces:
ListAttachmentsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListAttachmentsResponse
public static final class ListAttachmentsResponse.Builder
extends com.google.protobuf.GeneratedMessage.Builder<ListAttachmentsResponse.Builder>
implements ListAttachmentsResponseOrBuilder
The response from listing attachments.Protobuf type
google.devtools.artifactregistry.v1.ListAttachmentsResponse-
Method Summary
Modifier and TypeMethodDescriptionaddAllAttachments(Iterable<? extends Attachment> values) The attachments returned.addAttachments(int index, Attachment value) The attachments returned.addAttachments(int index, Attachment.Builder builderForValue) The attachments returned.addAttachments(Attachment value) The attachments returned.addAttachments(Attachment.Builder builderForValue) The attachments returned.The attachments returned.addAttachmentsBuilder(int index) The attachments returned.build()clear()The attachments returned.The token to retrieve the next page of attachments, or empty if there are no more attachments to return.getAttachments(int index) The attachments returned.getAttachmentsBuilder(int index) The attachments returned.The attachments returned.intThe attachments returned.The attachments returned.getAttachmentsOrBuilder(int index) The attachments returned.List<? extends AttachmentOrBuilder>The attachments returned.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorThe token to retrieve the next page of attachments, or empty if there are no more attachments to return.com.google.protobuf.ByteStringThe token to retrieve the next page of attachments, or empty if there are no more attachments to return.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(ListAttachmentsResponse other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeAttachments(int index) The attachments returned.setAttachments(int index, Attachment value) The attachments returned.setAttachments(int index, Attachment.Builder builderForValue) The attachments returned.setNextPageToken(String value) The token to retrieve the next page of attachments, or empty if there are no more attachments to return.setNextPageTokenBytes(com.google.protobuf.ByteString value) The token to retrieve the next page of attachments, or empty if there are no more attachments to return.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<ListAttachmentsResponse.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<ListAttachmentsResponse.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<ListAttachmentsResponse.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<ListAttachmentsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<ListAttachmentsResponse.Builder>
-
mergeFrom
public ListAttachmentsResponse.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<ListAttachmentsResponse.Builder>- Throws:
IOException
-
getAttachmentsList
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1;- Specified by:
getAttachmentsListin interfaceListAttachmentsResponseOrBuilder
-
getAttachmentsCount
public int getAttachmentsCount()The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1;- Specified by:
getAttachmentsCountin interfaceListAttachmentsResponseOrBuilder
-
getAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1;- Specified by:
getAttachmentsin interfaceListAttachmentsResponseOrBuilder
-
setAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
setAttachments
public ListAttachmentsResponse.Builder setAttachments(int index, Attachment.Builder builderForValue) The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAttachments
public ListAttachmentsResponse.Builder addAttachments(int index, Attachment.Builder builderForValue) The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAllAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
clearAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
removeAttachments
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
getAttachmentsBuilder
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
getAttachmentsOrBuilder
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1;- Specified by:
getAttachmentsOrBuilderin interfaceListAttachmentsResponseOrBuilder
-
getAttachmentsOrBuilderList
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1;- Specified by:
getAttachmentsOrBuilderListin interfaceListAttachmentsResponseOrBuilder
-
addAttachmentsBuilder
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
addAttachmentsBuilder
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
getAttachmentsBuilderList
The attachments returned.
repeated .google.devtools.artifactregistry.v1.Attachment attachments = 1; -
getNextPageToken
The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListAttachmentsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListAttachmentsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
The token to retrieve the next page of attachments, or empty if there are no more attachments to return.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-