- 0.66.0 (latest)
- 0.65.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.50.0
- 0.48.0
- 0.47.0
- 0.46.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.35.0
- 0.34.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.22.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.7
- 0.13.1
- 0.12.1
- 0.11.5
public static final class BoostSpecs.Builder extends GeneratedMessageV3.Builder<BoostSpecs.Builder> implements BoostSpecsOrBuilder
Boost specifications for data stores.
Protobuf type google.cloud.dialogflow.cx.v3.BoostSpecs
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BoostSpecs.BuilderImplements
BoostSpecsOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllDataStores(Iterable<String> values)
public BoostSpecs.Builder addAllDataStores(Iterable<String> values)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
This builder for chaining. |
addAllSpec(Iterable<? extends BoostSpec> values)
public BoostSpecs.Builder addAllSpec(Iterable<? extends BoostSpec> values)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.dialogflow.cx.v3.BoostSpec> |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addDataStores(String value)
public BoostSpecs.Builder addDataStores(String value)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
String The dataStores to add. |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
This builder for chaining. |
addDataStoresBytes(ByteString value)
public BoostSpecs.Builder addDataStoresBytes(ByteString value)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the dataStores to add. |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BoostSpecs.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addSpec(BoostSpec value)
public BoostSpecs.Builder addSpec(BoostSpec value)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
BoostSpec |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addSpec(BoostSpec.Builder builderForValue)
public BoostSpecs.Builder addSpec(BoostSpec.Builder builderForValue)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
builderForValue |
BoostSpec.Builder |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addSpec(int index, BoostSpec value)
public BoostSpecs.Builder addSpec(int index, BoostSpec value)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addSpec(int index, BoostSpec.Builder builderForValue)
public BoostSpecs.Builder addSpec(int index, BoostSpec.Builder builderForValue)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BoostSpec.Builder |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
addSpecBuilder()
public BoostSpec.Builder addSpecBuilder()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BoostSpec.Builder |
addSpecBuilder(int index)
public BoostSpec.Builder addSpecBuilder(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpec.Builder |
build()
public BoostSpecs build()
Returns | |
---|---|
Type | Description |
BoostSpecs |
buildPartial()
public BoostSpecs buildPartial()
Returns | |
---|---|
Type | Description |
BoostSpecs |
clear()
public BoostSpecs.Builder clear()
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
clearDataStores()
public BoostSpecs.Builder clearDataStores()
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public BoostSpecs.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BoostSpecs.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
clearSpec()
public BoostSpecs.Builder clearSpec()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
clone()
public BoostSpecs.Builder clone()
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
getDataStores(int index)
public String getDataStores(int index)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String |
The dataStores at the given index. |
getDataStoresBytes(int index)
public ByteString getDataStoresBytes(int index)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameter | |
---|---|
Name | Description |
index |
int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString |
The bytes of the dataStores at the given index. |
getDataStoresCount()
public int getDataStoresCount()
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
int |
The count of dataStores. |
getDataStoresList()
public ProtocolStringList getDataStoresList()
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Returns | |
---|---|
Type | Description |
ProtocolStringList |
A list containing the dataStores. |
getDefaultInstanceForType()
public BoostSpecs getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BoostSpecs |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getSpec(int index)
public BoostSpec getSpec(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpec |
getSpecBuilder(int index)
public BoostSpec.Builder getSpecBuilder(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpec.Builder |
getSpecBuilderList()
public List<BoostSpec.Builder> getSpecBuilderList()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpecCount()
public int getSpecCount()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
int |
getSpecList()
public List<BoostSpec> getSpecList()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpecOrBuilder(int index)
public BoostSpecOrBuilder getSpecOrBuilder(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecOrBuilder |
getSpecOrBuilderList()
public List<? extends BoostSpecOrBuilder> getSpecOrBuilderList()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.dialogflow.cx.v3.BoostSpecOrBuilder> |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BoostSpecs other)
public BoostSpecs.Builder mergeFrom(BoostSpecs other)
Parameter | |
---|---|
Name | Description |
other |
BoostSpecs |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BoostSpecs.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BoostSpecs.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpecs.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
removeSpec(int index)
public BoostSpecs.Builder removeSpec(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
setDataStores(int index, String value)
public BoostSpecs.Builder setDataStores(int index, String value)
Optional. Data Stores where the boosting configuration is applied. The full
names of the referenced data stores. Formats:
projects/{project}/locations/{location}/collections/{collection}/dataStores/{data_store}
projects/{project}/locations/{location}/dataStores/{data_store}
repeated string data_stores = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The dataStores to set. |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public BoostSpecs.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BoostSpecs.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
setSpec(int index, BoostSpec value)
public BoostSpecs.Builder setSpec(int index, BoostSpec value)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
setSpec(int index, BoostSpec.Builder builderForValue)
public BoostSpecs.Builder setSpec(int index, BoostSpec.Builder builderForValue)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
BoostSpec.Builder |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final BoostSpecs.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BoostSpecs.Builder |