public final class ContainerSpec extends com.google.protobuf.GeneratedMessageV3 implements ContainerSpecOrBuilder
The spec of a Container.Protobuf type
google.cloud.aiplatform.v1.ContainerSpec| Modifier and Type | Class and Description |
|---|---|
static class |
ContainerSpec.Builder
The spec of a Container.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ARGS_FIELD_NUMBER |
static int |
COMMAND_FIELD_NUMBER |
static int |
ENV_FIELD_NUMBER |
static int |
IMAGE_URI_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getArgs(int index)
The arguments to be passed when starting the container.
|
com.google.protobuf.ByteString |
getArgsBytes(int index)
The arguments to be passed when starting the container.
|
int |
getArgsCount()
The arguments to be passed when starting the container.
|
com.google.protobuf.ProtocolStringList |
getArgsList()
The arguments to be passed when starting the container.
|
String |
getCommand(int index)
The command to be invoked when the container is started.
|
com.google.protobuf.ByteString |
getCommandBytes(int index)
The command to be invoked when the container is started.
|
int |
getCommandCount()
The command to be invoked when the container is started.
|
com.google.protobuf.ProtocolStringList |
getCommandList()
The command to be invoked when the container is started.
|
static ContainerSpec |
getDefaultInstance() |
ContainerSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
EnvVar |
getEnv(int index)
Environment variables to be passed to the container.
|
int |
getEnvCount()
Environment variables to be passed to the container.
|
List<EnvVar> |
getEnvList()
Environment variables to be passed to the container.
|
EnvVarOrBuilder |
getEnvOrBuilder(int index)
Environment variables to be passed to the container.
|
List<? extends EnvVarOrBuilder> |
getEnvOrBuilderList()
Environment variables to be passed to the container.
|
String |
getImageUri()
Required.
|
com.google.protobuf.ByteString |
getImageUriBytes()
Required.
|
com.google.protobuf.Parser<ContainerSpec> |
getParserForType() |
int |
getSerializedSize() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ContainerSpec.Builder |
newBuilder() |
static ContainerSpec.Builder |
newBuilder(ContainerSpec prototype) |
ContainerSpec.Builder |
newBuilderForType() |
protected ContainerSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ContainerSpec |
parseDelimitedFrom(InputStream input) |
static ContainerSpec |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContainerSpec |
parseFrom(byte[] data) |
static ContainerSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContainerSpec |
parseFrom(ByteBuffer data) |
static ContainerSpec |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContainerSpec |
parseFrom(com.google.protobuf.ByteString data) |
static ContainerSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContainerSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ContainerSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ContainerSpec |
parseFrom(InputStream input) |
static ContainerSpec |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ContainerSpec> |
parser() |
ContainerSpec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int IMAGE_URI_FIELD_NUMBER
public static final int COMMAND_FIELD_NUMBER
public static final int ARGS_FIELD_NUMBER
public static final int ENV_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getImageUri()
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
string image_uri = 1 [(.google.api.field_behavior) = REQUIRED];getImageUri in interface ContainerSpecOrBuilderpublic com.google.protobuf.ByteString getImageUriBytes()
Required. The URI of a container image in the Container Registry that is to be run on each worker replica.
string image_uri = 1 [(.google.api.field_behavior) = REQUIRED];getImageUriBytes in interface ContainerSpecOrBuilderpublic com.google.protobuf.ProtocolStringList getCommandList()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;getCommandList in interface ContainerSpecOrBuilderpublic int getCommandCount()
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;getCommandCount in interface ContainerSpecOrBuilderpublic String getCommand(int index)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;getCommand in interface ContainerSpecOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getCommandBytes(int index)
The command to be invoked when the container is started. It overrides the entrypoint instruction in Dockerfile when provided.
repeated string command = 2;getCommandBytes in interface ContainerSpecOrBuilderindex - The index of the value to return.public com.google.protobuf.ProtocolStringList getArgsList()
The arguments to be passed when starting the container.
repeated string args = 3;getArgsList in interface ContainerSpecOrBuilderpublic int getArgsCount()
The arguments to be passed when starting the container.
repeated string args = 3;getArgsCount in interface ContainerSpecOrBuilderpublic String getArgs(int index)
The arguments to be passed when starting the container.
repeated string args = 3;getArgs in interface ContainerSpecOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getArgsBytes(int index)
The arguments to be passed when starting the container.
repeated string args = 3;getArgsBytes in interface ContainerSpecOrBuilderindex - The index of the value to return.public List<EnvVar> getEnvList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;getEnvList in interface ContainerSpecOrBuilderpublic List<? extends EnvVarOrBuilder> getEnvOrBuilderList()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;getEnvOrBuilderList in interface ContainerSpecOrBuilderpublic int getEnvCount()
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;getEnvCount in interface ContainerSpecOrBuilderpublic EnvVar getEnv(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;getEnv in interface ContainerSpecOrBuilderpublic EnvVarOrBuilder getEnvOrBuilder(int index)
Environment variables to be passed to the container. Maximum limit is 100.
repeated .google.cloud.aiplatform.v1.EnvVar env = 4;getEnvOrBuilder in interface ContainerSpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ContainerSpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ContainerSpec parseFrom(InputStream input) throws IOException
IOExceptionpublic static ContainerSpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContainerSpec parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ContainerSpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ContainerSpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ContainerSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ContainerSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ContainerSpec.Builder newBuilder()
public static ContainerSpec.Builder newBuilder(ContainerSpec prototype)
public ContainerSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ContainerSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ContainerSpec getDefaultInstance()
public static com.google.protobuf.Parser<ContainerSpec> parser()
public com.google.protobuf.Parser<ContainerSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ContainerSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.