Class RunJobRequest.Overrides.ContainerOverride (0.33.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
TypeDescription
int

CLEAR_ARGS_FIELD_NUMBER

public static final int CLEAR_ARGS_FIELD_NUMBER
Field Value
TypeDescription
int

ENV_FIELD_NUMBER

public static final int ENV_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RunJobRequest.Overrides.ContainerOverride getDefaultInstance()
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RunJobRequest.Overrides.ContainerOverride.Builder newBuilder()
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride.Builder

newBuilder(RunJobRequest.Overrides.ContainerOverride prototype)

public static RunJobRequest.Overrides.ContainerOverride.Builder newBuilder(RunJobRequest.Overrides.ContainerOverride prototype)
Parameter
NameDescription
prototypeRunJobRequest.Overrides.ContainerOverride
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride.Builder

parseDelimitedFrom(InputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RunJobRequest.Overrides.ContainerOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
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
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

The clearArgs.

getDefaultInstanceForType()

public RunJobRequest.Overrides.ContainerOverride getDefaultInstanceForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

The name of the container specified as a DNS_LABEL.

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RunJobRequest.Overrides.ContainerOverride.Builder newBuilderForType()
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RunJobRequest.Overrides.ContainerOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RunJobRequest.Overrides.ContainerOverride.Builder toBuilder()
Returns
TypeDescription
RunJobRequest.Overrides.ContainerOverride.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException