Package com.google.cloud.run.v2
Class Execution.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
- com.google.cloud.run.v2.Execution.Builder
-
- All Implemented Interfaces:
ExecutionOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Execution
public static final class Execution.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder> implements ExecutionOrBuilder
Execution represents the configuration of a single execution. A execution an immutable resource that references a container image which is run to completion.
Protobuf typegoogle.cloud.run.v2.Execution
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Execution.Builder
addAllConditions(Iterable<? extends Condition> values)
Output only.Execution.Builder
addConditions(int index, Condition value)
Output only.Execution.Builder
addConditions(int index, Condition.Builder builderForValue)
Output only.Execution.Builder
addConditions(Condition value)
Output only.Execution.Builder
addConditions(Condition.Builder builderForValue)
Output only.Condition.Builder
addConditionsBuilder()
Output only.Condition.Builder
addConditionsBuilder(int index)
Output only.Execution.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution
build()
Execution
buildPartial()
Execution.Builder
clear()
Execution.Builder
clearAnnotations()
Execution.Builder
clearCancelledCount()
Output only.Execution.Builder
clearCompletionTime()
Output only.Execution.Builder
clearConditions()
Output only.Execution.Builder
clearCreateTime()
Output only.Execution.Builder
clearDeleteTime()
Output only.Execution.Builder
clearEtag()
Output only.Execution.Builder
clearExpireTime()
Output only.Execution.Builder
clearFailedCount()
Output only.Execution.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Execution.Builder
clearGeneration()
Output only.Execution.Builder
clearJob()
Output only.Execution.Builder
clearLabels()
Execution.Builder
clearLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Execution.Builder
clearLogUri()
Output only.Execution.Builder
clearName()
Output only.Execution.Builder
clearObservedGeneration()
Output only.Execution.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
Execution.Builder
clearParallelism()
Output only.Execution.Builder
clearReconciling()
Output only.Execution.Builder
clearRetriedCount()
Output only.Execution.Builder
clearRunningCount()
Output only.Execution.Builder
clearSatisfiesPzs()
Output only.Execution.Builder
clearStartTime()
Output only.Execution.Builder
clearSucceededCount()
Output only.Execution.Builder
clearTaskCount()
Output only.Execution.Builder
clearTemplate()
Output only.Execution.Builder
clearUid()
Output only.Execution.Builder
clearUpdateTime()
Output only.Execution.Builder
clone()
boolean
containsAnnotations(String key)
Output only.boolean
containsLabels(String key)
Output only.Map<String,String>
getAnnotations()
Deprecated.int
getAnnotationsCount()
Output only.Map<String,String>
getAnnotationsMap()
Output only.String
getAnnotationsOrDefault(String key, String defaultValue)
Output only.String
getAnnotationsOrThrow(String key)
Output only.int
getCancelledCount()
Output only.com.google.protobuf.Timestamp
getCompletionTime()
Output only.com.google.protobuf.Timestamp.Builder
getCompletionTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCompletionTimeOrBuilder()
Output only.Condition
getConditions(int index)
Output only.Condition.Builder
getConditionsBuilder(int index)
Output only.List<Condition.Builder>
getConditionsBuilderList()
Output only.int
getConditionsCount()
Output only.List<Condition>
getConditionsList()
Output only.ConditionOrBuilder
getConditionsOrBuilder(int index)
Output only.List<? extends ConditionOrBuilder>
getConditionsOrBuilderList()
Output only.com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.Timestamp.Builder
getCreateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.Execution
getDefaultInstanceForType()
com.google.protobuf.Timestamp
getDeleteTime()
Output only.com.google.protobuf.Timestamp.Builder
getDeleteTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getDeleteTimeOrBuilder()
Output only.static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getEtag()
Output only.com.google.protobuf.ByteString
getEtagBytes()
Output only.com.google.protobuf.Timestamp
getExpireTime()
Output only.com.google.protobuf.Timestamp.Builder
getExpireTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getExpireTimeOrBuilder()
Output only.int
getFailedCount()
Output only.long
getGeneration()
Output only.String
getJob()
Output only.com.google.protobuf.ByteString
getJobBytes()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Output only.Map<String,String>
getLabelsMap()
Output only.String
getLabelsOrDefault(String key, String defaultValue)
Output only.String
getLabelsOrThrow(String key)
Output only.com.google.api.LaunchStage
getLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).int
getLaunchStageValue()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).String
getLogUri()
Output only.com.google.protobuf.ByteString
getLogUriBytes()
Output only.Map<String,String>
getMutableAnnotations()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Output only.com.google.protobuf.ByteString
getNameBytes()
Output only.long
getObservedGeneration()
Output only.int
getParallelism()
Output only.boolean
getReconciling()
Output only.int
getRetriedCount()
Output only.int
getRunningCount()
Output only.boolean
getSatisfiesPzs()
Output only.com.google.protobuf.Timestamp
getStartTime()
Output only.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
Output only.int
getSucceededCount()
Output only.int
getTaskCount()
Output only.TaskTemplate
getTemplate()
Output only.TaskTemplate.Builder
getTemplateBuilder()
Output only.TaskTemplateOrBuilder
getTemplateOrBuilder()
Output only.String
getUid()
Output only.com.google.protobuf.ByteString
getUidBytes()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.boolean
hasCompletionTime()
Output only.boolean
hasCreateTime()
Output only.boolean
hasDeleteTime()
Output only.boolean
hasExpireTime()
Output only.boolean
hasStartTime()
Output only.boolean
hasTemplate()
Output only.boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
Execution.Builder
mergeCompletionTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeExpireTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeFrom(Execution other)
Execution.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Execution.Builder
mergeFrom(com.google.protobuf.Message other)
Execution.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
mergeTemplate(TaskTemplate value)
Output only.Execution.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Execution.Builder
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
putAllAnnotations(Map<String,String> values)
Output only.Execution.Builder
putAllLabels(Map<String,String> values)
Output only.Execution.Builder
putAnnotations(String key, String value)
Output only.Execution.Builder
putLabels(String key, String value)
Output only.Execution.Builder
removeAnnotations(String key)
Output only.Execution.Builder
removeConditions(int index)
Output only.Execution.Builder
removeLabels(String key)
Output only.Execution.Builder
setCancelledCount(int value)
Output only.Execution.Builder
setCompletionTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setConditions(int index, Condition value)
Output only.Execution.Builder
setConditions(int index, Condition.Builder builderForValue)
Output only.Execution.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setDeleteTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setEtag(String value)
Output only.Execution.Builder
setEtagBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setExpireTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setFailedCount(int value)
Output only.Execution.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Execution.Builder
setGeneration(long value)
Output only.Execution.Builder
setJob(String value)
Output only.Execution.Builder
setJobBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setLaunchStage(com.google.api.LaunchStage value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Execution.Builder
setLaunchStageValue(int value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages).Execution.Builder
setLogUri(String value)
Output only.Execution.Builder
setLogUriBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setName(String value)
Output only.Execution.Builder
setNameBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setObservedGeneration(long value)
Output only.Execution.Builder
setParallelism(int value)
Output only.Execution.Builder
setReconciling(boolean value)
Output only.Execution.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
Execution.Builder
setRetriedCount(int value)
Output only.Execution.Builder
setRunningCount(int value)
Output only.Execution.Builder
setSatisfiesPzs(boolean value)
Output only.Execution.Builder
setStartTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Execution.Builder
setSucceededCount(int value)
Output only.Execution.Builder
setTaskCount(int value)
Output only.Execution.Builder
setTemplate(TaskTemplate value)
Output only.Execution.Builder
setTemplate(TaskTemplate.Builder builderForValue)
Output only.Execution.Builder
setUid(String value)
Output only.Execution.Builder
setUidBytes(com.google.protobuf.ByteString value)
Output only.Execution.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Execution.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Execution.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clear
public Execution.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
getDefaultInstanceForType
public Execution getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Execution build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Execution buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Execution.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setField
public Execution.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearField
public Execution.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
clearOneof
public Execution.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
setRepeatedField
public Execution.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
addRepeatedField
public Execution.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(Execution other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeFrom
public Execution.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Execution.Builder>
- Throws:
IOException
-
getName
public String getName()
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getName
in interfaceExecutionOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNameBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for name.
-
setName
public Execution.Builder setName(String value)
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Execution.Builder clearName()
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setNameBytes
public Execution.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. The unique name of this Execution.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUid
public String getUid()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUid
in interfaceExecutionOrBuilder
- Returns:
- The uid.
-
getUidBytes
public com.google.protobuf.ByteString getUidBytes()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUidBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for uid.
-
setUid
public Execution.Builder setUid(String value)
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The uid to set.- Returns:
- This builder for chaining.
-
clearUid
public Execution.Builder clearUid()
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setUidBytes
public Execution.Builder setUidBytes(com.google.protobuf.ByteString value)
Output only. Server assigned unique identifier for the Execution. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
string uid = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for uid to set.- Returns:
- This builder for chaining.
-
getGeneration
public long getGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getGeneration
in interfaceExecutionOrBuilder
- Returns:
- The generation.
-
setGeneration
public Execution.Builder setGeneration(long value)
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The generation to set.- Returns:
- This builder for chaining.
-
clearGeneration
public Execution.Builder clearGeneration()
Output only. A number that monotonically increases every time the user modifies the desired state.
int64 generation = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:ExecutionOrBuilder
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsCount
in interfaceExecutionOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsLabels
in interfaceExecutionOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceExecutionOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsMap
in interfaceExecutionOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrDefault
in interfaceExecutionOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLabelsOrThrow
in interfaceExecutionOrBuilder
-
clearLabels
public Execution.Builder clearLabels()
-
removeLabels
public Execution.Builder removeLabels(String key)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Execution.Builder putLabels(String key, String value)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllLabels
public Execution.Builder putAllLabels(Map<String,String> values)
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels
map<string, string> labels = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getAnnotationsCount
public int getAnnotationsCount()
Description copied from interface:ExecutionOrBuilder
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsCount
in interfaceExecutionOrBuilder
-
containsAnnotations
public boolean containsAnnotations(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
containsAnnotations
in interfaceExecutionOrBuilder
-
getAnnotations
@Deprecated public Map<String,String> getAnnotations()
Deprecated.UsegetAnnotationsMap()
instead.- Specified by:
getAnnotations
in interfaceExecutionOrBuilder
-
getAnnotationsMap
public Map<String,String> getAnnotationsMap()
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsMap
in interfaceExecutionOrBuilder
-
getAnnotationsOrDefault
public String getAnnotationsOrDefault(String key, String defaultValue)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsOrDefault
in interfaceExecutionOrBuilder
-
getAnnotationsOrThrow
public String getAnnotationsOrThrow(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getAnnotationsOrThrow
in interfaceExecutionOrBuilder
-
clearAnnotations
public Execution.Builder clearAnnotations()
-
removeAnnotations
public Execution.Builder removeAnnotations(String key)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getMutableAnnotations
@Deprecated public Map<String,String> getMutableAnnotations()
Deprecated.Use alternate mutation accessors instead.
-
putAnnotations
public Execution.Builder putAnnotations(String key, String value)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
putAllAnnotations
public Execution.Builder putAllAnnotations(Map<String,String> values)
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
map<string, string> annotations = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
hasCreateTime
public boolean hasCreateTime()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceExecutionOrBuilder
- Returns:
- The createTime.
-
setCreateTime
public Execution.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCreateTime
public Execution.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCreateTime
public Execution.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCreateTime
public Execution.Builder clearCreateTime()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Represents time when the execution was acknowledged by the execution controller. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp create_time = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasStartTime
public boolean hasStartTime()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasStartTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartTime
in interfaceExecutionOrBuilder
- Returns:
- The startTime.
-
setStartTime
public Execution.Builder setStartTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setStartTime
public Execution.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeStartTime
public Execution.Builder mergeStartTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearStartTime
public Execution.Builder clearStartTime()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()
Output only. Represents time when the execution started to run. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp start_time = 22 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStartTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasCompletionTime
public boolean hasCompletionTime()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCompletionTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the completionTime field is set.
-
getCompletionTime
public com.google.protobuf.Timestamp getCompletionTime()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCompletionTime
in interfaceExecutionOrBuilder
- Returns:
- The completionTime.
-
setCompletionTime
public Execution.Builder setCompletionTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setCompletionTime
public Execution.Builder setCompletionTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeCompletionTime
public Execution.Builder mergeCompletionTime(com.google.protobuf.Timestamp value)
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearCompletionTime
public Execution.Builder clearCompletionTime()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCompletionTimeBuilder
public com.google.protobuf.Timestamp.Builder getCompletionTimeBuilder()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCompletionTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCompletionTimeOrBuilder()
Output only. Represents time when the execution was completed. It is not guaranteed to be set in happens-before order across separate operations.
.google.protobuf.Timestamp completion_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCompletionTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceExecutionOrBuilder
- Returns:
- The updateTime.
-
setUpdateTime
public Execution.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setUpdateTime
public Execution.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeUpdateTime
public Execution.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearUpdateTime
public Execution.Builder clearUpdateTime()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. The last-modified time.
.google.protobuf.Timestamp update_time = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasDeleteTime
public boolean hasDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasDeleteTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the deleteTime field is set.
-
getDeleteTime
public com.google.protobuf.Timestamp getDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTime
in interfaceExecutionOrBuilder
- Returns:
- The deleteTime.
-
setDeleteTime
public Execution.Builder setDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setDeleteTime
public Execution.Builder setDeleteTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeDeleteTime
public Execution.Builder mergeDeleteTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearDeleteTime
public Execution.Builder clearDeleteTime()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeBuilder
public com.google.protobuf.Timestamp.Builder getDeleteTimeBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getDeleteTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDeleteTimeOrBuilder()
Output only. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp delete_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getDeleteTimeOrBuilder
in interfaceExecutionOrBuilder
-
hasExpireTime
public boolean hasExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasExpireTime
in interfaceExecutionOrBuilder
- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.Timestamp getExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTime
in interfaceExecutionOrBuilder
- Returns:
- The expireTime.
-
setExpireTime
public Execution.Builder setExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setExpireTime
public Execution.Builder setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeExpireTime
public Execution.Builder mergeExpireTime(com.google.protobuf.Timestamp value)
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearExpireTime
public Execution.Builder clearExpireTime()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeBuilder
public com.google.protobuf.Timestamp.Builder getExpireTimeBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getExpireTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getExpireTimeOrBuilder()
Output only. For a deleted resource, the time after which it will be permamently deleted. It is only populated as a response to a Delete request.
.google.protobuf.Timestamp expire_time = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getExpireTimeOrBuilder
in interfaceExecutionOrBuilder
-
getLaunchStageValue
public int getLaunchStageValue()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;
- Specified by:
getLaunchStageValue
in interfaceExecutionOrBuilder
- Returns:
- The enum numeric value on the wire for launchStage.
-
setLaunchStageValue
public Execution.Builder setLaunchStageValue(int value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;
- Parameters:
value
- The enum numeric value on the wire for launchStage to set.- Returns:
- This builder for chaining.
-
getLaunchStage
public com.google.api.LaunchStage getLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;
- Specified by:
getLaunchStage
in interfaceExecutionOrBuilder
- Returns:
- The launchStage.
-
setLaunchStage
public Execution.Builder setLaunchStage(com.google.api.LaunchStage value)
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;
- Parameters:
value
- The launchStage to set.- Returns:
- This builder for chaining.
-
clearLaunchStage
public Execution.Builder clearLaunchStage()
The least stable launch stage needed to create this resource, as defined by [Google Cloud Platform Launch Stages](https://cloud.google.com/terms/launch-stages). Cloud Run supports `ALPHA`, `BETA`, and `GA`. <p>Note that this value might not be what was used as input. For example, if ALPHA was provided as input in the parent resource, but only BETA and GA-level features are were, this field will be BETA.
.google.api.LaunchStage launch_stage = 11;
- Returns:
- This builder for chaining.
-
getJob
public String getJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getJob
in interfaceExecutionOrBuilder
- Returns:
- The job.
-
getJobBytes
public com.google.protobuf.ByteString getJobBytes()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Specified by:
getJobBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for job.
-
setJob
public Execution.Builder setJob(String value)
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The job to set.- Returns:
- This builder for chaining.
-
clearJob
public Execution.Builder clearJob()
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Returns:
- This builder for chaining.
-
setJobBytes
public Execution.Builder setJobBytes(com.google.protobuf.ByteString value)
Output only. The name of the parent Job.
string job = 12 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
- Parameters:
value
- The bytes for job to set.- Returns:
- This builder for chaining.
-
getParallelism
public int getParallelism()
Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.
int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getParallelism
in interfaceExecutionOrBuilder
- Returns:
- The parallelism.
-
setParallelism
public Execution.Builder setParallelism(int value)
Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.
int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The parallelism to set.- Returns:
- This builder for chaining.
-
clearParallelism
public Execution.Builder clearParallelism()
Output only. Specifies the maximum desired number of tasks the execution should run at any given time. Must be <= task_count. The actual number of tasks running in steady state will be less than this number when ((.spec.task_count - .status.successful) < .spec.parallelism), i.e. when the work left to do is less than max parallelism.
int32 parallelism = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getTaskCount
public int getTaskCount()
Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.
int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTaskCount
in interfaceExecutionOrBuilder
- Returns:
- The taskCount.
-
setTaskCount
public Execution.Builder setTaskCount(int value)
Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.
int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The taskCount to set.- Returns:
- This builder for chaining.
-
clearTaskCount
public Execution.Builder clearTaskCount()
Output only. Specifies the desired number of tasks the execution should run. Setting to 1 means that parallelism is limited to 1 and the success of that task signals the success of the execution.
int32 task_count = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
hasTemplate
public boolean hasTemplate()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasTemplate
in interfaceExecutionOrBuilder
- Returns:
- Whether the template field is set.
-
getTemplate
public TaskTemplate getTemplate()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTemplate
in interfaceExecutionOrBuilder
- Returns:
- The template.
-
setTemplate
public Execution.Builder setTemplate(TaskTemplate value)
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setTemplate
public Execution.Builder setTemplate(TaskTemplate.Builder builderForValue)
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
mergeTemplate
public Execution.Builder mergeTemplate(TaskTemplate value)
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearTemplate
public Execution.Builder clearTemplate()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTemplateBuilder
public TaskTemplate.Builder getTemplateBuilder()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getTemplateOrBuilder
public TaskTemplateOrBuilder getTemplateOrBuilder()
Output only. The template used to create tasks for this execution.
.google.cloud.run.v2.TaskTemplate template = 15 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getTemplateOrBuilder
in interfaceExecutionOrBuilder
-
getReconciling
public boolean getReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getReconciling
in interfaceExecutionOrBuilder
- Returns:
- The reconciling.
-
setReconciling
public Execution.Builder setReconciling(boolean value)
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The reconciling to set.- Returns:
- This builder for chaining.
-
clearReconciling
public Execution.Builder clearReconciling()
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in `Job.reconciling` for additional information on reconciliation process in Cloud Run.
bool reconciling = 16 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getConditionsList
public List<Condition> getConditionsList()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsList
in interfaceExecutionOrBuilder
-
getConditionsCount
public int getConditionsCount()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsCount
in interfaceExecutionOrBuilder
-
getConditions
public Condition getConditions(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditions
in interfaceExecutionOrBuilder
-
setConditions
public Execution.Builder setConditions(int index, Condition value)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setConditions
public Execution.Builder setConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Execution.Builder addConditions(Condition value)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Execution.Builder addConditions(int index, Condition value)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Execution.Builder addConditions(Condition.Builder builderForValue)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditions
public Execution.Builder addConditions(int index, Condition.Builder builderForValue)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllConditions
public Execution.Builder addAllConditions(Iterable<? extends Condition> values)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearConditions
public Execution.Builder clearConditions()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeConditions
public Execution.Builder removeConditions(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilder
public Condition.Builder getConditionsBuilder(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsOrBuilder
public ConditionOrBuilder getConditionsOrBuilder(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilder
in interfaceExecutionOrBuilder
-
getConditionsOrBuilderList
public List<? extends ConditionOrBuilder> getConditionsOrBuilderList()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getConditionsOrBuilderList
in interfaceExecutionOrBuilder
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addConditionsBuilder
public Condition.Builder addConditionsBuilder(int index)
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getConditionsBuilderList
public List<Condition.Builder> getConditionsBuilderList()
Output only. The Condition of this Execution, containing its readiness status, and detailed error information in case it did not reach the desired state.
repeated .google.cloud.run.v2.Condition conditions = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getObservedGeneration
public long getObservedGeneration()
Output only. The generation of this Execution. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getObservedGeneration
in interfaceExecutionOrBuilder
- Returns:
- The observedGeneration.
-
setObservedGeneration
public Execution.Builder setObservedGeneration(long value)
Output only. The generation of this Execution. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The observedGeneration to set.- Returns:
- This builder for chaining.
-
clearObservedGeneration
public Execution.Builder clearObservedGeneration()
Output only. The generation of this Execution. See comments in `reconciling` for additional information on reconciliation process in Cloud Run.
int64 observed_generation = 18 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getRunningCount
public int getRunningCount()
Output only. The number of actively running tasks.
int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRunningCount
in interfaceExecutionOrBuilder
- Returns:
- The runningCount.
-
setRunningCount
public Execution.Builder setRunningCount(int value)
Output only. The number of actively running tasks.
int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The runningCount to set.- Returns:
- This builder for chaining.
-
clearRunningCount
public Execution.Builder clearRunningCount()
Output only. The number of actively running tasks.
int32 running_count = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getSucceededCount
public int getSucceededCount()
Output only. The number of tasks which reached phase Succeeded.
int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSucceededCount
in interfaceExecutionOrBuilder
- Returns:
- The succeededCount.
-
setSucceededCount
public Execution.Builder setSucceededCount(int value)
Output only. The number of tasks which reached phase Succeeded.
int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The succeededCount to set.- Returns:
- This builder for chaining.
-
clearSucceededCount
public Execution.Builder clearSucceededCount()
Output only. The number of tasks which reached phase Succeeded.
int32 succeeded_count = 20 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getFailedCount
public int getFailedCount()
Output only. The number of tasks which reached phase Failed.
int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFailedCount
in interfaceExecutionOrBuilder
- Returns:
- The failedCount.
-
setFailedCount
public Execution.Builder setFailedCount(int value)
Output only. The number of tasks which reached phase Failed.
int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The failedCount to set.- Returns:
- This builder for chaining.
-
clearFailedCount
public Execution.Builder clearFailedCount()
Output only. The number of tasks which reached phase Failed.
int32 failed_count = 21 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getCancelledCount
public int getCancelledCount()
Output only. The number of tasks which reached phase Cancelled.
int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCancelledCount
in interfaceExecutionOrBuilder
- Returns:
- The cancelledCount.
-
setCancelledCount
public Execution.Builder setCancelledCount(int value)
Output only. The number of tasks which reached phase Cancelled.
int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The cancelledCount to set.- Returns:
- This builder for chaining.
-
clearCancelledCount
public Execution.Builder clearCancelledCount()
Output only. The number of tasks which reached phase Cancelled.
int32 cancelled_count = 24 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getRetriedCount
public int getRetriedCount()
Output only. The number of tasks which have retried at least once.
int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getRetriedCount
in interfaceExecutionOrBuilder
- Returns:
- The retriedCount.
-
setRetriedCount
public Execution.Builder setRetriedCount(int value)
Output only. The number of tasks which have retried at least once.
int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The retriedCount to set.- Returns:
- This builder for chaining.
-
clearRetriedCount
public Execution.Builder clearRetriedCount()
Output only. The number of tasks which have retried at least once.
int32 retried_count = 25 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getLogUri
public String getLogUri()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogUri
in interfaceExecutionOrBuilder
- Returns:
- The logUri.
-
getLogUriBytes
public com.google.protobuf.ByteString getLogUriBytes()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLogUriBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for logUri.
-
setLogUri
public Execution.Builder setLogUri(String value)
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The logUri to set.- Returns:
- This builder for chaining.
-
clearLogUri
public Execution.Builder clearLogUri()
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setLogUriBytes
public Execution.Builder setLogUriBytes(com.google.protobuf.ByteString value)
Output only. URI where logs for this execution can be found in Cloud Console.
string log_uri = 26 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for logUri to set.- Returns:
- This builder for chaining.
-
getSatisfiesPzs
public boolean getSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getSatisfiesPzs
in interfaceExecutionOrBuilder
- Returns:
- The satisfiesPzs.
-
setSatisfiesPzs
public Execution.Builder setSatisfiesPzs(boolean value)
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The satisfiesPzs to set.- Returns:
- This builder for chaining.
-
clearSatisfiesPzs
public Execution.Builder clearSatisfiesPzs()
Output only. Reserved for future use.
bool satisfies_pzs = 27 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
getEtag
public String getEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtag
in interfaceExecutionOrBuilder
- Returns:
- The etag.
-
getEtagBytes
public com.google.protobuf.ByteString getEtagBytes()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getEtagBytes
in interfaceExecutionOrBuilder
- Returns:
- The bytes for etag.
-
setEtag
public Execution.Builder setEtag(String value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The etag to set.- Returns:
- This builder for chaining.
-
clearEtag
public Execution.Builder clearEtag()
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setEtagBytes
public Execution.Builder setEtagBytes(com.google.protobuf.ByteString value)
Output only. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
string etag = 99 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for etag to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Execution.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
mergeUnknownFields
public final Execution.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Execution.Builder>
-
-