Class Execution.Builder (0.1.0)

public static final class Execution.Builder extends GeneratedMessage.Builder<Execution.Builder> implements ExecutionOrBuilder

Execution that represents a single run of an Evaluation.

Protobuf type google.cloud.workloadmanager.v1.Execution

Implements

ExecutionOrBuilder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllExternalDataSources(Iterable<? extends Execution.ExternalDataSources> values)

public Execution.Builder addAllExternalDataSources(Iterable<? extends Execution.ExternalDataSources> values)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<? extends com.google.cloud.workloadmanager.v1.Execution.ExternalDataSources>
Returns
Type Description
Execution.Builder

addAllNotices(Iterable<? extends Execution.Notice> values)

public Execution.Builder addAllNotices(Iterable<? extends Execution.Notice> values)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.workloadmanager.v1.Execution.Notice>
Returns
Type Description
Execution.Builder

addAllRuleResults(Iterable<? extends RuleExecutionResult> values)

public Execution.Builder addAllRuleResults(Iterable<? extends RuleExecutionResult> values)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
values Iterable<? extends com.google.cloud.workloadmanager.v1.RuleExecutionResult>
Returns
Type Description
Execution.Builder

addExternalDataSources(Execution.ExternalDataSources value)

public Execution.Builder addExternalDataSources(Execution.ExternalDataSources value)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Execution.ExternalDataSources
Returns
Type Description
Execution.Builder

addExternalDataSources(Execution.ExternalDataSources.Builder builderForValue)

public Execution.Builder addExternalDataSources(Execution.ExternalDataSources.Builder builderForValue)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue Execution.ExternalDataSources.Builder
Returns
Type Description
Execution.Builder

addExternalDataSources(int index, Execution.ExternalDataSources value)

public Execution.Builder addExternalDataSources(int index, Execution.ExternalDataSources value)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Execution.ExternalDataSources
Returns
Type Description
Execution.Builder

addExternalDataSources(int index, Execution.ExternalDataSources.Builder builderForValue)

public Execution.Builder addExternalDataSources(int index, Execution.ExternalDataSources.Builder builderForValue)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Execution.ExternalDataSources.Builder
Returns
Type Description
Execution.Builder

addExternalDataSourcesBuilder()

public Execution.ExternalDataSources.Builder addExternalDataSourcesBuilder()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Execution.ExternalDataSources.Builder

addExternalDataSourcesBuilder(int index)

public Execution.ExternalDataSources.Builder addExternalDataSourcesBuilder(int index)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Execution.ExternalDataSources.Builder

addNotices(Execution.Notice value)

public Execution.Builder addNotices(Execution.Notice value)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Execution.Notice
Returns
Type Description
Execution.Builder

addNotices(Execution.Notice.Builder builderForValue)

public Execution.Builder addNotices(Execution.Notice.Builder builderForValue)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Execution.Notice.Builder
Returns
Type Description
Execution.Builder

addNotices(int index, Execution.Notice value)

public Execution.Builder addNotices(int index, Execution.Notice value)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Execution.Notice
Returns
Type Description
Execution.Builder

addNotices(int index, Execution.Notice.Builder builderForValue)

public Execution.Builder addNotices(int index, Execution.Notice.Builder builderForValue)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Execution.Notice.Builder
Returns
Type Description
Execution.Builder

addNoticesBuilder()

public Execution.Notice.Builder addNoticesBuilder()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Notice.Builder

addNoticesBuilder(int index)

public Execution.Notice.Builder addNoticesBuilder(int index)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Notice.Builder

addRuleResults(RuleExecutionResult value)

public Execution.Builder addRuleResults(RuleExecutionResult value)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value RuleExecutionResult
Returns
Type Description
Execution.Builder

addRuleResults(RuleExecutionResult.Builder builderForValue)

public Execution.Builder addRuleResults(RuleExecutionResult.Builder builderForValue)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue RuleExecutionResult.Builder
Returns
Type Description
Execution.Builder

addRuleResults(int index, RuleExecutionResult value)

public Execution.Builder addRuleResults(int index, RuleExecutionResult value)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RuleExecutionResult
Returns
Type Description
Execution.Builder

addRuleResults(int index, RuleExecutionResult.Builder builderForValue)

public Execution.Builder addRuleResults(int index, RuleExecutionResult.Builder builderForValue)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RuleExecutionResult.Builder
Returns
Type Description
Execution.Builder

addRuleResultsBuilder()

public RuleExecutionResult.Builder addRuleResultsBuilder()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RuleExecutionResult.Builder

addRuleResultsBuilder(int index)

public RuleExecutionResult.Builder addRuleResultsBuilder(int index)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RuleExecutionResult.Builder

build()

public Execution build()
Returns
Type Description
Execution

buildPartial()

public Execution buildPartial()
Returns
Type Description
Execution

clear()

public Execution.Builder clear()
Returns
Type Description
Execution.Builder
Overrides

clearEndTime()

public Execution.Builder clearEndTime()

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearEngine()

public Execution.Builder clearEngine()

Optional. Engine.

.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearEvaluationId()

public Execution.Builder clearEvaluationId()

Output only. [Output only] Evaluation ID.

string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

clearExternalDataSources()

public Execution.Builder clearExternalDataSources()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Execution.Builder

clearInventoryTime()

public Execution.Builder clearInventoryTime()

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearLabels()

public Execution.Builder clearLabels()
Returns
Type Description
Execution.Builder

clearName()

public Execution.Builder clearName()

The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.

string name = 1;

Returns
Type Description
Execution.Builder

This builder for chaining.

clearNotices()

public Execution.Builder clearNotices()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearResultSummary()

public Execution.Builder clearResultSummary()

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearRuleResults()

public Execution.Builder clearRuleResults()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearRunType()

public Execution.Builder clearRunType()

Type which represents whether the execution executed directly by user or scheduled according to the Evaluation.schedule field.

.google.cloud.workloadmanager.v1.Execution.Type run_type = 8;

Returns
Type Description
Execution.Builder

This builder for chaining.

clearStartTime()

public Execution.Builder clearStartTime()

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

clearState()

public Execution.Builder clearState()

Output only. [Output only] State.

.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Builder

This builder for chaining.

containsLabels(String key)

public boolean containsLabels(String key)

Labels as key value pairs.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
boolean

getDefaultInstanceForType()

public Execution getDefaultInstanceForType()
Returns
Type Description
Execution

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getEngine()

public Execution.Engine getEngine()

Optional. Engine.

.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Execution.Engine

The engine.

getEngineValue()

public int getEngineValue()

Optional. Engine.

.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for engine.

getEvaluationId()

public String getEvaluationId()

Output only. [Output only] Evaluation ID.

string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The evaluationId.

getEvaluationIdBytes()

public ByteString getEvaluationIdBytes()

Output only. [Output only] Evaluation ID.

string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for evaluationId.

getExternalDataSources(int index)

public Execution.ExternalDataSources getExternalDataSources(int index)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Execution.ExternalDataSources

getExternalDataSourcesBuilder(int index)

public Execution.ExternalDataSources.Builder getExternalDataSourcesBuilder(int index)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Execution.ExternalDataSources.Builder

getExternalDataSourcesBuilderList()

public List<Execution.ExternalDataSources.Builder> getExternalDataSourcesBuilderList()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<Builder>

getExternalDataSourcesCount()

public int getExternalDataSourcesCount()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getExternalDataSourcesList()

public List<Execution.ExternalDataSources> getExternalDataSourcesList()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<ExternalDataSources>

getExternalDataSourcesOrBuilder(int index)

public Execution.ExternalDataSourcesOrBuilder getExternalDataSourcesOrBuilder(int index)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Execution.ExternalDataSourcesOrBuilder

getExternalDataSourcesOrBuilderList()

public List<? extends Execution.ExternalDataSourcesOrBuilder> getExternalDataSourcesOrBuilderList()

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.workloadmanager.v1.Execution.ExternalDataSourcesOrBuilder>

getInventoryTime()

public Timestamp getInventoryTime()

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The inventoryTime.

getInventoryTimeBuilder()

public Timestamp.Builder getInventoryTimeBuilder()

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getInventoryTimeOrBuilder()

public TimestampOrBuilder getInventoryTimeOrBuilder()

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getLabels() (deprecated)

public Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public int getLabelsCount()

Labels as key value pairs.

map<string, string> labels = 7;

Returns
Type Description
int

getLabelsMap()

public Map<String,String> getLabelsMap()

Labels as key value pairs.

map<string, string> labels = 7;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public String getLabelsOrDefault(String key, String defaultValue)

Labels as key value pairs.

map<string, string> labels = 7;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public String getLabelsOrThrow(String key)

Labels as key value pairs.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
String

getMutableLabels() (deprecated)

public Map<String,String> getMutableLabels()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getName()

public String getName()

The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getNotices(int index)

public Execution.Notice getNotices(int index)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Notice

getNoticesBuilder(int index)

public Execution.Notice.Builder getNoticesBuilder(int index)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Notice.Builder

getNoticesBuilderList()

public List<Execution.Notice.Builder> getNoticesBuilderList()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getNoticesCount()

public int getNoticesCount()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getNoticesList()

public List<Execution.Notice> getNoticesList()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Notice>

getNoticesOrBuilder(int index)

public Execution.NoticeOrBuilder getNoticesOrBuilder(int index)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.NoticeOrBuilder

getNoticesOrBuilderList()

public List<? extends Execution.NoticeOrBuilder> getNoticesOrBuilderList()

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.workloadmanager.v1.Execution.NoticeOrBuilder>

getResultSummary()

public Execution.Summary getResultSummary()

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Summary

The resultSummary.

getResultSummaryBuilder()

public Execution.Summary.Builder getResultSummaryBuilder()

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.Summary.Builder

getResultSummaryOrBuilder()

public Execution.SummaryOrBuilder getResultSummaryOrBuilder()

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.SummaryOrBuilder

getRuleResults(int index)

public RuleExecutionResult getRuleResults(int index)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RuleExecutionResult

getRuleResultsBuilder(int index)

public RuleExecutionResult.Builder getRuleResultsBuilder(int index)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RuleExecutionResult.Builder

getRuleResultsBuilderList()

public List<RuleExecutionResult.Builder> getRuleResultsBuilderList()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<Builder>

getRuleResultsCount()

public int getRuleResultsCount()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

getRuleResultsList()

public List<RuleExecutionResult> getRuleResultsList()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<RuleExecutionResult>

getRuleResultsOrBuilder(int index)

public RuleExecutionResultOrBuilder getRuleResultsOrBuilder(int index)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
RuleExecutionResultOrBuilder

getRuleResultsOrBuilderList()

public List<? extends RuleExecutionResultOrBuilder> getRuleResultsOrBuilderList()

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
List<? extends com.google.cloud.workloadmanager.v1.RuleExecutionResultOrBuilder>

getRunType()

public Execution.Type getRunType()

Type which represents whether the execution executed directly by user or scheduled according to the Evaluation.schedule field.

.google.cloud.workloadmanager.v1.Execution.Type run_type = 8;

Returns
Type Description
Execution.Type

The runType.

getRunTypeValue()

public int getRunTypeValue()

Type which represents whether the execution executed directly by user or scheduled according to the Evaluation.schedule field.

.google.cloud.workloadmanager.v1.Execution.Type run_type = 8;

Returns
Type Description
int

The enum numeric value on the wire for runType.

getStartTime()

public Timestamp getStartTime()

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getState()

public Execution.State getState()

Output only. [Output only] State.

.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Execution.State

The state.

getStateValue()

public int getStateValue()

Output only. [Output only] State.

.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasEndTime()

public boolean hasEndTime()

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the endTime field is set.

hasInventoryTime()

public boolean hasInventoryTime()

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the inventoryTime field is set.

hasResultSummary()

public boolean hasResultSummary()

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the resultSummary field is set.

hasStartTime()

public boolean hasStartTime()

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeEndTime(Timestamp value)

public Execution.Builder mergeEndTime(Timestamp value)

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeFrom(Execution other)

public Execution.Builder mergeFrom(Execution other)
Parameter
Name Description
other Execution
Returns
Type Description
Execution.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Execution.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public Execution.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
Execution.Builder
Overrides

mergeInventoryTime(Timestamp value)

public Execution.Builder mergeInventoryTime(Timestamp value)

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

mergeResultSummary(Execution.Summary value)

public Execution.Builder mergeResultSummary(Execution.Summary value)

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Execution.Summary
Returns
Type Description
Execution.Builder

mergeStartTime(Timestamp value)

public Execution.Builder mergeStartTime(Timestamp value)

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

putAllLabels(Map<String,String> values)

public Execution.Builder putAllLabels(Map<String,String> values)

Labels as key value pairs.

map<string, string> labels = 7;

Parameter
Name Description
values Map<String,String>
Returns
Type Description
Execution.Builder

putLabels(String key, String value)

public Execution.Builder putLabels(String key, String value)

Labels as key value pairs.

map<string, string> labels = 7;

Parameters
Name Description
key String
value String
Returns
Type Description
Execution.Builder

removeExternalDataSources(int index)

public Execution.Builder removeExternalDataSources(int index)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

removeLabels(String key)

public Execution.Builder removeLabels(String key)

Labels as key value pairs.

map<string, string> labels = 7;

Parameter
Name Description
key String
Returns
Type Description
Execution.Builder

removeNotices(int index)

public Execution.Builder removeNotices(int index)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

removeRuleResults(int index)

public Execution.Builder removeRuleResults(int index)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int
Returns
Type Description
Execution.Builder

setEndTime(Timestamp value)

public Execution.Builder setEndTime(Timestamp value)

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setEndTime(Timestamp.Builder builderForValue)

public Execution.Builder setEndTime(Timestamp.Builder builderForValue)

Output only. [Output only] End time stamp.

.google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setEngine(Execution.Engine value)

