Class Execution (0.1.0)

public final class Execution extends GeneratedMessage implements ExecutionOrBuilder

Execution that represents a single run of an Evaluation.

Protobuf type google.cloud.workloadmanager.v1.Execution

Implements

ExecutionOrBuilder

Static Fields

END_TIME_FIELD_NUMBER

public static final int END_TIME_FIELD_NUMBER
Field Value
Type Description
int

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
Type Description
int

EVALUATION_ID_FIELD_NUMBER

public static final int EVALUATION_ID_FIELD_NUMBER
Field Value
Type Description
int

EXTERNAL_DATA_SOURCES_FIELD_NUMBER

public static final int EXTERNAL_DATA_SOURCES_FIELD_NUMBER
Field Value
Type Description
int

INVENTORY_TIME_FIELD_NUMBER

public static final int INVENTORY_TIME_FIELD_NUMBER
Field Value
Type Description
int

LABELS_FIELD_NUMBER

public static final int LABELS_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

NOTICES_FIELD_NUMBER

public static final int NOTICES_FIELD_NUMBER
Field Value
Type Description
int

RESULT_SUMMARY_FIELD_NUMBER

public static final int RESULT_SUMMARY_FIELD_NUMBER
Field Value
Type Description
int

RULE_RESULTS_FIELD_NUMBER

public static final int RULE_RESULTS_FIELD_NUMBER
Field Value
Type Description
int

RUN_TYPE_FIELD_NUMBER

public static final int RUN_TYPE_FIELD_NUMBER
Field Value
Type Description
int

START_TIME_FIELD_NUMBER

public static final int START_TIME_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Execution getDefaultInstance()
Returns
Type Description
Execution

getDescriptor()

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

newBuilder()

public static Execution.Builder newBuilder()
Returns
Type Description
Execution.Builder

newBuilder(Execution prototype)

public static Execution.Builder newBuilder(Execution prototype)
Parameter
Name Description
prototype Execution
Returns
Type Description
Execution.Builder

parseDelimitedFrom(InputStream input)

public static Execution parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Execution parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Execution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Execution parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Execution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Execution parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Execution parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Execution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Execution parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Execution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Execution
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Execution> parser()
Returns
Type Description
Parser<Execution>

Methods

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

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public Execution getDefaultInstanceForType()
Returns
Type Description
Execution

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.

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

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.

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

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

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>

getParserForType()

public Parser<Execution> getParserForType()
Returns
Type Description
Parser<Execution>
Overrides

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.

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

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

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.internalGetMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected Execution.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Execution.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException