Class VersionVariants.Builder (0.65.0)

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.v3beta1.VersionVariants

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

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.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
values Iterable<? extends com.google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant>
Returns
Type Description
VersionVariants.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VersionVariants.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VersionVariants.Builder
Overrides

addVariants(VersionVariants.Variant value)

public VersionVariants.Builder addVariants(VersionVariants.Variant value)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
value VersionVariants.Variant
Returns
Type Description
VersionVariants.Builder

addVariants(VersionVariants.Variant.Builder builderForValue)

public VersionVariants.Builder addVariants(VersionVariants.Variant.Builder builderForValue)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
builderForValue VersionVariants.Variant.Builder
Returns
Type Description
VersionVariants.Builder

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.v3beta1.VersionVariants.Variant variants = 1;

Parameters
Name Description
index int
value VersionVariants.Variant
Returns
Type Description
VersionVariants.Builder

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.v3beta1.VersionVariants.Variant variants = 1;

Parameters
Name Description
index int
builderForValue VersionVariants.Variant.Builder
Returns
Type Description
VersionVariants.Builder

addVariantsBuilder()

public VersionVariants.Variant.Builder addVariantsBuilder()

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Returns
Type Description
VersionVariants.Variant.Builder

addVariantsBuilder(int index)

public VersionVariants.Variant.Builder addVariantsBuilder(int index)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionVariants.Variant.Builder

build()

public VersionVariants build()
Returns
Type Description
VersionVariants

buildPartial()

public VersionVariants buildPartial()
Returns
Type Description
VersionVariants

clear()

public VersionVariants.Builder clear()
Returns
Type Description
VersionVariants.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VersionVariants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
VersionVariants.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VersionVariants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
VersionVariants.Builder
Overrides

clearVariants()

public VersionVariants.Builder clearVariants()

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Returns
Type Description
VersionVariants.Builder

clone()

public VersionVariants.Builder clone()
Returns
Type Description
VersionVariants.Builder
Overrides

getDefaultInstanceForType()

public VersionVariants getDefaultInstanceForType()
Returns
Type Description
VersionVariants

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getVariants(int index)

public VersionVariants.Variant getVariants(int index)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionVariants.Variant

getVariantsBuilder(int index)

public VersionVariants.Variant.Builder getVariantsBuilder(int index)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionVariants.Variant.Builder

getVariantsBuilderList()

public List<VersionVariants.Variant.Builder> getVariantsBuilderList()

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Returns
Type Description
List<Builder>

getVariantsCount()

public int getVariantsCount()

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.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.v3beta1.VersionVariants.Variant variants = 1;

Returns
Type Description
List<Variant>

getVariantsOrBuilder(int index)

public VersionVariants.VariantOrBuilder getVariantsOrBuilder(int index)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionVariants.VariantOrBuilder

getVariantsOrBuilderList()

public List<? extends VersionVariants.VariantOrBuilder> getVariantsOrBuilderList()

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Returns
Type Description
List<? extends com.google.cloud.dialogflow.cx.v3beta1.VersionVariants.VariantOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(VersionVariants other)

public VersionVariants.Builder mergeFrom(VersionVariants other)
Parameter
Name Description
other VersionVariants
Returns
Type Description
VersionVariants.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VersionVariants.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
VersionVariants.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public VersionVariants.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
VersionVariants.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VersionVariants.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VersionVariants.Builder
Overrides

removeVariants(int index)

public VersionVariants.Builder removeVariants(int index)

A list of flow version variants.

repeated .google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant variants = 1;

Parameter
Name Description
index int
Returns
Type Description
VersionVariants.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VersionVariants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
VersionVariants.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public VersionVariants.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
VersionVariants.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VersionVariants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
VersionVariants.Builder
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.v3beta1.VersionVariants.Variant variants = 1;

Parameters
Name Description
index int
value VersionVariants.Variant
Returns
Type Description
VersionVariants.Builder

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.v3beta1.VersionVariants.Variant variants = 1;

Parameters
Name Description
index int
builderForValue VersionVariants.Variant.Builder
Returns
Type Description
VersionVariants.Builder