com.google.photos.library.v1.proto.UpdateMediaItemRequestOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-photos-library-client Show documentation
Show all versions of google-photos-library-client Show documentation
Google Photos Library API Client Library for Java
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/photos/library/v1/photos_library.proto
package com.google.photos.library.v1.proto;
public interface UpdateMediaItemRequestOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.photos.library.v1.UpdateMediaItemRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* Required. The [MediaItem][google.photos.types.MediaItem] to update.
* The media item's `id` field is used to identify the media item to be
* updated.
* The media item's `description` field is used to set the new media item
* description.
*
*
* .google.photos.types.MediaItem media_item = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the mediaItem field is set.
*/
boolean hasMediaItem();
/**
*
*
*
* Required. The [MediaItem][google.photos.types.MediaItem] to update.
* The media item's `id` field is used to identify the media item to be
* updated.
* The media item's `description` field is used to set the new media item
* description.
*
*
* .google.photos.types.MediaItem media_item = 1 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The mediaItem.
*/
com.google.photos.types.proto.MediaItem getMediaItem();
/**
*
*
*
* Required. The [MediaItem][google.photos.types.MediaItem] to update.
* The media item's `id` field is used to identify the media item to be
* updated.
* The media item's `description` field is used to set the new media item
* description.
*
*
* .google.photos.types.MediaItem media_item = 1 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.photos.types.proto.MediaItemOrBuilder getMediaItemOrBuilder();
/**
*
*
*
* Required. Indicate what fields in the provided media item to update.
* The only valid value is `description`.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return Whether the updateMask field is set.
*/
boolean hasUpdateMask();
/**
*
*
*
* Required. Indicate what fields in the provided media item to update.
* The only valid value is `description`.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*
*
* @return The updateMask.
*/
com.google.protobuf.FieldMask getUpdateMask();
/**
*
*
*
* Required. Indicate what fields in the provided media item to update.
* The only valid value is `description`.
*
*
* .google.protobuf.FieldMask update_mask = 2 [(.google.api.field_behavior) = REQUIRED];
*
*/
com.google.protobuf.FieldMaskOrBuilder getUpdateMaskOrBuilder();
}