Class AddEnrichmentToAlbumRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderType>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
- com.google.photos.library.v1.proto.AddEnrichmentToAlbumRequest.Builder
-
- All Implemented Interfaces:
AddEnrichmentToAlbumRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,java.lang.Cloneable
- Enclosing class:
- AddEnrichmentToAlbumRequest
public static final class AddEnrichmentToAlbumRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder> implements AddEnrichmentToAlbumRequestOrBuilder
Request to add an enrichment to a specific album at a specific position.
Protobuf typegoogle.photos.library.v1.AddEnrichmentToAlbumRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description AddEnrichmentToAlbumRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AddEnrichmentToAlbumRequest
build()
AddEnrichmentToAlbumRequest
buildPartial()
AddEnrichmentToAlbumRequest.Builder
clear()
AddEnrichmentToAlbumRequest.Builder
clearAlbumId()
Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.Builder
clearAlbumPosition()
The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AddEnrichmentToAlbumRequest.Builder
clearNewEnrichmentItem()
The enrichment to be added.AddEnrichmentToAlbumRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AddEnrichmentToAlbumRequest.Builder
clone()
java.lang.String
getAlbumId()
Identifier of the album where the enrichment is to be added.com.google.protobuf.ByteString
getAlbumIdBytes()
Identifier of the album where the enrichment is to be added.AlbumPosition
getAlbumPosition()
The position in the album where the enrichment is to be inserted.AlbumPosition.Builder
getAlbumPositionBuilder()
The position in the album where the enrichment is to be inserted.AlbumPositionOrBuilder
getAlbumPositionOrBuilder()
The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
NewEnrichmentItem
getNewEnrichmentItem()
The enrichment to be added.NewEnrichmentItem.Builder
getNewEnrichmentItemBuilder()
The enrichment to be added.NewEnrichmentItemOrBuilder
getNewEnrichmentItemOrBuilder()
The enrichment to be added.boolean
hasAlbumPosition()
The position in the album where the enrichment is to be inserted.boolean
hasNewEnrichmentItem()
The enrichment to be added.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
AddEnrichmentToAlbumRequest.Builder
mergeAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.Builder
mergeFrom(AddEnrichmentToAlbumRequest other)
AddEnrichmentToAlbumRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AddEnrichmentToAlbumRequest.Builder
mergeFrom(com.google.protobuf.Message other)
AddEnrichmentToAlbumRequest.Builder
mergeNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.AddEnrichmentToAlbumRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AddEnrichmentToAlbumRequest.Builder
setAlbumId(java.lang.String value)
Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.Builder
setAlbumIdBytes(com.google.protobuf.ByteString value)
Identifier of the album where the enrichment is to be added.AddEnrichmentToAlbumRequest.Builder
setAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.Builder
setAlbumPosition(AlbumPosition.Builder builderForValue)
The position in the album where the enrichment is to be inserted.AddEnrichmentToAlbumRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
AddEnrichmentToAlbumRequest.Builder
setNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.AddEnrichmentToAlbumRequest.Builder
setNewEnrichmentItem(NewEnrichmentItem.Builder builderForValue)
The enrichment to be added.AddEnrichmentToAlbumRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
AddEnrichmentToAlbumRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clear
public AddEnrichmentToAlbumRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
getDefaultInstanceForType
public AddEnrichmentToAlbumRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AddEnrichmentToAlbumRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AddEnrichmentToAlbumRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AddEnrichmentToAlbumRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
setField
public AddEnrichmentToAlbumRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clearField
public AddEnrichmentToAlbumRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
clearOneof
public AddEnrichmentToAlbumRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
setRepeatedField
public AddEnrichmentToAlbumRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
addRepeatedField
public AddEnrichmentToAlbumRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(AddEnrichmentToAlbumRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeFrom
public AddEnrichmentToAlbumRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AddEnrichmentToAlbumRequest.Builder>
- Throws:
java.io.IOException
-
getAlbumId
public java.lang.String getAlbumId()
Identifier of the album where the enrichment is to be added.
string album_id = 1;
- Specified by:
getAlbumId
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getAlbumIdBytes
public com.google.protobuf.ByteString getAlbumIdBytes()
Identifier of the album where the enrichment is to be added.
string album_id = 1;
- Specified by:
getAlbumIdBytes
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setAlbumId
public AddEnrichmentToAlbumRequest.Builder setAlbumId(java.lang.String value)
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
clearAlbumId
public AddEnrichmentToAlbumRequest.Builder clearAlbumId()
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
setAlbumIdBytes
public AddEnrichmentToAlbumRequest.Builder setAlbumIdBytes(com.google.protobuf.ByteString value)
Identifier of the album where the enrichment is to be added.
string album_id = 1;
-
hasNewEnrichmentItem
public boolean hasNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
- Specified by:
hasNewEnrichmentItem
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getNewEnrichmentItem
public NewEnrichmentItem getNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
- Specified by:
getNewEnrichmentItem
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder setNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
setNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder setNewEnrichmentItem(NewEnrichmentItem.Builder builderForValue)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
mergeNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder mergeNewEnrichmentItem(NewEnrichmentItem value)
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
clearNewEnrichmentItem
public AddEnrichmentToAlbumRequest.Builder clearNewEnrichmentItem()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
getNewEnrichmentItemBuilder
public NewEnrichmentItem.Builder getNewEnrichmentItemBuilder()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
-
getNewEnrichmentItemOrBuilder
public NewEnrichmentItemOrBuilder getNewEnrichmentItemOrBuilder()
The enrichment to be added.
.google.photos.library.v1.NewEnrichmentItem new_enrichment_item = 2;
- Specified by:
getNewEnrichmentItemOrBuilder
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
hasAlbumPosition
public boolean hasAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
- Specified by:
hasAlbumPosition
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
getAlbumPosition
public AlbumPosition getAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
- Specified by:
getAlbumPosition
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setAlbumPosition
public AddEnrichmentToAlbumRequest.Builder setAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
setAlbumPosition
public AddEnrichmentToAlbumRequest.Builder setAlbumPosition(AlbumPosition.Builder builderForValue)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
mergeAlbumPosition
public AddEnrichmentToAlbumRequest.Builder mergeAlbumPosition(AlbumPosition value)
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
clearAlbumPosition
public AddEnrichmentToAlbumRequest.Builder clearAlbumPosition()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
getAlbumPositionBuilder
public AlbumPosition.Builder getAlbumPositionBuilder()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
-
getAlbumPositionOrBuilder
public AlbumPositionOrBuilder getAlbumPositionOrBuilder()
The position in the album where the enrichment is to be inserted.
.google.photos.library.v1.AlbumPosition album_position = 3;
- Specified by:
getAlbumPositionOrBuilder
in interfaceAddEnrichmentToAlbumRequestOrBuilder
-
setUnknownFields
public final AddEnrichmentToAlbumRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
mergeUnknownFields
public final AddEnrichmentToAlbumRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AddEnrichmentToAlbumRequest.Builder>
-
-