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
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
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>
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public VersionVariants.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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;
Parameter
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.v3.VersionVariants.Variant variants = 1;
Parameter
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.v3.VersionVariants.Variant variants = 1;
Parameters
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.v3.VersionVariants.Variant variants = 1;
Parameters
Returns
addVariantsBuilder()
public VersionVariants.Variant.Builder addVariantsBuilder()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.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.v3.VersionVariants.Variant variants = 1;
Parameter
Returns
build()
public VersionVariants build()
Returns
buildPartial()
public VersionVariants buildPartial()
Returns
clear()
public VersionVariants.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public VersionVariants.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public VersionVariants.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearVariants()
public VersionVariants.Builder clearVariants()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
clone()
public VersionVariants.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public VersionVariants getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getVariantsBuilderList()
public List<VersionVariants.Variant.Builder> getVariantsBuilderList()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
getVariantsCount()
public int getVariantsCount()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
getVariantsList()
public List<VersionVariants.Variant> getVariantsList()
A list of flow version variants.
repeated .google.cloud.dialogflow.cx.v3.VersionVariants.Variant variants = 1;
Returns
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
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(VersionVariants other)
public VersionVariants.Builder mergeFrom(VersionVariants other)
Parameter
Returns
public VersionVariants.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public VersionVariants.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final VersionVariants.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public VersionVariants.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public VersionVariants.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final VersionVariants.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
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.v3.VersionVariants.Variant variants = 1;
Parameters
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.v3.VersionVariants.Variant variants = 1;
Parameters
Returns