public interface OptimizationConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAssistantSession()
public abstract String getAssistantSession() Output only. The assistant session to use for the optimization based on
this evaluation run. Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}
string assistant_session = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The assistantSession. |
getAssistantSessionBytes()
public abstract ByteString getAssistantSessionBytes() Output only. The assistant session to use for the optimization based on
this evaluation run. Format:
projects/{project}/locations/{location}/apps/{app}/assistantSessions/{assistantSession}
string assistant_session = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for assistantSession. |
getErrorMessage()
public abstract String getErrorMessage()Output only. The error message if the optimization run failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The errorMessage. |
getErrorMessageBytes()
public abstract ByteString getErrorMessageBytes()Output only. The error message if the optimization run failed.
string error_message = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for errorMessage. |
getGenerateLossReport()
public abstract boolean getGenerateLossReport()Optional. Whether to generate a loss report.
bool generate_loss_report = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
boolean |
The generateLossReport. |
getLossReport()
public abstract Struct getLossReport()Output only. The generated loss report.
.google.protobuf.Struct loss_report = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
Struct |
The lossReport. |
getLossReportOrBuilder()
public abstract StructOrBuilder getLossReportOrBuilder()Output only. The generated loss report.
.google.protobuf.Struct loss_report = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
StructOrBuilder |
|
getReportSummary()
public abstract String getReportSummary()Output only. The summary of the loss report.
string report_summary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
String |
The reportSummary. |
getReportSummaryBytes()
public abstract ByteString getReportSummaryBytes()Output only. The summary of the loss report.
string report_summary = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for reportSummary. |
getShouldSuggestFix()
public abstract boolean getShouldSuggestFix()Output only. Whether to suggest a fix for the losses.
bool should_suggest_fix = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
The shouldSuggestFix. |
getStatus()
public abstract OptimizationConfig.OptimizationStatus getStatus()Output only. The status of the optimization run.
.google.cloud.ces.v1beta.OptimizationConfig.OptimizationStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
OptimizationConfig.OptimizationStatus |
The status. |
getStatusValue()
public abstract int getStatusValue()Output only. The status of the optimization run.
.google.cloud.ces.v1beta.OptimizationConfig.OptimizationStatus status = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for status. |
hasLossReport()
public abstract boolean hasLossReport()Output only. The generated loss report.
.google.protobuf.Struct loss_report = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the lossReport field is set. |