- 0.51.0 (latest)
- 0.50.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.38.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.26.0
- 0.25.0
- 0.24.0
- 0.23.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.5.0
- 0.4.0
- 0.3.0
- 0.2.0
- 0.1.0
public static final class PanelInfo.Builder extends GeneratedMessageV3.Builder<PanelInfo.Builder> implements PanelInfoOrBuilder
Detailed 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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public PanelInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
build()
public PanelInfo build()
Returns | |
---|---|
Type | Description |
PanelInfo |
buildPartial()
public PanelInfo buildPartial()
Returns | |
---|---|
Type | Description |
PanelInfo |
clear()
public PanelInfo.Builder clear()
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
clearDisplayName()
public PanelInfo.Builder clearDisplayName()
The display name of the panel.
string display_name = 3;
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public PanelInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PanelInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
clearPanelId()
public PanelInfo.Builder clearPanelId()
Required. The panel ID.
string panel_id = 2 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
This builder for chaining. |
clone()
public PanelInfo.Builder clone()
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
getDefaultInstanceForType()
public PanelInfo getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PanelInfo |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(PanelInfo other)
public PanelInfo.Builder mergeFrom(PanelInfo other)
Parameter | |
---|---|
Name | Description |
other |
PanelInfo |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public PanelInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PanelInfo.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PanelInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
setDisplayName(String value)
public PanelInfo.Builder setDisplayName(String value)
The display name of the panel.
string display_name = 3;
Parameter | |
---|---|
Name | Description |
value |
String The displayName to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for displayName to set. |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public PanelInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
String The panelId to set. |
Returns | |
---|---|
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];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for panelId to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The panelPosition to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
int The totalPanels to set. |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final PanelInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PanelInfo.Builder |