com.google.ads.googleads.v17.resources.MediaFileOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/resources/media_file.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.resources;
public interface MediaFileOrBuilder extends
// @@protoc_insertion_point(interface_extends:google.ads.googleads.v17.resources.MediaFile)
com.google.protobuf.MessageOrBuilder {
/**
*
* Immutable. The resource name of the media file.
* Media file resource names have the form:
*
* `customers/{customer_id}/mediaFiles/{media_file_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
* @return The resourceName.
*/
java.lang.String getResourceName();
/**
*
* Immutable. The resource name of the media file.
* Media file resource names have the form:
*
* `customers/{customer_id}/mediaFiles/{media_file_id}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = IMMUTABLE, (.google.api.resource_reference) = { ... }
* @return The bytes for resourceName.
*/
com.google.protobuf.ByteString
getResourceNameBytes();
/**
*
* Output only. The ID of the media file.
*
*
* optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the id field is set.
*/
boolean hasId();
/**
*
* Output only. The ID of the media file.
*
*
* optional int64 id = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The id.
*/
long getId();
/**
*
* Immutable. Type of the media file.
*
*
* .google.ads.googleads.v17.enums.MediaTypeEnum.MediaType type = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
* Immutable. Type of the media file.
*
*
* .google.ads.googleads.v17.enums.MediaTypeEnum.MediaType type = 5 [(.google.api.field_behavior) = IMMUTABLE];
* @return The type.
*/
com.google.ads.googleads.v17.enums.MediaTypeEnum.MediaType getType();
/**
*
* Output only. The mime type of the media file.
*
*
* .google.ads.googleads.v17.enums.MimeTypeEnum.MimeType mime_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for mimeType.
*/
int getMimeTypeValue();
/**
*
* Output only. The mime type of the media file.
*
*
* .google.ads.googleads.v17.enums.MimeTypeEnum.MimeType mime_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The mimeType.
*/
com.google.ads.googleads.v17.enums.MimeTypeEnum.MimeType getMimeType();
/**
*
* Immutable. The URL of where the original media file was downloaded from (or
* a file name). Only used for media of type AUDIO and IMAGE.
*
*
* optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE];
* @return Whether the sourceUrl field is set.
*/
boolean hasSourceUrl();
/**
*
* Immutable. The URL of where the original media file was downloaded from (or
* a file name). Only used for media of type AUDIO and IMAGE.
*
*
* optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE];
* @return The sourceUrl.
*/
java.lang.String getSourceUrl();
/**
*
* Immutable. The URL of where the original media file was downloaded from (or
* a file name). Only used for media of type AUDIO and IMAGE.
*
*
* optional string source_url = 13 [(.google.api.field_behavior) = IMMUTABLE];
* @return The bytes for sourceUrl.
*/
com.google.protobuf.ByteString
getSourceUrlBytes();
/**
*
* Immutable. The name of the media file. The name can be used by clients to
* help identify previously uploaded media.
*
*
* optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE];
* @return Whether the name field is set.
*/
boolean hasName();
/**
*
* Immutable. The name of the media file. The name can be used by clients to
* help identify previously uploaded media.
*
*
* optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE];
* @return The name.
*/
java.lang.String getName();
/**
*
* Immutable. The name of the media file. The name can be used by clients to
* help identify previously uploaded media.
*
*
* optional string name = 14 [(.google.api.field_behavior) = IMMUTABLE];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Output only. The size of the media file in bytes.
*
*
* optional int64 file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the fileSize field is set.
*/
boolean hasFileSize();
/**
*
* Output only. The size of the media file in bytes.
*
*
* optional int64 file_size = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The fileSize.
*/
long getFileSize();
/**
*
* Immutable. Encapsulates an Image.
*
*
* .google.ads.googleads.v17.resources.MediaImage image = 3 [(.google.api.field_behavior) = IMMUTABLE];
* @return Whether the image field is set.
*/
boolean hasImage();
/**
*
* Immutable. Encapsulates an Image.
*
*
* .google.ads.googleads.v17.resources.MediaImage image = 3 [(.google.api.field_behavior) = IMMUTABLE];
* @return The image.
*/
com.google.ads.googleads.v17.resources.MediaImage getImage();
/**
*
* Immutable. Encapsulates an Image.
*
*
* .google.ads.googleads.v17.resources.MediaImage image = 3 [(.google.api.field_behavior) = IMMUTABLE];
*/
com.google.ads.googleads.v17.resources.MediaImageOrBuilder getImageOrBuilder();
/**
*
* Immutable. A ZIP archive media the content of which contains HTML5
* assets.
*
*
* .google.ads.googleads.v17.resources.MediaBundle media_bundle = 4 [(.google.api.field_behavior) = IMMUTABLE];
* @return Whether the mediaBundle field is set.
*/
boolean hasMediaBundle();
/**
*
* Immutable. A ZIP archive media the content of which contains HTML5
* assets.
*
*
* .google.ads.googleads.v17.resources.MediaBundle media_bundle = 4 [(.google.api.field_behavior) = IMMUTABLE];
* @return The mediaBundle.
*/
com.google.ads.googleads.v17.resources.MediaBundle getMediaBundle();
/**
*
* Immutable. A ZIP archive media the content of which contains HTML5
* assets.
*
*
* .google.ads.googleads.v17.resources.MediaBundle media_bundle = 4 [(.google.api.field_behavior) = IMMUTABLE];
*/
com.google.ads.googleads.v17.resources.MediaBundleOrBuilder getMediaBundleOrBuilder();
/**
*
* Output only. Encapsulates an Audio.
*
*
* .google.ads.googleads.v17.resources.MediaAudio audio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return Whether the audio field is set.
*/
boolean hasAudio();
/**
*
* Output only. Encapsulates an Audio.
*
*
* .google.ads.googleads.v17.resources.MediaAudio audio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The audio.
*/
com.google.ads.googleads.v17.resources.MediaAudio getAudio();
/**
*
* Output only. Encapsulates an Audio.
*
*
* .google.ads.googleads.v17.resources.MediaAudio audio = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
com.google.ads.googleads.v17.resources.MediaAudioOrBuilder getAudioOrBuilder();
/**
*
* Immutable. Encapsulates a Video.
*
*
* .google.ads.googleads.v17.resources.MediaVideo video = 11 [(.google.api.field_behavior) = IMMUTABLE];
* @return Whether the video field is set.
*/
boolean hasVideo();
/**
*
* Immutable. Encapsulates a Video.
*
*
* .google.ads.googleads.v17.resources.MediaVideo video = 11 [(.google.api.field_behavior) = IMMUTABLE];
* @return The video.
*/
com.google.ads.googleads.v17.resources.MediaVideo getVideo();
/**
*
* Immutable. Encapsulates a Video.
*
*
* .google.ads.googleads.v17.resources.MediaVideo video = 11 [(.google.api.field_behavior) = IMMUTABLE];
*/
com.google.ads.googleads.v17.resources.MediaVideoOrBuilder getVideoOrBuilder();
com.google.ads.googleads.v17.resources.MediaFile.MediatypeCase getMediatypeCase();
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy