public static final class WidgetConfig.HomepageSetting extends GeneratedMessage implements WidgetConfig.HomepageSettingOrBuilderDescribes the homepage setting of the widget. It includes all homepage related settings and configurations, such as shortcuts.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > WidgetConfig.HomepageSettingImplements
WidgetConfig.HomepageSettingOrBuilderStatic Fields
SHORTCUTS_FIELD_NUMBER
public static final int SHORTCUTS_FIELD_NUMBER| Field Value | |
|---|---|
| Type | Description |
int |
|
Static Methods
getDefaultInstance()
public static WidgetConfig.HomepageSetting getDefaultInstance()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
newBuilder()
public static WidgetConfig.HomepageSetting.Builder newBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Builder |
|
newBuilder(WidgetConfig.HomepageSetting prototype)
public static WidgetConfig.HomepageSetting.Builder newBuilder(WidgetConfig.HomepageSetting prototype)| Parameter | |
|---|---|
| Name | Description |
prototype |
WidgetConfig.HomepageSetting |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Builder |
|
parseDelimitedFrom(InputStream input)
public static WidgetConfig.HomepageSetting parseDelimitedFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(byte[] data)
public static WidgetConfig.HomepageSetting parseFrom(byte[] data)| Parameter | |
|---|---|
| Name | Description |
data |
byte[] |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
byte[] |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data)
public static WidgetConfig.HomepageSetting parseFrom(ByteString data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteString |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteString |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(CodedInputStream input)
public static WidgetConfig.HomepageSetting parseFrom(CodedInputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
CodedInputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input)
public static WidgetConfig.HomepageSetting parseFrom(InputStream input)| Parameter | |
|---|---|
| Name | Description |
input |
InputStream |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
InputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
parseFrom(ByteBuffer data)
public static WidgetConfig.HomepageSetting parseFrom(ByteBuffer data)| Parameter | |
|---|---|
| Name | Description |
data |
ByteBuffer |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.HomepageSetting parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
data |
ByteBuffer |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
| Exceptions | |
|---|---|
| Type | Description |
InvalidProtocolBufferException |
|
parser()
public static Parser<WidgetConfig.HomepageSetting> parser()| Returns | |
|---|---|
| Type | Description |
Parser<HomepageSetting> |
|
Methods
equals(Object obj)
public boolean equals(Object obj)| Parameter | |
|---|---|
| Name | Description |
obj |
Object |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDefaultInstanceForType()
public WidgetConfig.HomepageSetting getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting |
|
getParserForType()
public Parser<WidgetConfig.HomepageSetting> getParserForType()| Returns | |
|---|---|
| Type | Description |
Parser<HomepageSetting> |
|
getSerializedSize()
public int getSerializedSize()| Returns | |
|---|---|
| Type | Description |
int |
|
getShortcuts(int index)
public WidgetConfig.HomepageSetting.Shortcut getShortcuts(int index)Optional. The shortcuts to display on the homepage.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.Shortcut shortcuts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Shortcut |
|
getShortcutsCount()
public int getShortcutsCount()Optional. The shortcuts to display on the homepage.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.Shortcut shortcuts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getShortcutsList()
public List<WidgetConfig.HomepageSetting.Shortcut> getShortcutsList()Optional. The shortcuts to display on the homepage.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.Shortcut shortcuts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Shortcut> |
|
getShortcutsOrBuilder(int index)
public WidgetConfig.HomepageSetting.ShortcutOrBuilder getShortcutsOrBuilder(int index)Optional. The shortcuts to display on the homepage.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.Shortcut shortcuts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.ShortcutOrBuilder |
|
getShortcutsOrBuilderList()
public List<? extends WidgetConfig.HomepageSetting.ShortcutOrBuilder> getShortcutsOrBuilderList()Optional. The shortcuts to display on the homepage.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.Shortcut shortcuts = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.HomepageSetting.ShortcutOrBuilder> |
|
hashCode()
public int hashCode()| Returns | |
|---|---|
| Type | Description |
int |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
newBuilderForType()
public WidgetConfig.HomepageSetting.Builder newBuilderForType()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Builder |
|
newBuilderForType(AbstractMessage.BuilderParent parent)
protected WidgetConfig.HomepageSetting.Builder newBuilderForType(AbstractMessage.BuilderParent parent)| Parameter | |
|---|---|
| Name | Description |
parent |
BuilderParent |
| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Builder |
|
toBuilder()
public WidgetConfig.HomepageSetting.Builder toBuilder()| Returns | |
|---|---|
| Type | Description |
WidgetConfig.HomepageSetting.Builder |
|
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)| Parameter | |
|---|---|
| Name | Description |
output |
CodedOutputStream |
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|