public static final class BoostSpecs.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder> implements BoostSpecsOrBuilder
Boost specifications for data stores.Protobuf type
google.cloud.dialogflow.cx.v3.BoostSpecs| Modifier and Type | Method and Description |
|---|---|
BoostSpecs.Builder |
addAllDataStores(Iterable<String> values)
Optional.
|
BoostSpecs.Builder |
addAllSpec(Iterable<? extends BoostSpec> values)
Optional.
|
BoostSpecs.Builder |
addDataStores(String value)
Optional.
|
BoostSpecs.Builder |
addDataStoresBytes(com.google.protobuf.ByteString value)
Optional.
|
BoostSpecs.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BoostSpecs.Builder |
addSpec(BoostSpec.Builder builderForValue)
Optional.
|
BoostSpecs.Builder |
addSpec(BoostSpec value)
Optional.
|
BoostSpecs.Builder |
addSpec(int index,
BoostSpec.Builder builderForValue)
Optional.
|
BoostSpecs.Builder |
addSpec(int index,
BoostSpec value)
Optional.
|
BoostSpec.Builder |
addSpecBuilder()
Optional.
|
BoostSpec.Builder |
addSpecBuilder(int index)
Optional.
|
BoostSpecs |
build() |
BoostSpecs |
buildPartial() |
BoostSpecs.Builder |
clear() |
BoostSpecs.Builder |
clearDataStores()
Optional.
|
BoostSpecs.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BoostSpecs.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BoostSpecs.Builder |
clearSpec()
Optional.
|
BoostSpecs.Builder |
clone() |
String |
getDataStores(int index)
Optional.
|
com.google.protobuf.ByteString |
getDataStoresBytes(int index)
Optional.
|
int |
getDataStoresCount()
Optional.
|
com.google.protobuf.ProtocolStringList |
getDataStoresList()
Optional.
|
BoostSpecs |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
BoostSpec |
getSpec(int index)
Optional.
|
BoostSpec.Builder |
getSpecBuilder(int index)
Optional.
|
List<BoostSpec.Builder> |
getSpecBuilderList()
Optional.
|
int |
getSpecCount()
Optional.
|
List<BoostSpec> |
getSpecList()
Optional.
|
BoostSpecOrBuilder |
getSpecOrBuilder(int index)
Optional.
|
List<? extends BoostSpecOrBuilder> |
getSpecOrBuilderList()
Optional.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BoostSpecs.Builder |
mergeFrom(BoostSpecs other) |
BoostSpecs.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BoostSpecs.Builder |
mergeFrom(com.google.protobuf.Message other) |
BoostSpecs.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BoostSpecs.Builder |
removeSpec(int index)
Optional.
|
BoostSpecs.Builder |
setDataStores(int index,
String value)
Optional.
|
BoostSpecs.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BoostSpecs.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BoostSpecs.Builder |
setSpec(int index,
BoostSpec.Builder builderForValue)
Optional.
|
BoostSpecs.Builder |
setSpec(int index,
BoostSpec value)
Optional.
|
BoostSpecs.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BoostSpecs build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BoostSpecs buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BoostSpecs.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BoostSpecs.Builder>public BoostSpecs.Builder mergeFrom(BoostSpecs other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public BoostSpecs.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BoostSpecs.Builder>IOExceptionpublic com.google.protobuf.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) = { ... }
getDataStoresList in interface BoostSpecsOrBuilderpublic 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) = { ... }
getDataStoresCount in interface BoostSpecsOrBuilderpublic 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) = { ... }
getDataStores in interface BoostSpecsOrBuilderindex - The index of the element to return.public com.google.protobuf.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) = { ... }
getDataStoresBytes in interface BoostSpecsOrBuilderindex - The index of the value to return.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) = { ... }
index - The index to set the value at.value - The dataStores to set.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) = { ... }
value - The dataStores to add.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) = { ... }
values - The dataStores to add.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) = { ... }
public BoostSpecs.Builder addDataStoresBytes(com.google.protobuf.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) = { ... }
value - The bytes of the dataStores to add.public List<BoostSpec> getSpecList()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpecList in interface BoostSpecsOrBuilderpublic int getSpecCount()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpecCount in interface BoostSpecsOrBuilderpublic BoostSpec getSpec(int index)
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpec in interface BoostSpecsOrBuilderpublic 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];
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];
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];
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];
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];
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];
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];
public BoostSpecs.Builder clearSpec()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
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];
getSpecOrBuilder in interface BoostSpecsOrBuilderpublic List<? extends BoostSpecOrBuilder> getSpecOrBuilderList()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
getSpecOrBuilderList in interface BoostSpecsOrBuilderpublic BoostSpec.Builder addSpecBuilder()
Optional. A list of boosting specifications.
repeated .google.cloud.dialogflow.cx.v3.BoostSpec spec = 2 [(.google.api.field_behavior) = OPTIONAL];
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];
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];
public final BoostSpecs.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>public final BoostSpecs.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BoostSpecs.Builder>Copyright © 2025 Google LLC. All rights reserved.