Class BiddingStrategySimulation

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v18.resources.BiddingStrategySimulation
All Implemented Interfaces:
BiddingStrategySimulationOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

public final class BiddingStrategySimulation extends com.google.protobuf.GeneratedMessageV3 implements BiddingStrategySimulationOrBuilder
 A bidding strategy simulation. Supported combinations of simulation type
 and simulation modification method are detailed below respectively.

 1. TARGET_CPA - UNIFORM
 2. TARGET_ROAS - UNIFORM
 
Protobuf type google.ads.googleads.v18.resources.BiddingStrategySimulation
See Also:
  • Field Details

    • RESOURCE_NAME_FIELD_NUMBER

      public static final int RESOURCE_NAME_FIELD_NUMBER
      See Also:
    • BIDDING_STRATEGY_ID_FIELD_NUMBER

      public static final int BIDDING_STRATEGY_ID_FIELD_NUMBER
      See Also:
    • TYPE_FIELD_NUMBER

      public static final int TYPE_FIELD_NUMBER
      See Also:
    • MODIFICATION_METHOD_FIELD_NUMBER

      public static final int MODIFICATION_METHOD_FIELD_NUMBER
      See Also:
    • START_DATE_FIELD_NUMBER

      public static final int START_DATE_FIELD_NUMBER
      See Also:
    • END_DATE_FIELD_NUMBER

      public static final int END_DATE_FIELD_NUMBER
      See Also:
    • TARGET_CPA_POINT_LIST_FIELD_NUMBER

      public static final int TARGET_CPA_POINT_LIST_FIELD_NUMBER
      See Also:
    • TARGET_ROAS_POINT_LIST_FIELD_NUMBER

      public static final int TARGET_ROAS_POINT_LIST_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getPointListCase

      public BiddingStrategySimulation.PointListCase getPointListCase()
      Specified by:
      getPointListCase in interface BiddingStrategySimulationOrBuilder
    • getResourceName

      public String getResourceName()
       Output only. The resource name of the bidding strategy simulation.
       Bidding strategy simulation resource names have the form:
      
       `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceName in interface BiddingStrategySimulationOrBuilder
      Returns:
      The resourceName.
    • getResourceNameBytes

      public com.google.protobuf.ByteString getResourceNameBytes()
       Output only. The resource name of the bidding strategy simulation.
       Bidding strategy simulation resource names have the form:
      
       `customers/{customer_id}/biddingStrategySimulations/{bidding_strategy_id}~{type}~{modification_method}~{start_date}~{end_date}`
       
      string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
      Specified by:
      getResourceNameBytes in interface BiddingStrategySimulationOrBuilder
      Returns:
      The bytes for resourceName.
    • getBiddingStrategyId

      public long getBiddingStrategyId()
       Output only. Bidding strategy shared set id of the simulation.
       
      int64 bidding_strategy_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getBiddingStrategyId in interface BiddingStrategySimulationOrBuilder
      Returns:
      The biddingStrategyId.
    • getTypeValue

      public int getTypeValue()
       Output only. The field that the simulation modifies.
       
      .google.ads.googleads.v18.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTypeValue in interface BiddingStrategySimulationOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Output only. The field that the simulation modifies.
       
      .google.ads.googleads.v18.enums.SimulationTypeEnum.SimulationType type = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getType in interface BiddingStrategySimulationOrBuilder
      Returns:
      The type.
    • getModificationMethodValue

      public int getModificationMethodValue()
       Output only. How the simulation modifies the field.
       
      .google.ads.googleads.v18.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModificationMethodValue in interface BiddingStrategySimulationOrBuilder
      Returns:
      The enum numeric value on the wire for modificationMethod.
    • getModificationMethod

       Output only. How the simulation modifies the field.
       
      .google.ads.googleads.v18.enums.SimulationModificationMethodEnum.SimulationModificationMethod modification_method = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getModificationMethod in interface BiddingStrategySimulationOrBuilder
      Returns:
      The modificationMethod.
    • getStartDate

      public String getStartDate()
       Output only. First day on which the simulation is based, in YYYY-MM-DD
       format.
       
      string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartDate in interface BiddingStrategySimulationOrBuilder
      Returns:
      The startDate.
    • getStartDateBytes

      public com.google.protobuf.ByteString getStartDateBytes()
       Output only. First day on which the simulation is based, in YYYY-MM-DD
       format.
       
      string start_date = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartDateBytes in interface BiddingStrategySimulationOrBuilder
      Returns:
      The bytes for startDate.
    • getEndDate

      public String getEndDate()
       Output only. Last day on which the simulation is based, in YYYY-MM-DD
       format
       
      string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndDate in interface BiddingStrategySimulationOrBuilder
      Returns:
      The endDate.
    • getEndDateBytes

      public com.google.protobuf.ByteString getEndDateBytes()
       Output only. Last day on which the simulation is based, in YYYY-MM-DD
       format
       
      string end_date = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndDateBytes in interface BiddingStrategySimulationOrBuilder
      Returns:
      The bytes for endDate.
    • hasTargetCpaPointList

      public boolean hasTargetCpaPointList()
       Output only. Simulation points if the simulation type is TARGET_CPA.
       
      .google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetCpaPointList in interface BiddingStrategySimulationOrBuilder
      Returns:
      Whether the targetCpaPointList field is set.
    • getTargetCpaPointList

      public TargetCpaSimulationPointList getTargetCpaPointList()
       Output only. Simulation points if the simulation type is TARGET_CPA.
       
      .google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCpaPointList in interface BiddingStrategySimulationOrBuilder
      Returns:
      The targetCpaPointList.
    • getTargetCpaPointListOrBuilder

      public TargetCpaSimulationPointListOrBuilder getTargetCpaPointListOrBuilder()
       Output only. Simulation points if the simulation type is TARGET_CPA.
       
      .google.ads.googleads.v18.common.TargetCpaSimulationPointList target_cpa_point_list = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetCpaPointListOrBuilder in interface BiddingStrategySimulationOrBuilder
    • hasTargetRoasPointList

      public boolean hasTargetRoasPointList()
       Output only. Simulation points if the simulation type is TARGET_ROAS.
       
      .google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasTargetRoasPointList in interface BiddingStrategySimulationOrBuilder
      Returns:
      Whether the targetRoasPointList field is set.
    • getTargetRoasPointList

      public TargetRoasSimulationPointList getTargetRoasPointList()
       Output only. Simulation points if the simulation type is TARGET_ROAS.
       
      .google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetRoasPointList in interface BiddingStrategySimulationOrBuilder
      Returns:
      The targetRoasPointList.
    • getTargetRoasPointListOrBuilder

      public TargetRoasSimulationPointListOrBuilder getTargetRoasPointListOrBuilder()
       Output only. Simulation points if the simulation type is TARGET_ROAS.
       
      .google.ads.googleads.v18.common.TargetRoasSimulationPointList target_roas_point_list = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getTargetRoasPointListOrBuilder in interface BiddingStrategySimulationOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static BiddingStrategySimulation parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BiddingStrategySimulation parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static BiddingStrategySimulation parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static BiddingStrategySimulation parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public BiddingStrategySimulation.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static BiddingStrategySimulation.Builder newBuilder()
    • newBuilder

      public static BiddingStrategySimulation.Builder newBuilder(BiddingStrategySimulation prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected BiddingStrategySimulation.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static BiddingStrategySimulation getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<BiddingStrategySimulation> parser()
    • getParserForType

      public com.google.protobuf.Parser<BiddingStrategySimulation> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

      public BiddingStrategySimulation getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder