All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.api.services.youtubereporting.model.GdataCompositeMedia Maven / Gradle / Ivy

There is a newer version: v1-rev20230704-2.0.0
Show newest version
/*
 * Copyright 2010 Google Inc.
 *
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except
 * in compliance with the License. You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software distributed under the License
 * is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express
 * or implied. See the License for the specific language governing permissions and limitations under
 * the License.
 */
/*
 * This code was generated by https://github.com/google/apis-client-generator/
 * (build: 2018-02-26 17:53:51 UTC)
 * on 2018-04-03 at 16:08:15 UTC 
 * Modify at your own risk.
 */

package com.google.api.services.youtubereporting.model;

/**
 * gdata
 *
 * 

This is the Java data model class that specifies how to parse/serialize into the JSON that is * transmitted over HTTP when working with the YouTube Reporting API. For a detailed explanation * see: * https://developers.google.com/api-client-library/java/google-http-java-client/json *

* * @author Google, Inc. */ @SuppressWarnings("javadoc") public final class GdataCompositeMedia extends com.google.api.client.json.GenericJson { /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String blobRef; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private GdataBlobstore2Info blobstore2Info; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String cosmoBinaryReference; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.Long crc32cHash; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String inline; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key @com.google.api.client.json.JsonString private java.lang.Long length; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String md5Hash; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private GdataObjectId objectId; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String path; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String referenceType; /** * gdata * The value may be {@code null}. */ @com.google.api.client.util.Key private java.lang.String sha1Hash; /** * gdata * @see #decodeBlobRef() * @return value or {@code null} for none */ public java.lang.String getBlobRef() { return blobRef; } /** * gdata * @see #getBlobRef() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeBlobRef() { return com.google.api.client.util.Base64.decodeBase64(blobRef); } /** * gdata * @see #encodeBlobRef() * @param blobRef blobRef or {@code null} for none */ public GdataCompositeMedia setBlobRef(java.lang.String blobRef) { this.blobRef = blobRef; return this; } /** * gdata * @see #setBlobRef() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public GdataCompositeMedia encodeBlobRef(byte[] blobRef) { this.blobRef = com.google.api.client.util.Base64.encodeBase64URLSafeString(blobRef); return this; } /** * gdata * @return value or {@code null} for none */ public GdataBlobstore2Info getBlobstore2Info() { return blobstore2Info; } /** * gdata * @param blobstore2Info blobstore2Info or {@code null} for none */ public GdataCompositeMedia setBlobstore2Info(GdataBlobstore2Info blobstore2Info) { this.blobstore2Info = blobstore2Info; return this; } /** * gdata * @see #decodeCosmoBinaryReference() * @return value or {@code null} for none */ public java.lang.String getCosmoBinaryReference() { return cosmoBinaryReference; } /** * gdata * @see #getCosmoBinaryReference() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeCosmoBinaryReference() { return com.google.api.client.util.Base64.decodeBase64(cosmoBinaryReference); } /** * gdata * @see #encodeCosmoBinaryReference() * @param cosmoBinaryReference cosmoBinaryReference or {@code null} for none */ public GdataCompositeMedia setCosmoBinaryReference(java.lang.String cosmoBinaryReference) { this.cosmoBinaryReference = cosmoBinaryReference; return this; } /** * gdata * @see #setCosmoBinaryReference() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public GdataCompositeMedia encodeCosmoBinaryReference(byte[] cosmoBinaryReference) { this.cosmoBinaryReference = com.google.api.client.util.Base64.encodeBase64URLSafeString(cosmoBinaryReference); return this; } /** * gdata * @return value or {@code null} for none */ public java.lang.Long getCrc32cHash() { return crc32cHash; } /** * gdata * @param crc32cHash crc32cHash or {@code null} for none */ public GdataCompositeMedia setCrc32cHash(java.lang.Long crc32cHash) { this.crc32cHash = crc32cHash; return this; } /** * gdata * @see #decodeInline() * @return value or {@code null} for none */ public java.lang.String getInline() { return inline; } /** * gdata * @see #getInline() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeInline() { return com.google.api.client.util.Base64.decodeBase64(inline); } /** * gdata * @see #encodeInline() * @param inline inline or {@code null} for none */ public GdataCompositeMedia setInline(java.lang.String inline) { this.inline = inline; return this; } /** * gdata * @see #setInline() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public GdataCompositeMedia encodeInline(byte[] inline) { this.inline = com.google.api.client.util.Base64.encodeBase64URLSafeString(inline); return this; } /** * gdata * @return value or {@code null} for none */ public java.lang.Long getLength() { return length; } /** * gdata * @param length length or {@code null} for none */ public GdataCompositeMedia setLength(java.lang.Long length) { this.length = length; return this; } /** * gdata * @see #decodeMd5Hash() * @return value or {@code null} for none */ public java.lang.String getMd5Hash() { return md5Hash; } /** * gdata * @see #getMd5Hash() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeMd5Hash() { return com.google.api.client.util.Base64.decodeBase64(md5Hash); } /** * gdata * @see #encodeMd5Hash() * @param md5Hash md5Hash or {@code null} for none */ public GdataCompositeMedia setMd5Hash(java.lang.String md5Hash) { this.md5Hash = md5Hash; return this; } /** * gdata * @see #setMd5Hash() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public GdataCompositeMedia encodeMd5Hash(byte[] md5Hash) { this.md5Hash = com.google.api.client.util.Base64.encodeBase64URLSafeString(md5Hash); return this; } /** * gdata * @return value or {@code null} for none */ public GdataObjectId getObjectId() { return objectId; } /** * gdata * @param objectId objectId or {@code null} for none */ public GdataCompositeMedia setObjectId(GdataObjectId objectId) { this.objectId = objectId; return this; } /** * gdata * @return value or {@code null} for none */ public java.lang.String getPath() { return path; } /** * gdata * @param path path or {@code null} for none */ public GdataCompositeMedia setPath(java.lang.String path) { this.path = path; return this; } /** * gdata * @return value or {@code null} for none */ public java.lang.String getReferenceType() { return referenceType; } /** * gdata * @param referenceType referenceType or {@code null} for none */ public GdataCompositeMedia setReferenceType(java.lang.String referenceType) { this.referenceType = referenceType; return this; } /** * gdata * @see #decodeSha1Hash() * @return value or {@code null} for none */ public java.lang.String getSha1Hash() { return sha1Hash; } /** * gdata * @see #getSha1Hash() * @return Base64 decoded value or {@code null} for none * * @since 1.14 */ public byte[] decodeSha1Hash() { return com.google.api.client.util.Base64.decodeBase64(sha1Hash); } /** * gdata * @see #encodeSha1Hash() * @param sha1Hash sha1Hash or {@code null} for none */ public GdataCompositeMedia setSha1Hash(java.lang.String sha1Hash) { this.sha1Hash = sha1Hash; return this; } /** * gdata * @see #setSha1Hash() * *

* The value is encoded Base64 or {@code null} for none. *

* * @since 1.14 */ public GdataCompositeMedia encodeSha1Hash(byte[] sha1Hash) { this.sha1Hash = com.google.api.client.util.Base64.encodeBase64URLSafeString(sha1Hash); return this; } @Override public GdataCompositeMedia set(String fieldName, Object value) { return (GdataCompositeMedia) super.set(fieldName, value); } @Override public GdataCompositeMedia clone() { return (GdataCompositeMedia) super.clone(); } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy