- 0.52.0 (latest)
- 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 RunJobRequest.Overrides.ContainerOverride.Builder extends GeneratedMessageV3.Builder<RunJobRequest.Overrides.ContainerOverride.Builder> implements RunJobRequest.Overrides.ContainerOverrideOrBuilder
Per-container override specification.
Protobuf type google.cloud.run.v2.RunJobRequest.Overrides.ContainerOverride
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RunJobRequest.Overrides.ContainerOverride.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllArgs(Iterable<String> values)
public RunJobRequest.Overrides.ContainerOverride.Builder addAllArgs(Iterable<String> values)
Optional. Arguments to the entrypoint. Will replace existing args for override.
repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
values |
Iterable<String> The args to add. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
addAllEnv(Iterable<? extends EnvVar> values)
public RunJobRequest.Overrides.ContainerOverride.Builder addAllEnv(Iterable<? extends EnvVar> values)
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 |
values |
Iterable<? extends com.google.cloud.run.v2.EnvVar> |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
addArgs(String value)
public RunJobRequest.Overrides.ContainerOverride.Builder addArgs(String value)
Optional. Arguments to the entrypoint. Will replace existing args for override.
repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
String The args to add. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
addArgsBytes(ByteString value)
public RunJobRequest.Overrides.ContainerOverride.Builder addArgsBytes(ByteString value)
Optional. Arguments to the entrypoint. Will replace existing args for override.
repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes of the args to add. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
addEnv(EnvVar value)
public RunJobRequest.Overrides.ContainerOverride.Builder addEnv(EnvVar value)
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 |
value |
EnvVar |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
addEnv(EnvVar.Builder builderForValue)
public RunJobRequest.Overrides.ContainerOverride.Builder addEnv(EnvVar.Builder builderForValue)
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 |
builderForValue |
EnvVar.Builder |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
addEnv(int index, EnvVar value)
public RunJobRequest.Overrides.ContainerOverride.Builder addEnv(int index, EnvVar value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EnvVar |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
addEnv(int index, EnvVar.Builder builderForValue)
public RunJobRequest.Overrides.ContainerOverride.Builder addEnv(int index, EnvVar.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EnvVar.Builder |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
addEnvBuilder()
public EnvVar.Builder addEnvBuilder()
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 |
EnvVar.Builder |
addEnvBuilder(int index)
public EnvVar.Builder addEnvBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RunJobRequest.Overrides.ContainerOverride.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
build()
public RunJobRequest.Overrides.ContainerOverride build()
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride |
buildPartial()
public RunJobRequest.Overrides.ContainerOverride buildPartial()
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride |
clear()
public RunJobRequest.Overrides.ContainerOverride.Builder clear()
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
clearArgs()
public RunJobRequest.Overrides.ContainerOverride.Builder clearArgs()
Optional. Arguments to the entrypoint. Will replace existing args for override.
repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
clearClearArgs()
public RunJobRequest.Overrides.ContainerOverride.Builder clearClearArgs()
Optional. True if the intention is to clear out existing args list.
bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
clearEnv()
public RunJobRequest.Overrides.ContainerOverride.Builder clearEnv()
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 |
RunJobRequest.Overrides.ContainerOverride.Builder |
clearField(Descriptors.FieldDescriptor field)
public RunJobRequest.Overrides.ContainerOverride.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
clearName()
public RunJobRequest.Overrides.ContainerOverride.Builder clearName()
The name of the container specified as a DNS_LABEL.
string name = 1;
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RunJobRequest.Overrides.ContainerOverride.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
clone()
public RunJobRequest.Overrides.ContainerOverride.Builder clone()
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
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 |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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 |
getEnvBuilder(int index)
public EnvVar.Builder getEnvBuilder(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.Builder |
getEnvBuilderList()
public List<EnvVar.Builder> getEnvBuilderList()
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<Builder> |
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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(RunJobRequest.Overrides.ContainerOverride other)
public RunJobRequest.Overrides.ContainerOverride.Builder mergeFrom(RunJobRequest.Overrides.ContainerOverride other)
Parameter | |
---|---|
Name | Description |
other |
RunJobRequest.Overrides.ContainerOverride |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RunJobRequest.Overrides.ContainerOverride.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public RunJobRequest.Overrides.ContainerOverride.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RunJobRequest.Overrides.ContainerOverride.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
removeEnv(int index)
public RunJobRequest.Overrides.ContainerOverride.Builder removeEnv(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 |
RunJobRequest.Overrides.ContainerOverride.Builder |
setArgs(int index, String value)
public RunJobRequest.Overrides.ContainerOverride.Builder setArgs(int index, String value)
Optional. Arguments to the entrypoint. Will replace existing args for override.
repeated string args = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameters | |
---|---|
Name | Description |
index |
int The index to set the value at. |
value |
String The args to set. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
setClearArgs(boolean value)
public RunJobRequest.Overrides.ContainerOverride.Builder setClearArgs(boolean value)
Optional. True if the intention is to clear out existing args list.
bool clear_args = 4 [(.google.api.field_behavior) = OPTIONAL];
Parameter | |
---|---|
Name | Description |
value |
boolean The clearArgs to set. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
setEnv(int index, EnvVar value)
public RunJobRequest.Overrides.ContainerOverride.Builder setEnv(int index, EnvVar value)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
EnvVar |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
setEnv(int index, EnvVar.Builder builderForValue)
public RunJobRequest.Overrides.ContainerOverride.Builder setEnv(int index, EnvVar.Builder builderForValue)
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
EnvVar.Builder |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RunJobRequest.Overrides.ContainerOverride.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
setName(String value)
public RunJobRequest.Overrides.ContainerOverride.Builder setName(String value)
The name of the container specified as a DNS_LABEL.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
String The name to set. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public RunJobRequest.Overrides.ContainerOverride.Builder setNameBytes(ByteString value)
The name of the container specified as a DNS_LABEL.
string name = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for name to set. |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RunJobRequest.Overrides.ContainerOverride.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final RunJobRequest.Overrides.ContainerOverride.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
RunJobRequest.Overrides.ContainerOverride.Builder |