public interface CustomAttributeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
double |
getNumbers(int index)
The numerical values of this custom attribute.
|
int |
getNumbersCount()
The numerical values of this custom attribute.
|
List<Double> |
getNumbersList()
The numerical values of this custom attribute.
|
String |
getText(int index)
The textual values of this custom attribute.
|
com.google.protobuf.ByteString |
getTextBytes(int index)
The textual values of this custom attribute.
|
int |
getTextCount()
The textual values of this custom attribute.
|
List<String> |
getTextList()
The textual values of this custom attribute.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<String> getTextList()
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated string text = 1;int getTextCount()
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated string text = 1;String getText(int index)
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated string text = 1;index - The index of the element to return.com.google.protobuf.ByteString getTextBytes(int index)
The textual values of this custom attribute. For example, `["yellow", "green"]` when the key is "color". Empty string is not allowed. Otherwise, an `INVALID_ARGUMENT` error is returned. Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated string text = 1;index - The index of the value to return.List<Double> getNumbersList()
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated double numbers = 2;int getNumbersCount()
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated double numbers = 2;double getNumbers(int index)
The numerical values of this custom attribute. For example, `[2.3, 15.4]` when the key is "lengths_cm". Exactly one of [CustomAttribute.text][google.cloud.discoveryengine.v1beta.CustomAttribute.text] or [CustomAttribute.numbers][google.cloud.discoveryengine.v1beta.CustomAttribute.numbers] should be set. Otherwise, an `INVALID_ARGUMENT` error is returned.
repeated double numbers = 2;index - The index of the element to return.Copyright © 2024 Google LLC. All rights reserved.