public static final class PanelInfo.Builder extends GeneratedMessageV3.Builder<PanelInfo.Builder> implements PanelInfoOrBuilderDetailed panel information associated with a user event.
Protobuf type google.cloud.discoveryengine.v1beta.PanelInfo
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PanelInfo.BuilderImplements
PanelInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PanelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
PanelInfo.Builder |
build()
public PanelInfo build()| Type | Description |
PanelInfo |
buildPartial()
public PanelInfo buildPartial()| Type | Description |
PanelInfo |
clear()
public PanelInfo.Builder clear()| Type | Description |
PanelInfo.Builder |
clearDisplayName()
public PanelInfo.Builder clearDisplayName()The display name of the panel.
string display_name = 3;
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PanelInfo.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
field |
FieldDescriptor |
| Type | Description |
PanelInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PanelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
oneof |
OneofDescriptor |
| Type | Description |
PanelInfo.Builder |
clearPanelId()
public PanelInfo.Builder clearPanelId()Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clearPanelPosition()
public PanelInfo.Builder clearPanelPosition()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;
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clearTotalPanels()
public PanelInfo.Builder clearTotalPanels()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;
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clone()
public PanelInfo.Builder clone()| Type | Description |
PanelInfo.Builder |
getDefaultInstanceForType()
public PanelInfo getDefaultInstanceForType()| Type | Description |
PanelInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
Descriptor |
getDisplayName()
public String getDisplayName()The display name of the panel.
string display_name = 3;
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()The display name of the panel.
string display_name = 3;
| Type | Description |
ByteString |
The bytes for displayName. |
getPanelId()
public String getPanelId()Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
String |
The panelId. |
getPanelIdBytes()
public ByteString getPanelIdBytes()Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Type | Description |
ByteString |
The bytes for panelId. |
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;
| Type | Description |
int |
The panelPosition. |
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;
| Type | Description |
int |
The totalPanels. |
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;
| 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;
| Type | Description |
boolean |
Whether the totalPanels field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()| Type | Description |
boolean |
mergeFrom(PanelInfo other)
public PanelInfo.Builder mergeFrom(PanelInfo other)| Name | Description |
other |
PanelInfo |
| Type | Description |
PanelInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PanelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Type | Description |
PanelInfo.Builder |
| Type | Description |
IOException |
mergeFrom(Message other)
public PanelInfo.Builder mergeFrom(Message other)| Name | Description |
other |
Message |
| Type | Description |
PanelInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PanelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
PanelInfo.Builder |
setDisplayName(String value)
public PanelInfo.Builder setDisplayName(String value)The display name of the panel.
string display_name = 3;
| Name | Description |
value |
StringThe displayName to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public PanelInfo.Builder setDisplayNameBytes(ByteString value)The display name of the panel.
string display_name = 3;
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PanelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Type | Description |
PanelInfo.Builder |
setPanelId(String value)
public PanelInfo.Builder setPanelId(String value)Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
value |
StringThe panelId to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setPanelIdBytes(ByteString value)
public PanelInfo.Builder setPanelIdBytes(ByteString value)Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
| Name | Description |
value |
ByteStringThe bytes for panelId to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setPanelPosition(int value)
public PanelInfo.Builder setPanelPosition(int value)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;
| Name | Description |
value |
intThe panelPosition to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public PanelInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Type | Description |
PanelInfo.Builder |
setTotalPanels(int value)
public PanelInfo.Builder setTotalPanels(int value)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;
| Name | Description |
value |
intThe totalPanels to set. |
| Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PanelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
unknownFields |
UnknownFieldSet |
| Type | Description |
PanelInfo.Builder |