Interface VersionVariants.VariantOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
VersionVariants.Variant, VersionVariants.Variant.Builder
Enclosing class:
VersionVariants

public static interface VersionVariants.VariantOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Whether the variant is for the control group.
    float
    Percentage of the traffic which should be routed to this version of flow.
    The name of the flow version.
    com.google.protobuf.ByteString
    The name of the flow version.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getVersion

      String getVersion()
       The name of the flow version.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
       
      string version = 1;
      Returns:
      The version.
    • getVersionBytes

      com.google.protobuf.ByteString getVersionBytes()
       The name of the flow version.
       Format:
       `projects/<ProjectID>/locations/<LocationID>/agents/<AgentID>/flows/<FlowID>/versions/<VersionID>`.
       
      string version = 1;
      Returns:
      The bytes for version.
    • getTrafficAllocation

      float getTrafficAllocation()
       Percentage of the traffic which should be routed to this
       version of flow. Traffic allocation for a single flow must sum up to 1.0.
       
      float traffic_allocation = 2;
      Returns:
      The trafficAllocation.
    • getIsControlGroup

      boolean getIsControlGroup()
       Whether the variant is for the control group.
       
      bool is_control_group = 3;
      Returns:
      The isControlGroup.