Class BatchRemoveMediaItemsFromAlbumRequest.Builder

    • Method Detail

      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        Specified by:
        internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRemoveMediaItemsFromAlbumRequest.Builder>
      • getDescriptorForType

        public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
        Specified by:
        getDescriptorForType in interface com.google.protobuf.Message.Builder
        Specified by:
        getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
        Overrides:
        getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRemoveMediaItemsFromAlbumRequest.Builder>
      • getDefaultInstanceForType

        public BatchRemoveMediaItemsFromAlbumRequest getDefaultInstanceForType()
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
        Specified by:
        getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
      • build

        public BatchRemoveMediaItemsFromAlbumRequest build()
        Specified by:
        build in interface com.google.protobuf.Message.Builder
        Specified by:
        build in interface com.google.protobuf.MessageLite.Builder
      • buildPartial

        public BatchRemoveMediaItemsFromAlbumRequest buildPartial()
        Specified by:
        buildPartial in interface com.google.protobuf.Message.Builder
        Specified by:
        buildPartial in interface com.google.protobuf.MessageLite.Builder
      • isInitialized

        public final boolean isInitialized()
        Specified by:
        isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
        Overrides:
        isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BatchRemoveMediaItemsFromAlbumRequest.Builder>
      • mergeFrom

        public BatchRemoveMediaItemsFromAlbumRequest.Builder mergeFrom​(com.google.protobuf.CodedInputStream input,
                                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                                throws java.io.IOException
        Specified by:
        mergeFrom in interface com.google.protobuf.Message.Builder
        Specified by:
        mergeFrom in interface com.google.protobuf.MessageLite.Builder
        Overrides:
        mergeFrom in class com.google.protobuf.AbstractMessage.Builder<BatchRemoveMediaItemsFromAlbumRequest.Builder>
        Throws:
        java.io.IOException
      • getMediaItemIdsList

        public com.google.protobuf.ProtocolStringList getMediaItemIdsList()
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIdsList in interface BatchRemoveMediaItemsFromAlbumRequestOrBuilder
        Returns:
        A list containing the mediaItemIds.
      • getMediaItemIdsCount

        public int getMediaItemIdsCount()
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIdsCount in interface BatchRemoveMediaItemsFromAlbumRequestOrBuilder
        Returns:
        The count of mediaItemIds.
      • getMediaItemIds

        public java.lang.String getMediaItemIds​(int index)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIds in interface BatchRemoveMediaItemsFromAlbumRequestOrBuilder
        Parameters:
        index - The index of the element to return.
        Returns:
        The mediaItemIds at the given index.
      • getMediaItemIdsBytes

        public com.google.protobuf.ByteString getMediaItemIdsBytes​(int index)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIdsBytes in interface BatchRemoveMediaItemsFromAlbumRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the mediaItemIds at the given index.
      • setMediaItemIds

        public BatchRemoveMediaItemsFromAlbumRequest.Builder setMediaItemIds​(int index,
                                                                             java.lang.String value)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Parameters:
        index - The index to set the value at.
        value - The mediaItemIds to set.
        Returns:
        This builder for chaining.
      • addMediaItemIds

        public BatchRemoveMediaItemsFromAlbumRequest.Builder addMediaItemIds​(java.lang.String value)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Parameters:
        value - The mediaItemIds to add.
        Returns:
        This builder for chaining.
      • addAllMediaItemIds

        public BatchRemoveMediaItemsFromAlbumRequest.Builder addAllMediaItemIds​(java.lang.Iterable<java.lang.String> values)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Parameters:
        values - The mediaItemIds to add.
        Returns:
        This builder for chaining.
      • clearMediaItemIds

        public BatchRemoveMediaItemsFromAlbumRequest.Builder clearMediaItemIds()
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Returns:
        This builder for chaining.
      • addMediaItemIdsBytes

        public BatchRemoveMediaItemsFromAlbumRequest.Builder addMediaItemIdsBytes​(com.google.protobuf.ByteString value)
         Identifiers of the [MediaItem][google.photos.types.MediaItem]s to be
         removed.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be removed in one call is 50.
         
        repeated string media_item_ids = 1;
        Parameters:
        value - The bytes of the mediaItemIds to add.
        Returns:
        This builder for chaining.
      • getAlbumIdBytes

        public com.google.protobuf.ByteString getAlbumIdBytes()
         Identifier of the [Album][google.photos.types.Album] that the media
         items are to be removed from.
         
        string album_id = 2;
        Specified by:
        getAlbumIdBytes in interface BatchRemoveMediaItemsFromAlbumRequestOrBuilder
        Returns:
        The bytes for albumId.
      • setAlbumId

        public BatchRemoveMediaItemsFromAlbumRequest.Builder setAlbumId​(java.lang.String value)
         Identifier of the [Album][google.photos.types.Album] that the media
         items are to be removed from.
         
        string album_id = 2;
        Parameters:
        value - The albumId to set.
        Returns:
        This builder for chaining.
      • clearAlbumId

        public BatchRemoveMediaItemsFromAlbumRequest.Builder clearAlbumId()
         Identifier of the [Album][google.photos.types.Album] that the media
         items are to be removed from.
         
        string album_id = 2;
        Returns:
        This builder for chaining.
      • setAlbumIdBytes

        public BatchRemoveMediaItemsFromAlbumRequest.Builder setAlbumIdBytes​(com.google.protobuf.ByteString value)
         Identifier of the [Album][google.photos.types.Album] that the media
         items are to be removed from.
         
        string album_id = 2;
        Parameters:
        value - The bytes for albumId to set.
        Returns:
        This builder for chaining.