Class RunJobRequest.Overrides.ContainerOverride (0.43.0)

public static final class RunJobRequest.Overrides.ContainerOverride extends GeneratedMessageV3 implements RunJobRequest.Overrides.ContainerOverrideOrBuilder

Per-container override specification.

Protobuf type google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RunJobRequest.Overrides.ContainerOverride

Static Fields

ARGS_FIELD_NUMBER

public static final int ARGS_FIELD_NUMBER
Field Value
Type Description
int

CLEAR_ARGS_FIELD_NUMBER

public static final int CLEAR_ARGS_FIELD_NUMBER
Field Value
Type Description
int

ENV_FIELD_NUMBER

public static final int ENV_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RunJobRequest.Overrides.ContainerOverride getDefaultInstance()
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RunJobRequest.Overrides.ContainerOverride.Builder newBuilder()
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride.Builder

newBuilder(RunJobRequest.Overrides.ContainerOverride prototype)

public static RunJobRequest.Overrides.ContainerOverride.Builder newBuilder(RunJobRequest.Overrides.ContainerOverride prototype)
Parameter
Name Description
prototype RunJobRequest.Overrides.ContainerOverride
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride.Builder

parseDelimitedFrom(InputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RunJobRequest.Overrides.ContainerOverride> parser()
Returns
Type Description
Parser<ContainerOverride>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getArgs(int index)

public String getArgs(int index)

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The args at the given index.

getArgsBytes(int index)

public ByteString getArgsBytes(int index)

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the args at the given index.

getArgsCount()

public int getArgsCount()

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of args.

getArgsList()

public ProtocolStringList getArgsList()

Optional. Arguments to the entrypoint. Will replace existing args for override.

repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the args.

getClearArgs()

public boolean getClearArgs()

Optional. True if the intention is to clear out existing args list.

bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The clearArgs.

getDefaultInstanceForType()

public RunJobRequest.Overrides.ContainerOverride getDefaultInstanceForType()
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride

getEnv(int index)

public EnvVar getEnv(int index)

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Parameter
Name Description
index int
Returns
Type Description
EnvVar

getEnvCount()

public int getEnvCount()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
Type Description
int

getEnvList()

public List<EnvVar> getEnvList()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
Type Description
List<EnvVar>

getEnvOrBuilder(int index)

public EnvVarOrBuilder getEnvOrBuilder(int index)

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Parameter
Name Description
index int
Returns
Type Description
EnvVarOrBuilder

getEnvOrBuilderList()

public List<? extends EnvVarOrBuilder> getEnvOrBuilderList()

List of environment variables to set in the container. Will be merged with existing env for override.

repeated .google.cloud.run.v2.EnvVar env = 3;

Returns
Type Description
List<? extends com.google.cloud.run.v2.EnvVarOrBuilder>

getName()

public String getName()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<RunJobRequest.Overrides.ContainerOverride> getParserForType()
Returns
Type Description
Parser<ContainerOverride>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RunJobRequest.Overrides.ContainerOverride.Builder newBuilderForType()
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunJobRequest.Overrides.ContainerOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RunJobRequest.Overrides.ContainerOverride.Builder toBuilder()
Returns
Type Description
RunJobRequest.Overrides.ContainerOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException