Class BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
      • getDefaultInstanceForType

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

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

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

        public BatchGetMediaItemsRequest.Builder setField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                          java.lang.Object value)
        Specified by:
        setField in interface com.google.protobuf.Message.Builder
        Overrides:
        setField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
      • setRepeatedField

        public BatchGetMediaItemsRequest.Builder setRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  int index,
                                                                  java.lang.Object value)
        Specified by:
        setRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
      • addRepeatedField

        public BatchGetMediaItemsRequest.Builder addRepeatedField​(com.google.protobuf.Descriptors.FieldDescriptor field,
                                                                  java.lang.Object value)
        Specified by:
        addRepeatedField in interface com.google.protobuf.Message.Builder
        Overrides:
        addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
      • isInitialized

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

        public BatchGetMediaItemsRequest.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<BatchGetMediaItemsRequest.Builder>
        Throws:
        java.io.IOException
      • getMediaItemIdsList

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

        public int getMediaItemIdsCount()
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIdsCount in interface BatchGetMediaItemsRequestOrBuilder
        Returns:
        The count of mediaItemIds.
      • getMediaItemIds

        public java.lang.String getMediaItemIds​(int index)
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIds in interface BatchGetMediaItemsRequestOrBuilder
        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 media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved in one call is 50.
         
        repeated string media_item_ids = 1;
        Specified by:
        getMediaItemIdsBytes in interface BatchGetMediaItemsRequestOrBuilder
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the mediaItemIds at the given index.
      • setMediaItemIds

        public BatchGetMediaItemsRequest.Builder setMediaItemIds​(int index,
                                                                 java.lang.String value)
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved 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 BatchGetMediaItemsRequest.Builder addMediaItemIds​(java.lang.String value)
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved in one call is 50.
         
        repeated string media_item_ids = 1;
        Parameters:
        value - The mediaItemIds to add.
        Returns:
        This builder for chaining.
      • addAllMediaItemIds

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

        public BatchGetMediaItemsRequest.Builder clearMediaItemIds()
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved in one call is 50.
         
        repeated string media_item_ids = 1;
        Returns:
        This builder for chaining.
      • addMediaItemIdsBytes

        public BatchGetMediaItemsRequest.Builder addMediaItemIdsBytes​(com.google.protobuf.ByteString value)
         Identifiers of the media items to be requested.
         Must not contain repeated identifiers and cannot be empty. The maximum
         number of media items that can be retrieved 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.
      • setUnknownFields

        public final BatchGetMediaItemsRequest.Builder setUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        setUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>
      • mergeUnknownFields

        public final BatchGetMediaItemsRequest.Builder mergeUnknownFields​(com.google.protobuf.UnknownFieldSet unknownFields)
        Specified by:
        mergeUnknownFields in interface com.google.protobuf.Message.Builder
        Overrides:
        mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BatchGetMediaItemsRequest.Builder>