Class Execution

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.workloadmanager.v1.Execution
All Implemented Interfaces:
ExecutionOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class Execution extends com.google.protobuf.GeneratedMessage implements ExecutionOrBuilder
 Execution that represents a single run of an Evaluation.
 
Protobuf type google.cloud.workloadmanager.v1.Execution
See Also:
  • Field Details

    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      See Also:
    • START_TIME_FIELD_NUMBER

      public static final int START_TIME_FIELD_NUMBER
      See Also:
    • END_TIME_FIELD_NUMBER

      public static final int END_TIME_FIELD_NUMBER
      See Also:
    • INVENTORY_TIME_FIELD_NUMBER

      public static final int INVENTORY_TIME_FIELD_NUMBER
      See Also:
    • STATE_FIELD_NUMBER

      public static final int STATE_FIELD_NUMBER
      See Also:
    • EVALUATION_ID_FIELD_NUMBER

      public static final int EVALUATION_ID_FIELD_NUMBER
      See Also:
    • LABELS_FIELD_NUMBER

      public static final int LABELS_FIELD_NUMBER
      See Also:
    • RUN_TYPE_FIELD_NUMBER

      public static final int RUN_TYPE_FIELD_NUMBER
      See Also:
    • RULE_RESULTS_FIELD_NUMBER

      public static final int RULE_RESULTS_FIELD_NUMBER
      See Also:
    • EXTERNAL_DATA_SOURCES_FIELD_NUMBER

      public static final int EXTERNAL_DATA_SOURCES_FIELD_NUMBER
      See Also:
    • NOTICES_FIELD_NUMBER

      public static final int NOTICES_FIELD_NUMBER
      See Also:
    • ENGINE_FIELD_NUMBER

      public static final int ENGINE_FIELD_NUMBER
      See Also:
    • RESULT_SUMMARY_FIELD_NUMBER

      public static final int RESULT_SUMMARY_FIELD_NUMBER
      See Also:
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetMapFieldReflection

      protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
      Overrides:
      internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessage
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getName

      public String getName()
       The name of execution resource. The format is
       projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.
       
      string name = 1;
      Specified by:
      getName in interface ExecutionOrBuilder
      Returns:
      The name.
    • getNameBytes

      public com.google.protobuf.ByteString getNameBytes()
       The name of execution resource. The format is
       projects/{project}/locations/{location}/evaluations/{evaluation}/executions/{execution}.
       
      string name = 1;
      Specified by:
      getNameBytes in interface ExecutionOrBuilder
      Returns:
      The bytes for name.
    • hasStartTime

      public boolean hasStartTime()
       Output only. [Output only] Start time stamp.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStartTime in interface ExecutionOrBuilder
      Returns:
      Whether the startTime field is set.
    • getStartTime

      public com.google.protobuf.Timestamp getStartTime()
       Output only. [Output only] Start time stamp.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTime in interface ExecutionOrBuilder
      Returns:
      The startTime.
    • getStartTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
       Output only. [Output only] Start time stamp.
       
      .google.protobuf.Timestamp start_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStartTimeOrBuilder in interface ExecutionOrBuilder
    • hasEndTime

      public boolean hasEndTime()
       Output only. [Output only] End time stamp.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasEndTime in interface ExecutionOrBuilder
      Returns:
      Whether the endTime field is set.
    • getEndTime

      public com.google.protobuf.Timestamp getEndTime()
       Output only. [Output only] End time stamp.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTime in interface ExecutionOrBuilder
      Returns:
      The endTime.
    • getEndTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()
       Output only. [Output only] End time stamp.
       
      .google.protobuf.Timestamp end_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEndTimeOrBuilder in interface ExecutionOrBuilder
    • hasInventoryTime

      public boolean hasInventoryTime()
       Output only. [Output only] Inventory time stamp.
       
      .google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasInventoryTime in interface ExecutionOrBuilder
      Returns:
      Whether the inventoryTime field is set.
    • getInventoryTime

      public com.google.protobuf.Timestamp getInventoryTime()
       Output only. [Output only] Inventory time stamp.
       
      .google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInventoryTime in interface ExecutionOrBuilder
      Returns:
      The inventoryTime.
    • getInventoryTimeOrBuilder

      public com.google.protobuf.TimestampOrBuilder getInventoryTimeOrBuilder()
       Output only. [Output only] Inventory time stamp.
       
      .google.protobuf.Timestamp inventory_time = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getInventoryTimeOrBuilder in interface ExecutionOrBuilder
    • getStateValue

      public int getStateValue()
       Output only. [Output only] State.
       
      .google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateValue in interface ExecutionOrBuilder
      Returns:
      The enum numeric value on the wire for state.
    • getState

      public Execution.State getState()
       Output only. [Output only] State.
       
      .google.cloud.workloadmanager.v1.Execution.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getState in interface ExecutionOrBuilder
      Returns:
      The state.
    • getEvaluationId

      public String getEvaluationId()
       Output only. [Output only] Evaluation ID.
       
      string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluationId in interface ExecutionOrBuilder
      Returns:
      The evaluationId.
    • getEvaluationIdBytes

      public com.google.protobuf.ByteString getEvaluationIdBytes()
       Output only. [Output only] Evaluation ID.
       
      string evaluation_id = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEvaluationIdBytes in interface ExecutionOrBuilder
      Returns:
      The bytes for evaluationId.
    • getLabelsCount

      public int getLabelsCount()
      Description copied from interface: ExecutionOrBuilder
       Labels as key value pairs.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsCount in interface ExecutionOrBuilder
    • containsLabels

      public boolean containsLabels(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 7;
      Specified by:
      containsLabels in interface ExecutionOrBuilder
    • getLabels

      @Deprecated public Map<String,String> getLabels()
      Deprecated.
      Use getLabelsMap() instead.
      Specified by:
      getLabels in interface ExecutionOrBuilder
    • getLabelsMap

      public Map<String,String> getLabelsMap()
       Labels as key value pairs.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsMap in interface ExecutionOrBuilder
    • getLabelsOrDefault

      public String getLabelsOrDefault(String key, String defaultValue)
       Labels as key value pairs.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrDefault in interface ExecutionOrBuilder
    • getLabelsOrThrow

      public String getLabelsOrThrow(String key)
       Labels as key value pairs.
       
      map<string, string> labels = 7;
      Specified by:
      getLabelsOrThrow in interface ExecutionOrBuilder
    • 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;
      Specified by:
      getRunTypeValue in interface ExecutionOrBuilder
      Returns:
      The enum numeric value on the wire for runType.
    • 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;
      Specified by:
      getRunType in interface ExecutionOrBuilder
      Returns:
      The runType.
    • 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];
      Specified by:
      getRuleResultsList in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getRuleResultsOrBuilderList in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getRuleResultsCount in interface ExecutionOrBuilder
    • getRuleResults

      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];
      Specified by:
      getRuleResults in interface ExecutionOrBuilder
    • getRuleResultsOrBuilder

      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];
      Specified by:
      getRuleResultsOrBuilder in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getExternalDataSourcesList in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getExternalDataSourcesOrBuilderList in interface ExecutionOrBuilder
    • getExternalDataSourcesCount

      public int getExternalDataSourcesCount()
       Optional. External data sources.
       
      repeated .google.cloud.workloadmanager.v1.Execution.ExternalDataSources external_data_sources = 10 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getExternalDataSourcesCount in interface ExecutionOrBuilder
    • getExternalDataSources

      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];
      Specified by:
      getExternalDataSources in interface ExecutionOrBuilder
    • getExternalDataSourcesOrBuilder

      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];
      Specified by:
      getExternalDataSourcesOrBuilder in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getNoticesList in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getNoticesOrBuilderList in interface ExecutionOrBuilder
    • 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];
      Specified by:
      getNoticesCount in interface ExecutionOrBuilder
    • getNotices

      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];
      Specified by:
      getNotices in interface ExecutionOrBuilder
    • getNoticesOrBuilder

      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];
      Specified by:
      getNoticesOrBuilder in interface ExecutionOrBuilder
    • getEngineValue

      public int getEngineValue()
       Optional. Engine.
       
      .google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEngineValue in interface ExecutionOrBuilder
      Returns:
      The enum numeric value on the wire for engine.
    • getEngine

      public Execution.Engine getEngine()
       Optional. Engine.
       
      .google.cloud.workloadmanager.v1.Execution.Engine engine = 12 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getEngine in interface ExecutionOrBuilder
      Returns:
      The engine.
    • 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];
      Specified by:
      hasResultSummary in interface ExecutionOrBuilder
      Returns:
      Whether the resultSummary field is set.
    • 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];
      Specified by:
      getResultSummary in interface ExecutionOrBuilder
      Returns:
      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];
      Specified by:
      getResultSummaryOrBuilder in interface ExecutionOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Execution parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Execution parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Execution parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Execution parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Execution parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Execution parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Execution parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Execution.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Execution.Builder newBuilder()
    • newBuilder

      public static Execution.Builder newBuilder(Execution prototype)
    • toBuilder

      public Execution.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Execution.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static Execution getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Execution> parser()
    • getParserForType

      public com.google.protobuf.Parser<Execution> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public Execution getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder