public final class Execution extends GeneratedMessage implements ExecutionOrBuilder
Execution that represents a single run of an Evaluation.
Protobuf type google.cloud.workloadmanager.v1.Execution
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Execution.Builder newBuilder()
newBuilder(Execution prototype)
public static Execution.Builder newBuilder(Execution prototype)
| Parameter |
| Name |
Description |
prototype |
Execution
|
public static Execution parseDelimitedFrom(InputStream input)
public static Execution parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Execution parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Execution parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(CodedInputStream input)
public static Execution parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(InputStream input)
public static Execution parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Execution parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Execution parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Execution> parser()
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;
| Parameter |
| Name |
Description |
key |
String
|
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Execution getDefaultInstanceForType()
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];
getEngine()
public Execution.Engine getEngine()
Optional. Engine.
.google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];
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
|
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];
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
|
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];
getLabels() (deprecated)
public Map<String,String> getLabels()
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;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;
| 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()
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
|
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];
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
|
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()
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];
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];
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
|
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];
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
|
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;
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];
getState()
public Execution.State getState()
Output only. [Output only] State.
.google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
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()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
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()
Overrides
newBuilderForType()
public Execution.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Execution.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Execution.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides