Interface VersionVariants.VariantOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getIsControlGroup()
      Whether the variant is for the control group.
      float getTrafficAllocation()
      Percentage of the traffic which should be routed to this version of flow.
      String getVersion()
      The name of the flow version.
      com.google.protobuf.ByteString getVersionBytes()
      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 Detail

      • getVersion

        String getVersion()
         The name of the flow version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        string version = 1;
        Returns:
        The version.
      • getVersionBytes

        com.google.protobuf.ByteString getVersionBytes()
         The name of the flow version.
         Format: `projects/<Project ID>/locations/<Location ID>/agents/<Agent
         ID>/flows/<Flow ID>/versions/<Version ID>`.
         
        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.