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/discoveryengine/v1beta/user_event.proto 18 19 package com.google.cloud.discoveryengine.v1beta; 20 21 public interface PanelInfoOrBuilder 22 extends 23 // @@protoc_insertion_point(interface_extends:google.cloud.discoveryengine.v1beta.PanelInfo) 24 com.google.protobuf.MessageOrBuilder { 25 26 /** 27 * 28 * 29 * <pre> 30 * Required. The panel ID. 31 * </pre> 32 * 33 * <code>string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 34 * 35 * @return The panelId. 36 */ getPanelId()37 java.lang.String getPanelId(); 38 /** 39 * 40 * 41 * <pre> 42 * Required. The panel ID. 43 * </pre> 44 * 45 * <code>string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];</code> 46 * 47 * @return The bytes for panelId. 48 */ getPanelIdBytes()49 com.google.protobuf.ByteString getPanelIdBytes(); 50 51 /** 52 * 53 * 54 * <pre> 55 * The display name of the panel. 56 * </pre> 57 * 58 * <code>string display_name = 3;</code> 59 * 60 * @return The displayName. 61 */ getDisplayName()62 java.lang.String getDisplayName(); 63 /** 64 * 65 * 66 * <pre> 67 * The display name of the panel. 68 * </pre> 69 * 70 * <code>string display_name = 3;</code> 71 * 72 * @return The bytes for displayName. 73 */ getDisplayNameBytes()74 com.google.protobuf.ByteString getDisplayNameBytes(); 75 76 /** 77 * 78 * 79 * <pre> 80 * The ordered position of the panel, if shown to the user with other panels. 81 * If set, then 82 * [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] 83 * must also be set. 84 * </pre> 85 * 86 * <code>optional int32 panel_position = 4;</code> 87 * 88 * @return Whether the panelPosition field is set. 89 */ hasPanelPosition()90 boolean hasPanelPosition(); 91 /** 92 * 93 * 94 * <pre> 95 * The ordered position of the panel, if shown to the user with other panels. 96 * If set, then 97 * [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] 98 * must also be set. 99 * </pre> 100 * 101 * <code>optional int32 panel_position = 4;</code> 102 * 103 * @return The panelPosition. 104 */ getPanelPosition()105 int getPanelPosition(); 106 107 /** 108 * 109 * 110 * <pre> 111 * The total number of panels, including this one, shown to the user. 112 * Must be set if 113 * [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] 114 * is set. 115 * </pre> 116 * 117 * <code>optional int32 total_panels = 5;</code> 118 * 119 * @return Whether the totalPanels field is set. 120 */ hasTotalPanels()121 boolean hasTotalPanels(); 122 /** 123 * 124 * 125 * <pre> 126 * The total number of panels, including this one, shown to the user. 127 * Must be set if 128 * [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] 129 * is set. 130 * </pre> 131 * 132 * <code>optional int32 total_panels = 5;</code> 133 * 134 * @return The totalPanels. 135 */ getTotalPanels()136 int getTotalPanels(); 137 } 138