Send feedback
Class VersionVariants.Builder (0.35.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.35.0 keyboard_arrow_down
public static final class VersionVariants . Builder extends GeneratedMessageV3 . Builder<VersionVariants . Builder > implements VersionVariantsOrBuilder
A list of flow version variants.
Protobuf type google.cloud.dialogflow.cx.v3.VersionVariants
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
Methods
addAllVariants(Iterable<? extends VersionVariants.Variant> values)
public VersionVariants . Builder addAllVariants ( Iterable <? extends VersionVariants . Variant > values )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
values
Iterable <? extends com.google.cloud.dialogflow.cx.v3.VersionVariants.Variant >
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VersionVariants . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
addVariants(VersionVariants.Variant value)
public VersionVariants . Builder addVariants ( VersionVariants . Variant value )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
addVariants(VersionVariants.Variant.Builder builderForValue)
public VersionVariants . Builder addVariants ( VersionVariants . Variant . Builder builderForValue )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
addVariants(int index, VersionVariants.Variant value)
public VersionVariants . Builder addVariants ( int index , VersionVariants . Variant value )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
addVariants(int index, VersionVariants.Variant.Builder builderForValue)
public VersionVariants . Builder addVariants ( int index , VersionVariants . Variant . Builder builderForValue )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
addVariantsBuilder()
public VersionVariants . Variant . Builder addVariantsBuilder ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
addVariantsBuilder(int index)
public VersionVariants . Variant . Builder addVariantsBuilder ( int index )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
index
int
build()
public VersionVariants build ()
buildPartial()
public VersionVariants buildPartial ()
clear()
public VersionVariants . Builder clear ()
Overrides
clearField(Descriptors.FieldDescriptor field)
public VersionVariants . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VersionVariants . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearVariants()
public VersionVariants . Builder clearVariants ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
clone()
public VersionVariants . Builder clone ()
Overrides
getDefaultInstanceForType()
public VersionVariants getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getVariants(int index)
public VersionVariants . Variant getVariants ( int index )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
index
int
getVariantsBuilder(int index)
public VersionVariants . Variant . Builder getVariantsBuilder ( int index )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
index
int
getVariantsBuilderList()
public List<VersionVariants . Variant . Builder > getVariantsBuilderList ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
getVariantsCount()
public int getVariantsCount ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
Type
Description
int
getVariantsList()
public List<VersionVariants . Variant > getVariantsList ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
getVariantsOrBuilder(int index)
public VersionVariants . VariantOrBuilder getVariantsOrBuilder ( int index )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
index
int
getVariantsOrBuilderList()
public List <? extends VersionVariants . VariantOrBuilder > getVariantsOrBuilderList ()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
Type
Description
List <? extends com.google.cloud.dialogflow.cx.v3.VersionVariants.VariantOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(VersionVariants other)
public VersionVariants . Builder mergeFrom ( VersionVariants other )
public VersionVariants . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public VersionVariants . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VersionVariants . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
removeVariants(int index)
public VersionVariants . Builder removeVariants ( int index )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Parameter
Name
Description
index
int
setField(Descriptors.FieldDescriptor field, Object value)
public VersionVariants . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VersionVariants . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VersionVariants . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setVariants(int index, VersionVariants.Variant value)
public VersionVariants . Builder setVariants ( int index , VersionVariants . Variant value )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
setVariants(int index, VersionVariants.Variant.Builder builderForValue)
public VersionVariants . Builder setVariants ( int index , VersionVariants . Variant . Builder builderForValue )
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-21 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-21 UTC."],[],[]]