Class VersionVariants.Builder (0.14.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.dialogflow.cx.v3beta1.VersionVariants.Variant>
Returns
TypeDescription
VersionVariants.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public VersionVariants.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueVersionVariants.Variant
Returns
TypeDescription
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
NameDescription
builderForValueVersionVariants.Variant.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueVersionVariants.Variant
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVersionVariants.Variant.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VersionVariants.Variant.Builder

build()

public VersionVariants build()
Returns
TypeDescription
VersionVariants

buildPartial()

public VersionVariants buildPartial()
Returns
TypeDescription
VersionVariants

clear()

public VersionVariants.Builder clear()
Returns
TypeDescription
VersionVariants.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public VersionVariants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
VersionVariants.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public VersionVariants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
VersionVariants.Builder

clone()

public VersionVariants.Builder clone()
Returns
TypeDescription
VersionVariants.Builder
Overrides

getDefaultInstanceForType()

public VersionVariants getDefaultInstanceForType()
Returns
TypeDescription
VersionVariants

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getVariantsCount()

public int getVariantsCount()

A list of flow version variants.

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

Returns
TypeDescription
int

getVariantsList()

public List<VersionVariants.Variant> getVariantsList()

A list of flow version variants.

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.cloud.dialogflow.cx.v3beta1.VersionVariants.VariantOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(VersionVariants other)

public VersionVariants.Builder mergeFrom(VersionVariants other)
Parameter
NameDescription
otherVersionVariants
Returns
TypeDescription
VersionVariants.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public VersionVariants.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
VersionVariants.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public VersionVariants.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
VersionVariants.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final VersionVariants.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
VersionVariants.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public VersionVariants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
VersionVariants.Builder
Overrides

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

public VersionVariants.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
VersionVariants.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final VersionVariants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
valueVersionVariants.Variant
Returns
TypeDescription
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
NameDescription
indexint
builderForValueVersionVariants.Variant.Builder
Returns
TypeDescription
VersionVariants.Builder