Package com.google.photos.types.proto
Interface ShareInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ShareInfo
,ShareInfo.Builder
public interface ShareInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
getIsJoinable()
True if the album can be joined by users.boolean
getIsJoined()
True if the user is joined to the album.boolean
getIsOwned()
True if the user owns the album.java.lang.String
getShareableUrl()
A link to the shared Google Photos album.com.google.protobuf.ByteString
getShareableUrlBytes()
A link to the shared Google Photos album.SharedAlbumOptions
getSharedAlbumOptions()
Options that control whether someone can add media items to, or comment on a shared album.SharedAlbumOptionsOrBuilder
getSharedAlbumOptionsOrBuilder()
Options that control whether someone can add media items to, or comment on a shared album.java.lang.String
getShareToken()
A token that is used to join, leave, or retrieve the details of a shared album on behalf of a user who isn't the owner.com.google.protobuf.ByteString
getShareTokenBytes()
A token that is used to join, leave, or retrieve the details of a shared album on behalf of a user who isn't the owner.boolean
hasSharedAlbumOptions()
Options that control whether someone can add media items to, or comment on a shared album.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasSharedAlbumOptions
boolean hasSharedAlbumOptions()
Options that control whether someone can add media items to, or comment on a shared album.
.google.photos.types.SharedAlbumOptions shared_album_options = 1;
- Returns:
- Whether the sharedAlbumOptions field is set.
-
getSharedAlbumOptions
SharedAlbumOptions getSharedAlbumOptions()
Options that control whether someone can add media items to, or comment on a shared album.
.google.photos.types.SharedAlbumOptions shared_album_options = 1;
- Returns:
- The sharedAlbumOptions.
-
getSharedAlbumOptionsOrBuilder
SharedAlbumOptionsOrBuilder getSharedAlbumOptionsOrBuilder()
Options that control whether someone can add media items to, or comment on a shared album.
.google.photos.types.SharedAlbumOptions shared_album_options = 1;
-
getShareableUrl
java.lang.String getShareableUrl()
A link to the shared Google Photos album. Anyone with the link can view the contents of the album, so it should be treated with care. The `shareableUrl` parameter is only returned if the album has link sharing turned on. If a user is already joined to an album that isn't link-shared, they can use the album's [`productUrl`](https://developers.google.com/photos/library/reference/rest/v1/albums#Album) to access it instead. A `shareableUrl` is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.
string shareable_url = 2;
- Returns:
- The shareableUrl.
-
getShareableUrlBytes
com.google.protobuf.ByteString getShareableUrlBytes()
A link to the shared Google Photos album. Anyone with the link can view the contents of the album, so it should be treated with care. The `shareableUrl` parameter is only returned if the album has link sharing turned on. If a user is already joined to an album that isn't link-shared, they can use the album's [`productUrl`](https://developers.google.com/photos/library/reference/rest/v1/albums#Album) to access it instead. A `shareableUrl` is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.
string shareable_url = 2;
- Returns:
- The bytes for shareableUrl.
-
getShareToken
java.lang.String getShareToken()
A token that is used to join, leave, or retrieve the details of a shared album on behalf of a user who isn't the owner. A `shareToken` is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.
string share_token = 3;
- Returns:
- The shareToken.
-
getShareTokenBytes
com.google.protobuf.ByteString getShareTokenBytes()
A token that is used to join, leave, or retrieve the details of a shared album on behalf of a user who isn't the owner. A `shareToken` is invalidated if the owner turns off link sharing in the Google Photos app, or if the album is unshared.
string share_token = 3;
- Returns:
- The bytes for shareToken.
-
getIsJoined
boolean getIsJoined()
True if the user is joined to the album. This is always true for the owner of the album.
bool is_joined = 4;
- Returns:
- The isJoined.
-
getIsOwned
boolean getIsOwned()
True if the user owns the album.
bool is_owned = 5;
- Returns:
- The isOwned.
-
getIsJoinable
boolean getIsJoinable()
True if the album can be joined by users.
bool is_joinable = 6;
- Returns:
- The isJoinable.
-
-