public static final class WidgetConfig.DataStoreUiConfig extends GeneratedMessage implements WidgetConfig.DataStoreUiConfigOrBuilder
UI component configuration for data store.
Protobuf type google.cloud.discoveryengine.v1.WidgetConfig.DataStoreUiConfig
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
public static final int FACET_FIELD_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int FIELDS_UI_COMPONENTS_MAP_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int ID_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int NAME_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static WidgetConfig.DataStoreUiConfig getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static WidgetConfig.DataStoreUiConfig.Builder newBuilder()
public static WidgetConfig.DataStoreUiConfig.Builder newBuilder(WidgetConfig.DataStoreUiConfig prototype)
public static WidgetConfig.DataStoreUiConfig parseDelimitedFrom(InputStream input)
public static WidgetConfig.DataStoreUiConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.DataStoreUiConfig parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static WidgetConfig.DataStoreUiConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.DataStoreUiConfig parseFrom(ByteString data)
public static WidgetConfig.DataStoreUiConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.DataStoreUiConfig parseFrom(CodedInputStream input)
public static WidgetConfig.DataStoreUiConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.DataStoreUiConfig parseFrom(InputStream input)
public static WidgetConfig.DataStoreUiConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static WidgetConfig.DataStoreUiConfig parseFrom(ByteBuffer data)
public static WidgetConfig.DataStoreUiConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<WidgetConfig.DataStoreUiConfig> parser()
Methods
public boolean containsFieldsUiComponentsMap(String key)
The key is the UI component. Mock. Currently supported title,
thumbnail, url, custom1, custom2, custom3.
The value is the name of the field along with its device visibility.
The 3 custom fields are optional and can be added or removed. title,
thumbnail, url are required UI components that cannot be removed.
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;
| Parameter |
| Name |
Description |
key |
String
|
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
public WidgetConfig.DataStoreUiConfig getDefaultInstanceForType()
public WidgetConfig.FacetField getFacetField(int index)
Facet fields that store the mapping of fields to end user widget
appearance.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;
| Parameter |
| Name |
Description |
index |
int
|
public int getFacetFieldCount()
Facet fields that store the mapping of fields to end user widget
appearance.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;
| Returns |
| Type |
Description |
int |
|
public List<WidgetConfig.FacetField> getFacetFieldList()
Facet fields that store the mapping of fields to end user widget
appearance.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;
public WidgetConfig.FacetFieldOrBuilder getFacetFieldOrBuilder(int index)
Facet fields that store the mapping of fields to end user widget
appearance.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;
| Parameter |
| Name |
Description |
index |
int
|
public List<? extends WidgetConfig.FacetFieldOrBuilder> getFacetFieldOrBuilderList()
Facet fields that store the mapping of fields to end user widget
appearance.
repeated .google.cloud.discoveryengine.v1.WidgetConfig.FacetField facet_field = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.WidgetConfig.FacetFieldOrBuilder> |
|
public Map<String,WidgetConfig.UIComponentField> getFieldsUiComponentsMap()
public int getFieldsUiComponentsMapCount()
The key is the UI component. Mock. Currently supported title,
thumbnail, url, custom1, custom2, custom3.
The value is the name of the field along with its device visibility.
The 3 custom fields are optional and can be added or removed. title,
thumbnail, url are required UI components that cannot be removed.
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;
| Returns |
| Type |
Description |
int |
|
public Map<String,WidgetConfig.UIComponentField> getFieldsUiComponentsMapMap()
The key is the UI component. Mock. Currently supported title,
thumbnail, url, custom1, custom2, custom3.
The value is the name of the field along with its device visibility.
The 3 custom fields are optional and can be added or removed. title,
thumbnail, url are required UI components that cannot be removed.
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;
public WidgetConfig.UIComponentField getFieldsUiComponentsMapOrDefault(String key, WidgetConfig.UIComponentField defaultValue)
The key is the UI component. Mock. Currently supported title,
thumbnail, url, custom1, custom2, custom3.
The value is the name of the field along with its device visibility.
The 3 custom fields are optional and can be added or removed. title,
thumbnail, url are required UI components that cannot be removed.
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;
public WidgetConfig.UIComponentField getFieldsUiComponentsMapOrThrow(String key)
The key is the UI component. Mock. Currently supported title,
thumbnail, url, custom1, custom2, custom3.
The value is the name of the field along with its device visibility.
The 3 custom fields are optional and can be added or removed. title,
thumbnail, url are required UI components that cannot be removed.
map<string, .google.cloud.discoveryengine.v1.WidgetConfig.UIComponentField> fields_ui_components_map = 4;
| Parameter |
| Name |
Description |
key |
String
|
Output only. the identifier of the data store, used for widget service.
For now it refers to data_store_id, in the future we will migrate the
field to encrypted data store name UUID.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
String |
The id.
|
public ByteString getIdBytes()
Output only. the identifier of the data store, used for widget service.
For now it refers to data_store_id, in the future we will migrate the
field to encrypted data store name UUID.
string id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns |
| Type |
Description |
ByteString |
The bytes for id.
|
The name of the data store. It should be data store resource name
Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
For APIs under
WidgetService, such as
WidgetService.LookupWidgetConfig,
the project number and location part is erased in this field.
string name = 1;
| Returns |
| Type |
Description |
String |
The name.
|
public ByteString getNameBytes()
The name of the data store. It should be data store resource name
Format:
projects/{project}/locations/{location}/collections/{collection_id}/dataStores/{data_store_id}.
For APIs under
WidgetService, such as
WidgetService.LookupWidgetConfig,
the project number and location part is erased in this field.
string name = 1;
| Returns |
| Type |
Description |
ByteString |
The bytes for name.
|
public Parser<WidgetConfig.DataStoreUiConfig> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
| Parameter |
| Name |
Description |
number |
int
|
| Returns |
| Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
public final boolean isInitialized()
Overrides
public WidgetConfig.DataStoreUiConfig.Builder newBuilderForType()
protected WidgetConfig.DataStoreUiConfig.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
public WidgetConfig.DataStoreUiConfig.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides