public static final class PanelInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder> implements PanelInfoOrBuilder
Detailed panel information associated with a user event.Protobuf type
google.cloud.discoveryengine.v1beta.PanelInfo| Modifier and Type | Method and Description |
|---|---|
PanelInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PanelInfo |
build() |
PanelInfo |
buildPartial() |
PanelInfo.Builder |
clear() |
PanelInfo.Builder |
clearDisplayName()
The display name of the panel.
|
PanelInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
PanelInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
PanelInfo.Builder |
clearPanelId()
Required.
|
PanelInfo.Builder |
clearPanelPosition()
The ordered position of the panel, if shown to the user with other panels.
|
PanelInfo.Builder |
clearTotalPanels()
The total number of panels, including this one, shown to the user.
|
PanelInfo.Builder |
clone() |
PanelInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDisplayName()
The display name of the panel.
|
com.google.protobuf.ByteString |
getDisplayNameBytes()
The display name of the panel.
|
String |
getPanelId()
Required.
|
com.google.protobuf.ByteString |
getPanelIdBytes()
Required.
|
int |
getPanelPosition()
The ordered position of the panel, if shown to the user with other panels.
|
int |
getTotalPanels()
The total number of panels, including this one, shown to the user.
|
boolean |
hasPanelPosition()
The ordered position of the panel, if shown to the user with other panels.
|
boolean |
hasTotalPanels()
The total number of panels, including this one, shown to the user.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
PanelInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
PanelInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
PanelInfo.Builder |
mergeFrom(PanelInfo other) |
PanelInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
PanelInfo.Builder |
setDisplayName(String value)
The display name of the panel.
|
PanelInfo.Builder |
setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the panel.
|
PanelInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
PanelInfo.Builder |
setPanelId(String value)
Required.
|
PanelInfo.Builder |
setPanelIdBytes(com.google.protobuf.ByteString value)
Required.
|
PanelInfo.Builder |
setPanelPosition(int value)
The ordered position of the panel, if shown to the user with other panels.
|
PanelInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
PanelInfo.Builder |
setTotalPanels(int value)
The total number of panels, including this one, shown to the user.
|
PanelInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic PanelInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic PanelInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic PanelInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PanelInfo.Builder>public PanelInfo.Builder mergeFrom(PanelInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public PanelInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<PanelInfo.Builder>IOExceptionpublic String getPanelId()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];getPanelId in interface PanelInfoOrBuilderpublic com.google.protobuf.ByteString getPanelIdBytes()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];getPanelIdBytes in interface PanelInfoOrBuilderpublic PanelInfo.Builder setPanelId(String value)
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The panelId to set.public PanelInfo.Builder clearPanelId()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];public PanelInfo.Builder setPanelIdBytes(com.google.protobuf.ByteString value)
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];value - The bytes for panelId to set.public String getDisplayName()
The display name of the panel.
string display_name = 3;getDisplayName in interface PanelInfoOrBuilderpublic com.google.protobuf.ByteString getDisplayNameBytes()
The display name of the panel.
string display_name = 3;getDisplayNameBytes in interface PanelInfoOrBuilderpublic PanelInfo.Builder setDisplayName(String value)
The display name of the panel.
string display_name = 3;value - The displayName to set.public PanelInfo.Builder clearDisplayName()
The display name of the panel.
string display_name = 3;public PanelInfo.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
The display name of the panel.
string display_name = 3;value - The bytes for displayName to set.public boolean hasPanelPosition()
The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] must also be set.
optional int32 panel_position = 4;hasPanelPosition in interface PanelInfoOrBuilderpublic int getPanelPosition()
The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] must also be set.
optional int32 panel_position = 4;getPanelPosition in interface PanelInfoOrBuilderpublic PanelInfo.Builder setPanelPosition(int value)
The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] must also be set.
optional int32 panel_position = 4;value - The panelPosition to set.public PanelInfo.Builder clearPanelPosition()
The ordered position of the panel, if shown to the user with other panels. If set, then [total_panels][google.cloud.discoveryengine.v1beta.PanelInfo.total_panels] must also be set.
optional int32 panel_position = 4;public boolean hasTotalPanels()
The total number of panels, including this one, shown to the user. Must be set if [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] is set.
optional int32 total_panels = 5;hasTotalPanels in interface PanelInfoOrBuilderpublic int getTotalPanels()
The total number of panels, including this one, shown to the user. Must be set if [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] is set.
optional int32 total_panels = 5;getTotalPanels in interface PanelInfoOrBuilderpublic PanelInfo.Builder setTotalPanels(int value)
The total number of panels, including this one, shown to the user. Must be set if [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] is set.
optional int32 total_panels = 5;value - The totalPanels to set.public PanelInfo.Builder clearTotalPanels()
The total number of panels, including this one, shown to the user. Must be set if [panel_position][google.cloud.discoveryengine.v1beta.PanelInfo.panel_position] is set.
optional int32 total_panels = 5;public final PanelInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>public final PanelInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<PanelInfo.Builder>Copyright © 2024 Google LLC. All rights reserved.