Class ContainerImage (1.38.0)

public final class ContainerImage extends GeneratedMessageV3 implements ContainerImageOrBuilder

Definition of a container image for starting a notebook instance with the environment installed in a container.

Protobuf type google.cloud.notebooks.v1beta1.ContainerImage

Static Fields

REPOSITORY_FIELD_NUMBER

public static final int REPOSITORY_FIELD_NUMBER
Field Value
TypeDescription
int

TAG_FIELD_NUMBER

public static final int TAG_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ContainerImage getDefaultInstance()
Returns
TypeDescription
ContainerImage

getDescriptor()

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

newBuilder()

public static ContainerImage.Builder newBuilder()
Returns
TypeDescription
ContainerImage.Builder

newBuilder(ContainerImage prototype)

public static ContainerImage.Builder newBuilder(ContainerImage prototype)
Parameter
NameDescription
prototypeContainerImage
Returns
TypeDescription
ContainerImage.Builder

parseDelimitedFrom(InputStream input)

public static ContainerImage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ContainerImage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static ContainerImage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ContainerImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ContainerImage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ContainerImage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ContainerImage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ContainerImage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ContainerImage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ContainerImage> parser()
Returns
TypeDescription
Parser<ContainerImage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ContainerImage getDefaultInstanceForType()
Returns
TypeDescription
ContainerImage

getParserForType()

public Parser<ContainerImage> getParserForType()
Returns
TypeDescription
Parser<ContainerImage>
Overrides

getRepository()

public String getRepository()

Required. The path to the container image repository. For example: gcr.io/{project_id}/{image_name}

string repository = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The repository.

getRepositoryBytes()

public ByteString getRepositoryBytes()

Required. The path to the container image repository. For example: gcr.io/{project_id}/{image_name}

string repository = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for repository.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTag()

public String getTag()

The tag of the container image. If not specified, this defaults to the latest tag.

string tag = 2;

Returns
TypeDescription
String

The tag.

getTagBytes()

public ByteString getTagBytes()

The tag of the container image. If not specified, this defaults to the latest tag.

string tag = 2;

Returns
TypeDescription
ByteString

The bytes for tag.

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 ContainerImage.Builder newBuilderForType()
Returns
TypeDescription
ContainerImage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public ContainerImage.Builder toBuilder()
Returns
TypeDescription
ContainerImage.Builder

writeTo(CodedOutputStream output)

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