- 0.55.0 (latest)
- 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 TaskTemplate.Builder extends GeneratedMessageV3.Builder<TaskTemplate.Builder> implements TaskTemplateOrBuilder
TaskTemplate describes the data a task should have when created from a template.
Protobuf type google.cloud.run.v2.TaskTemplate
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > TaskTemplate.BuilderImplements
TaskTemplateOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addAllContainers(Iterable<? extends Container> values)
public TaskTemplate.Builder addAllContainers(Iterable<? extends Container> values)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.Container> |
Type | Description |
TaskTemplate.Builder |
addAllVolumes(Iterable<? extends Volume> values)
public TaskTemplate.Builder addAllVolumes(Iterable<? extends Volume> values)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
values | Iterable<? extends com.google.cloud.run.v2.Volume> |
Type | Description |
TaskTemplate.Builder |
addContainers(Container value)
public TaskTemplate.Builder addContainers(Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
value | Container |
Type | Description |
TaskTemplate.Builder |
addContainers(Container.Builder builderForValue)
public TaskTemplate.Builder addContainers(Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
builderForValue | Container.Builder |
Type | Description |
TaskTemplate.Builder |
addContainers(int index, Container value)
public TaskTemplate.Builder addContainers(int index, Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
value | Container |
Type | Description |
TaskTemplate.Builder |
addContainers(int index, Container.Builder builderForValue)
public TaskTemplate.Builder addContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
builderForValue | Container.Builder |
Type | Description |
TaskTemplate.Builder |
addContainersBuilder()
public Container.Builder addContainersBuilder()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
Container.Builder |
addContainersBuilder(int index)
public Container.Builder addContainersBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
Type | Description |
Container.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TaskTemplate.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TaskTemplate.Builder |
addVolumes(Volume value)
public TaskTemplate.Builder addVolumes(Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
value | Volume |
Type | Description |
TaskTemplate.Builder |
addVolumes(Volume.Builder builderForValue)
public TaskTemplate.Builder addVolumes(Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
builderForValue | Volume.Builder |
Type | Description |
TaskTemplate.Builder |
addVolumes(int index, Volume value)
public TaskTemplate.Builder addVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
value | Volume |
Type | Description |
TaskTemplate.Builder |
addVolumes(int index, Volume.Builder builderForValue)
public TaskTemplate.Builder addVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
TaskTemplate.Builder |
addVolumesBuilder()
public Volume.Builder addVolumesBuilder()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
Volume.Builder |
addVolumesBuilder(int index)
public Volume.Builder addVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
build()
public TaskTemplate build()
Type | Description |
TaskTemplate |
buildPartial()
public TaskTemplate buildPartial()
Type | Description |
TaskTemplate |
clear()
public TaskTemplate.Builder clear()
Type | Description |
TaskTemplate.Builder |
clearContainers()
public TaskTemplate.Builder clearContainers()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
TaskTemplate.Builder |
clearEncryptionKey()
public TaskTemplate.Builder clearEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 7 [(.google.api.resource_reference) = { ... }
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
clearExecutionEnvironment()
public TaskTemplate.Builder clearExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public TaskTemplate.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
TaskTemplate.Builder |
clearMaxRetries()
public TaskTemplate.Builder clearMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 3;
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public TaskTemplate.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
TaskTemplate.Builder |
clearRetries()
public TaskTemplate.Builder clearRetries()
Type | Description |
TaskTemplate.Builder |
clearServiceAccount()
public TaskTemplate.Builder clearServiceAccount()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 5;
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
clearTimeout()
public TaskTemplate.Builder clearTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Type | Description |
TaskTemplate.Builder |
clearVolumes()
public TaskTemplate.Builder clearVolumes()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
TaskTemplate.Builder |
clearVpcAccess()
public TaskTemplate.Builder clearVpcAccess()
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Type | Description |
TaskTemplate.Builder |
clone()
public TaskTemplate.Builder clone()
Type | Description |
TaskTemplate.Builder |
getContainers(int index)
public Container getContainers(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
Type | Description |
Container |
getContainersBuilder(int index)
public Container.Builder getContainersBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
Type | Description |
Container.Builder |
getContainersBuilderList()
public List<Container.Builder> getContainersBuilderList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
List<Builder> |
getContainersCount()
public int getContainersCount()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
int |
getContainersList()
public List<Container> getContainersList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
List<Container> |
getContainersOrBuilder(int index)
public ContainerOrBuilder getContainersOrBuilder(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
Type | Description |
ContainerOrBuilder |
getContainersOrBuilderList()
public List<? extends ContainerOrBuilder> getContainersOrBuilderList()
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Type | Description |
List<? extends com.google.cloud.run.v2.ContainerOrBuilder> |
getDefaultInstanceForType()
public TaskTemplate getDefaultInstanceForType()
Type | Description |
TaskTemplate |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEncryptionKey()
public String getEncryptionKey()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 7 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The encryptionKey. |
getEncryptionKeyBytes()
public ByteString getEncryptionKeyBytes()
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 7 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for encryptionKey. |
getExecutionEnvironment()
public ExecutionEnvironment getExecutionEnvironment()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
Type | Description |
ExecutionEnvironment | The executionEnvironment. |
getExecutionEnvironmentValue()
public int getExecutionEnvironmentValue()
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
Type | Description |
int | The enum numeric value on the wire for executionEnvironment. |
getMaxRetries()
public int getMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 3;
Type | Description |
int | The maxRetries. |
getRetriesCase()
public TaskTemplate.RetriesCase getRetriesCase()
Type | Description |
TaskTemplate.RetriesCase |
getServiceAccount()
public String getServiceAccount()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 5;
Type | Description |
String | The serviceAccount. |
getServiceAccountBytes()
public ByteString getServiceAccountBytes()
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 5;
Type | Description |
ByteString | The bytes for serviceAccount. |
getTimeout()
public Duration getTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Type | Description |
Duration | The timeout. |
getTimeoutBuilder()
public Duration.Builder getTimeoutBuilder()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Type | Description |
Builder |
getTimeoutOrBuilder()
public DurationOrBuilder getTimeoutOrBuilder()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Type | Description |
DurationOrBuilder |
getVolumes(int index)
public Volume getVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
Type | Description |
Volume |
getVolumesBuilder(int index)
public Volume.Builder getVolumesBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
Type | Description |
Volume.Builder |
getVolumesBuilderList()
public List<Volume.Builder> getVolumesBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
List<Builder> |
getVolumesCount()
public int getVolumesCount()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
int |
getVolumesList()
public List<Volume> getVolumesList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
List<Volume> |
getVolumesOrBuilder(int index)
public VolumeOrBuilder getVolumesOrBuilder(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
Type | Description |
VolumeOrBuilder |
getVolumesOrBuilderList()
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Type | Description |
List<? extends com.google.cloud.run.v2.VolumeOrBuilder> |
getVpcAccess()
public VpcAccess getVpcAccess()
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Type | Description |
VpcAccess | The vpcAccess. |
getVpcAccessBuilder()
public VpcAccess.Builder getVpcAccessBuilder()
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Type | Description |
VpcAccess.Builder |
getVpcAccessOrBuilder()
public VpcAccessOrBuilder getVpcAccessOrBuilder()
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Type | Description |
VpcAccessOrBuilder |
hasMaxRetries()
public boolean hasMaxRetries()
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 3;
Type | Description |
boolean | Whether the maxRetries field is set. |
hasTimeout()
public boolean hasTimeout()
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Type | Description |
boolean | Whether the timeout field is set. |
hasVpcAccess()
public boolean hasVpcAccess()
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Type | Description |
boolean | Whether the vpcAccess field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(TaskTemplate other)
public TaskTemplate.Builder mergeFrom(TaskTemplate other)
Name | Description |
other | TaskTemplate |
Type | Description |
TaskTemplate.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public TaskTemplate.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TaskTemplate.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public TaskTemplate.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
TaskTemplate.Builder |
mergeTimeout(Duration value)
public TaskTemplate.Builder mergeTimeout(Duration value)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Name | Description |
value | Duration |
Type | Description |
TaskTemplate.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TaskTemplate.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TaskTemplate.Builder |
mergeVpcAccess(VpcAccess value)
public TaskTemplate.Builder mergeVpcAccess(VpcAccess value)
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Name | Description |
value | VpcAccess |
Type | Description |
TaskTemplate.Builder |
removeContainers(int index)
public TaskTemplate.Builder removeContainers(int index)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
Type | Description |
TaskTemplate.Builder |
removeVolumes(int index)
public TaskTemplate.Builder removeVolumes(int index)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
Type | Description |
TaskTemplate.Builder |
setContainers(int index, Container value)
public TaskTemplate.Builder setContainers(int index, Container value)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
value | Container |
Type | Description |
TaskTemplate.Builder |
setContainers(int index, Container.Builder builderForValue)
public TaskTemplate.Builder setContainers(int index, Container.Builder builderForValue)
Holds the single container that defines the unit of execution for this task.
repeated .google.cloud.run.v2.Container containers = 1;
Name | Description |
index | int |
builderForValue | Container.Builder |
Type | Description |
TaskTemplate.Builder |
setEncryptionKey(String value)
public TaskTemplate.Builder setEncryptionKey(String value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 7 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The encryptionKey to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setEncryptionKeyBytes(ByteString value)
public TaskTemplate.Builder setEncryptionKeyBytes(ByteString value)
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
string encryption_key = 7 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for encryptionKey to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setExecutionEnvironment(ExecutionEnvironment value)
public TaskTemplate.Builder setExecutionEnvironment(ExecutionEnvironment value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
Name | Description |
value | ExecutionEnvironment The executionEnvironment to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setExecutionEnvironmentValue(int value)
public TaskTemplate.Builder setExecutionEnvironmentValue(int value)
The execution environment being used to host this Task.
.google.cloud.run.v2.ExecutionEnvironment execution_environment = 6;
Name | Description |
value | int The enum numeric value on the wire for executionEnvironment to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public TaskTemplate.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
TaskTemplate.Builder |
setMaxRetries(int value)
public TaskTemplate.Builder setMaxRetries(int value)
Number of retries allowed per Task, before marking this Task failed.
int32 max_retries = 3;
Name | Description |
value | int The maxRetries to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TaskTemplate.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
TaskTemplate.Builder |
setServiceAccount(String value)
public TaskTemplate.Builder setServiceAccount(String value)
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 5;
Name | Description |
value | String The serviceAccount to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setServiceAccountBytes(ByteString value)
public TaskTemplate.Builder setServiceAccountBytes(ByteString value)
Email address of the IAM service account associated with the Task of a Job. The service account represents the identity of the running task, and determines what permissions the task has. If not provided, the task will use the project's default service account.
string service_account = 5;
Name | Description |
value | ByteString The bytes for serviceAccount to set. |
Type | Description |
TaskTemplate.Builder | This builder for chaining. |
setTimeout(Duration value)
public TaskTemplate.Builder setTimeout(Duration value)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Name | Description |
value | Duration |
Type | Description |
TaskTemplate.Builder |
setTimeout(Duration.Builder builderForValue)
public TaskTemplate.Builder setTimeout(Duration.Builder builderForValue)
Max allowed time duration the Task may be active before the system will actively try to mark it failed and kill associated containers. This applies per attempt of a task, meaning each retry can run for the full timeout.
.google.protobuf.Duration timeout = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
TaskTemplate.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final TaskTemplate.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
TaskTemplate.Builder |
setVolumes(int index, Volume value)
public TaskTemplate.Builder setVolumes(int index, Volume value)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
value | Volume |
Type | Description |
TaskTemplate.Builder |
setVolumes(int index, Volume.Builder builderForValue)
public TaskTemplate.Builder setVolumes(int index, Volume.Builder builderForValue)
A list of Volumes to make available to containers.
repeated .google.cloud.run.v2.Volume volumes = 2;
Name | Description |
index | int |
builderForValue | Volume.Builder |
Type | Description |
TaskTemplate.Builder |
setVpcAccess(VpcAccess value)
public TaskTemplate.Builder setVpcAccess(VpcAccess value)
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Name | Description |
value | VpcAccess |
Type | Description |
TaskTemplate.Builder |
setVpcAccess(VpcAccess.Builder builderForValue)
public TaskTemplate.Builder setVpcAccess(VpcAccess.Builder builderForValue)
VPC Access configuration to use for this Task. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.
.google.cloud.run.v2.VpcAccess vpc_access = 8;
Name | Description |
builderForValue | VpcAccess.Builder |
Type | Description |
TaskTemplate.Builder |