Interface BatchOptimizeToursRequest.AsyncModelConfigOrBuilder (1.41.0)

publicstaticinterface BatchOptimizeToursRequest.AsyncModelConfigOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisplayName()

publicabstractStringgetDisplayName()

User defined model name, can be used as alias by users to keep track of models.

string display_name = 1;

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

publicabstractByteStringgetDisplayNameBytes()

User defined model name, can be used as alias by users to keep track of models.

string display_name = 1;

Returns
Type Description
ByteString

The bytes for displayName.

getEnableCheckpoints()

publicabstractbooleangetEnableCheckpoints()

If this is set, the model will be solved in the checkpoint mode. In this mode, the input model can have a deadline longer than 30 mins without the risk of interruption. The model will be solved in multiple short-running stages. Each stage generates an intermediate checkpoint and stores it in the user's Cloud Storage buckets. The checkpoint mode should be preferred over allow_large_deadline_despite_interruption_risk since it prevents the risk of interruption.

bool enable_checkpoints = 4;

Returns
Type Description
boolean

The enableCheckpoints.

getInputConfig()

publicabstractInputConfiggetInputConfig()

Required. Information about the input model.

.google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfig

The inputConfig.

getInputConfigOrBuilder()

publicabstractInputConfigOrBuildergetInputConfigOrBuilder()

Required. Information about the input model.

.google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
InputConfigOrBuilder

getOutputConfig()

publicabstractOutputConfiggetOutputConfig()

Required. The desired output location information.

.google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfig

The outputConfig.

getOutputConfigOrBuilder()

publicabstractOutputConfigOrBuildergetOutputConfigOrBuilder()

Required. The desired output location information.

.google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
OutputConfigOrBuilder

hasInputConfig()

publicabstractbooleanhasInputConfig()

Required. Information about the input model.

.google.cloud.optimization.v1.InputConfig input_config = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the inputConfig field is set.

hasOutputConfig()

publicabstractbooleanhasOutputConfig()

Required. The desired output location information.

.google.cloud.optimization.v1.OutputConfig output_config = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the outputConfig field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.