Interface WidgetConfig.UIComponentFieldOrBuilder (0.99.0)

public static interface WidgetConfig.UIComponentFieldOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDeviceVisibility(int index)

public abstract WidgetConfig.UIComponentField.DeviceVisibility getDeviceVisibility(int index)

The field visibility on different types of devices.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility device_visibility = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
WidgetConfig.UIComponentField.DeviceVisibility

The deviceVisibility at the given index.

getDeviceVisibilityCount()

public abstract int getDeviceVisibilityCount()

The field visibility on different types of devices.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility device_visibility = 2;

Returns
Type Description
int

The count of deviceVisibility.

getDeviceVisibilityList()

public abstract List<WidgetConfig.UIComponentField.DeviceVisibility> getDeviceVisibilityList()

The field visibility on different types of devices.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility device_visibility = 2;

Returns
Type Description
List<DeviceVisibility>

A list containing the deviceVisibility.

getDeviceVisibilityValue(int index)

public abstract int getDeviceVisibilityValue(int index)

The field visibility on different types of devices.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility device_visibility = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
int

The enum numeric value on the wire of deviceVisibility at the given index.

getDeviceVisibilityValueList()

public abstract List<Integer> getDeviceVisibilityValueList()

The field visibility on different types of devices.

repeated .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField.DeviceVisibility device_visibility = 2;

Returns
Type Description
List<Integer>

A list containing the enum numeric values on the wire for deviceVisibility.

getDisplayTemplate()

public abstract String getDisplayTemplate()

The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".

string display_template = 3;

Returns
Type Description
String

The displayTemplate.

getDisplayTemplateBytes()

public abstract ByteString getDisplayTemplateBytes()

The template to customize how the field is displayed. An example value would be a string that looks like: "Price: {value}".

string display_template = 3;

Returns
Type Description
ByteString

The bytes for displayTemplate.

getField()

public abstract String getField()

Required. Registered field name. The format is field.abc.

string field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The field.

getFieldBytes()

public abstract ByteString getFieldBytes()

Required. Registered field name. The format is field.abc.

string field = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for field.