Class VersionVariants.Builder (0.14.5)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

addVariantsBuilder()

public VersionVariants.Variant.Builder addVariantsBuilder()

A list of flow version variants.

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

Returns

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

build()

public VersionVariants build()
Returns
TypeDescription
VersionVariants

buildPartial()

public VersionVariants buildPartial()
Returns
TypeDescription
VersionVariants

clear()

public VersionVariants.Builder clear()
Returns Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public VersionVariants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns Overrides

clearVariants()

public VersionVariants.Builder clearVariants()

A list of flow version variants.

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

Returns

clone()

public VersionVariants.Builder clone()
Returns 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

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

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public VersionVariants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns 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 Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

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