public Execution.Builder setEngine(Execution.Engine value)

Optional. Engine.

.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value Execution.Engine

The engine to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setEngineValue(int value)

public Execution.Builder setEngineValue(int value)

Optional. Engine.

.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The enum numeric value on the wire for engine to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setEvaluationId(String value)

public Execution.Builder setEvaluationId(String value)

Output only. [Output only] Evaluation ID.

string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The evaluationId to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setEvaluationIdBytes(ByteString value)

public Execution.Builder setEvaluationIdBytes(ByteString value)

Output only. [Output only] Evaluation ID.

string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for evaluationId to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setExternalDataSources(int index, Execution.ExternalDataSources value)

public Execution.Builder setExternalDataSources(int index, Execution.ExternalDataSources value)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
value Execution.ExternalDataSources
Returns
Type Description
Execution.Builder

setExternalDataSources(int index, Execution.ExternalDataSources.Builder builderForValue)

public Execution.Builder setExternalDataSources(int index, Execution.ExternalDataSources.Builder builderForValue)

Optional. External data sources.

repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int
builderForValue Execution.ExternalDataSources.Builder
Returns
Type Description
Execution.Builder

setInventoryTime(Timestamp value)

public Execution.Builder setInventoryTime(Timestamp value)

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setInventoryTime(Timestamp.Builder builderForValue)

public Execution.Builder setInventoryTime(Timestamp.Builder builderForValue)

Output only. [Output only] Inventory time stamp.

.google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setName(String value)

public Execution.Builder setName(String value)

The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.

string name = 1;

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Execution.Builder setNameBytes(ByteString value)

The name of execution resource. The format is projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.

string name = 1;

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setNotices(int index, Execution.Notice value)

public Execution.Builder setNotices(int index, Execution.Notice value)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value Execution.Notice
Returns
Type Description
Execution.Builder

setNotices(int index, Execution.Notice.Builder builderForValue)

public Execution.Builder setNotices(int index, Execution.Notice.Builder builderForValue)

Output only. Additional information generated by the execution.

repeated .google.cloud.workloadmanager.v1.Execution.Notice notices = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue Execution.Notice.Builder
Returns
Type Description
Execution.Builder

setResultSummary(Execution.Summary value)

public Execution.Builder setResultSummary(Execution.Summary value)

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Execution.Summary
Returns
Type Description
Execution.Builder

setResultSummary(Execution.Summary.Builder builderForValue)

public Execution.Builder setResultSummary(Execution.Summary.Builder builderForValue)

Output only. [Output only] Result summary for the execution.

.google.cloud.workloadmanager.v1.Execution.Summary result_summary = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Execution.Summary.Builder
Returns
Type Description
Execution.Builder

setRuleResults(int index, RuleExecutionResult value)

public Execution.Builder setRuleResults(int index, RuleExecutionResult value)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
value RuleExecutionResult
Returns
Type Description
Execution.Builder

setRuleResults(int index, RuleExecutionResult.Builder builderForValue)

public Execution.Builder setRuleResults(int index, RuleExecutionResult.Builder builderForValue)

Output only. Execution result summary per rule.

repeated .google.cloud.workloadmanager.v1.RuleExecutionResult rule_results = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameters
Name Description
index int
builderForValue RuleExecutionResult.Builder
Returns
Type Description
Execution.Builder

setRunType(Execution.Type value)

public Execution.Builder setRunType(Execution.Type value)

Type which represents whether the execution executed directly by user or scheduled according to the Evaluation.schedule field.

.google.cloud.workloadmanager.v1.Execution.Type run_type = 8;

Parameter
Name Description
value Execution.Type

The runType to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setRunTypeValue(int value)

public Execution.Builder setRunTypeValue(int value)

Type which represents whether the execution executed directly by user or scheduled according to the Evaluation.schedule field.

.google.cloud.workloadmanager.v1.Execution.Type run_type = 8;

Parameter
Name Description
value int

The enum numeric value on the wire for runType to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setStartTime(Timestamp value)

public Execution.Builder setStartTime(Timestamp value)

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Execution.Builder

setStartTime(Timestamp.Builder builderForValue)

public Execution.Builder setStartTime(Timestamp.Builder builderForValue)

Output only. [Output only] Start time stamp.

.google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Execution.Builder

setState(Execution.State value)

public Execution.Builder setState(Execution.State value)

Output only. [Output only] State.

.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Execution.State

The state to set.

Returns
Type Description
Execution.Builder

This builder for chaining.

setStateValue(int value)

public Execution.Builder setStateValue(int value)

Output only. [Output only] State.

.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The enum numeric value on the wire for state to set.

Returns
Type Description
Execution.Builder

This builder for chaining.