1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/cloud/channel/v1/products.proto 18 19 package com.google.cloud.channel.v1; 20 21 public interface MediaOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.channel.v1.Media) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Title of the media. 31 * </pre> 32 * 33 * <code>string title = 1;</code> 34 * 35 * @return The title. 36 */ getTitle()37 java.lang.String getTitle(); 38 /** 39 * 40 * 41 * <pre> 42 * Title of the media. 43 * </pre> 44 * 45 * <code>string title = 1;</code> 46 * 47 * @return The bytes for title. 48 */ getTitleBytes()49 com.google.protobuf.ByteString getTitleBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * URL of the media. 56 * </pre> 57 * 58 * <code>string content = 2;</code> 59 * 60 * @return The content. 61 */ getContent()62 java.lang.String getContent(); 63 /** 64 * 65 * 66 * <pre> 67 * URL of the media. 68 * </pre> 69 * 70 * <code>string content = 2;</code> 71 * 72 * @return The bytes for content. 73 */ getContentBytes()74 com.google.protobuf.ByteString getContentBytes(); 75 76 /** 77 * 78 * 79 * <pre> 80 * Type of the media. 81 * </pre> 82 * 83 * <code>.google.cloud.channel.v1.MediaType type = 3;</code> 84 * 85 * @return The enum numeric value on the wire for type. 86 */ getTypeValue()87 int getTypeValue(); 88 /** 89 * 90 * 91 * <pre> 92 * Type of the media. 93 * </pre> 94 * 95 * <code>.google.cloud.channel.v1.MediaType type = 3;</code> 96 * 97 * @return The type. 98 */ getType()99 com.google.cloud.channel.v1.MediaType getType(); 100 } 101