public final class PanelInfo extends GeneratedMessageV3 implements PanelInfoOrBuilder
Detailed panel information associated with a user event.
Protobuf type google.cloud.discoveryengine.v1beta.PanelInfo
Static Fields
DISPLAY_NAME_FIELD_NUMBER
public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
PANEL_ID_FIELD_NUMBER
public static final int PANEL_ID_FIELD_NUMBER
Field Value
PANEL_POSITION_FIELD_NUMBER
public static final int PANEL_POSITION_FIELD_NUMBER
Field Value
TOTAL_PANELS_FIELD_NUMBER
public static final int TOTAL_PANELS_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static PanelInfo getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PanelInfo.Builder newBuilder()
Returns
newBuilder(PanelInfo prototype)
public static PanelInfo.Builder newBuilder(PanelInfo prototype)
Parameter
Returns
public static PanelInfo parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PanelInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PanelInfo parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PanelInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PanelInfo parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PanelInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PanelInfo parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PanelInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PanelInfo parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PanelInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PanelInfo parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PanelInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PanelInfo> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PanelInfo getDefaultInstanceForType()
Returns
getDisplayName()
public String getDisplayName()
The display name of the panel.
string display_name = 3;
Returns
Type | Description |
String | The displayName.
|
getDisplayNameBytes()
public ByteString getDisplayNameBytes()
The display name of the panel.
string display_name = 3;
Returns
Type | Description |
ByteString | The bytes for displayName.
|
getPanelId()
public String getPanelId()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type | Description |
String | The panelId.
|
getPanelIdBytes()
public ByteString getPanelIdBytes()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
getPanelPosition()
public int getPanelPosition()
The ordered position of the panel, if shown to the user with other panels.
If set, then
total_panels
must also be set.
optional int32 panel_position = 4;
Returns
Type | Description |
int | The panelPosition.
|
getParserForType()
public Parser<PanelInfo> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getTotalPanels()
public int getTotalPanels()
The total number of panels, including this one, shown to the user.
Must be set if
panel_position
is set.
optional int32 total_panels = 5;
Returns
Type | Description |
int | The totalPanels.
|
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasPanelPosition()
public boolean hasPanelPosition()
The ordered position of the panel, if shown to the user with other panels.
If set, then
total_panels
must also be set.
optional int32 panel_position = 4;
Returns
Type | Description |
boolean | Whether the panelPosition field is set.
|
hasTotalPanels()
public boolean hasTotalPanels()
The total number of panels, including this one, shown to the user.
Must be set if
panel_position
is set.
optional int32 total_panels = 5;
Returns
Type | Description |
boolean | Whether the totalPanels field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PanelInfo.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PanelInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PanelInfo.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions