- 0.60.0 (latest)
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public static final class ExecutionTemplate.Builder extends GeneratedMessageV3.Builder<ExecutionTemplate.Builder> implements ExecutionTemplateOrBuilder
ExecutionTemplate describes the data an execution should have when created from a template.
Protobuf type google.cloud.run.v2.ExecutionTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ExecutionTemplate.BuilderImplements
ExecutionTemplateOrBuilderInherited Members
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
build()
public ExecutionTemplate build()
Type | Description |
ExecutionTemplate |
buildPartial()
public ExecutionTemplate buildPartial()
Type | Description |
ExecutionTemplate |
clear()
public ExecutionTemplate.Builder clear()
Type | Description |
ExecutionTemplate.Builder |
clearAnnotations()
public ExecutionTemplate.Builder clearAnnotations()
Type | Description |
ExecutionTemplate.Builder |
clearField(Descriptors.FieldDescriptor field)
public ExecutionTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
ExecutionTemplate.Builder |
clearLabels()
public ExecutionTemplate.Builder clearLabels()
Type | Description |
ExecutionTemplate.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ExecutionTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
ExecutionTemplate.Builder |
clearParallelism()
public ExecutionTemplate.Builder clearParallelism()
Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
int32 parallelism = 3;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearTaskCount()
public ExecutionTemplate.Builder clearTaskCount()
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. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
int32 task_count = 4;
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
clearTemplate()
public ExecutionTemplate.Builder clearTemplate()
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ExecutionTemplate.Builder |
clone()
public ExecutionTemplate.Builder clone()
Type | Description |
ExecutionTemplate.Builder |
containsAnnotations(String key)
public boolean containsAnnotations(String key)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Name | Description |
key | String |
Type | Description |
boolean |
containsLabels(String key)
public boolean containsLabels(String key)
KRM-style labels for the resource.
map<string, string> labels = 1;
Name | Description |
key | String |
Type | Description |
boolean |
getAnnotations()
public Map<String,String> getAnnotations()
Use #getAnnotationsMap() instead.
getAnnotationsCount()
public int getAnnotationsCount()
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Type | Description |
int |
getAnnotationsMap()
public Map<String,String> getAnnotationsMap()
KRM-style annotations for the resource.
map<string, string> annotations = 2;
getAnnotationsOrDefault(String key, String defaultValue)
public String getAnnotationsOrDefault(String key, String defaultValue)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Type | Description |
String |
getAnnotationsOrThrow(String key)
public String getAnnotationsOrThrow(String key)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Name | Description |
key | String |
Type | Description |
String |
getDefaultInstanceForType()
public ExecutionTemplate getDefaultInstanceForType()
Type | Description |
ExecutionTemplate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
getLabelsCount()
public int getLabelsCount()
KRM-style labels for the resource.
map<string, string> labels = 1;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
KRM-style labels for the resource.
map<string, string> labels = 1;
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
KRM-style labels for the resource.
map<string, string> labels = 1;
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
KRM-style labels for the resource.
map<string, string> labels = 1;
Name | Description |
key | String |
Type | Description |
String |
getMutableAnnotations()
public Map<String,String> getMutableAnnotations()
Use alternate mutation accessors instead.
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
getParallelism()
public int getParallelism()
Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
int32 parallelism = 3;
Type | Description |
int | The parallelism. |
getTaskCount()
public int getTaskCount()
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. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
int32 task_count = 4;
Type | Description |
int | The taskCount. |
getTemplate()
public TaskTemplate getTemplate()
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TaskTemplate | The template. |
getTemplateBuilder()
public TaskTemplate.Builder getTemplateBuilder()
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TaskTemplate.Builder |
getTemplateOrBuilder()
public TaskTemplateOrBuilder getTemplateOrBuilder()
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
TaskTemplateOrBuilder |
hasTemplate()
public boolean hasTemplate()
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
boolean | Whether the template field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(ExecutionTemplate other)
public ExecutionTemplate.Builder mergeFrom(ExecutionTemplate other)
Name | Description |
other | ExecutionTemplate |
Type | Description |
ExecutionTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ExecutionTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ExecutionTemplate.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public ExecutionTemplate.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
ExecutionTemplate.Builder |
mergeTemplate(TaskTemplate value)
public ExecutionTemplate.Builder mergeTemplate(TaskTemplate value)
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | TaskTemplate |
Type | Description |
ExecutionTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExecutionTemplate.Builder |
putAllAnnotations(Map<String,String> values)
public ExecutionTemplate.Builder putAllAnnotations(Map<String,String> values)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Type | Description |
ExecutionTemplate.Builder |
putAllLabels(Map<String,String> values)
public ExecutionTemplate.Builder putAllLabels(Map<String,String> values)
KRM-style labels for the resource.
map<string, string> labels = 1;
Type | Description |
ExecutionTemplate.Builder |
putAnnotations(String key, String value)
public ExecutionTemplate.Builder putAnnotations(String key, String value)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Type | Description |
ExecutionTemplate.Builder |
putLabels(String key, String value)
public ExecutionTemplate.Builder putLabels(String key, String value)
KRM-style labels for the resource.
map<string, string> labels = 1;
Type | Description |
ExecutionTemplate.Builder |
removeAnnotations(String key)
public ExecutionTemplate.Builder removeAnnotations(String key)
KRM-style annotations for the resource.
map<string, string> annotations = 2;
Name | Description |
key | String |
Type | Description |
ExecutionTemplate.Builder |
removeLabels(String key)
public ExecutionTemplate.Builder removeLabels(String key)
KRM-style labels for the resource.
map<string, string> labels = 1;
Name | Description |
key | String |
Type | Description |
ExecutionTemplate.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public ExecutionTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
setParallelism(int value)
public ExecutionTemplate.Builder setParallelism(int value)
Specifies the maximum desired number of tasks the execution should run at given time. Must be <= task_count. When the job is run, if this field is 0 or unset, the maximum possible value will be used for that execution. The actual number of tasks running in steady state will be less than this number when there are fewer tasks waiting to be completed remaining, i.e. when the work left to do is less than max parallelism.
int32 parallelism = 3;
Name | Description |
value | int The parallelism to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ExecutionTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
ExecutionTemplate.Builder |
setTaskCount(int value)
public ExecutionTemplate.Builder setTaskCount(int value)
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. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/
int32 task_count = 4;
Name | Description |
value | int The taskCount to set. |
Type | Description |
ExecutionTemplate.Builder | This builder for chaining. |
setTemplate(TaskTemplate value)
public ExecutionTemplate.Builder setTemplate(TaskTemplate value)
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | TaskTemplate |
Type | Description |
ExecutionTemplate.Builder |
setTemplate(TaskTemplate.Builder builderForValue)
public ExecutionTemplate.Builder setTemplate(TaskTemplate.Builder builderForValue)
Required. Describes the task(s) that will be created when executing an execution.
.google.cloud.run.v2.TaskTemplate template = 5 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
builderForValue | TaskTemplate.Builder |
Type | Description |
ExecutionTemplate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final ExecutionTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
ExecutionTemplate.Builder |