Class ContainerInfo.Builder (2.52.0)

public static final class ContainerInfo.Builder extends GeneratedMessageV3.Builder<ContainerInfo.Builder> implements ContainerInfoOrBuilder

Docker image that is used to create a container and start a VM instance for the version that you deploy. Only applicable for instances running in the App Engine flexible environment.

Protobuf type google.appengine.v1.ContainerInfo

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerInfo.Builder
Overrides

build()

public ContainerInfo build()
Returns
Type Description
ContainerInfo

buildPartial()

public ContainerInfo buildPartial()
Returns
Type Description
ContainerInfo

clear()

public ContainerInfo.Builder clear()
Returns
Type Description
ContainerInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
ContainerInfo.Builder
Overrides

clearImage()

public ContainerInfo.Builder clearImage()

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

string image = 1;

Returns
Type Description
ContainerInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
ContainerInfo.Builder
Overrides

clone()

public ContainerInfo.Builder clone()
Returns
Type Description
ContainerInfo.Builder
Overrides

getDefaultInstanceForType()

public ContainerInfo getDefaultInstanceForType()
Returns
Type Description
ContainerInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getImage()

public String getImage()

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

string image = 1;

Returns
Type Description
String

The image.

getImageBytes()

public ByteString getImageBytes()

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

string image = 1;

Returns
Type Description
ByteString

The bytes for image.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ContainerInfo other)

public ContainerInfo.Builder mergeFrom(ContainerInfo other)
Parameter
Name Description
other ContainerInfo
Returns
Type Description
ContainerInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ContainerInfo.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public ContainerInfo.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
ContainerInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
ContainerInfo.Builder
Overrides

setImage(String value)

public ContainerInfo.Builder setImage(String value)

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

string image = 1;

Parameter
Name Description
value String

The image to set.

Returns
Type Description
ContainerInfo.Builder

This builder for chaining.

setImageBytes(ByteString value)

public ContainerInfo.Builder setImageBytes(ByteString value)

URI to the hosted container image in Google Container Registry. The URI must be fully qualified and include a tag or digest. Examples: "gcr.io/my-project/image:tag" or "gcr.io/my-project/image@digest"

string image = 1;

Parameter
Name Description
value ByteString

The bytes for image to set.

Returns
Type Description
ContainerInfo.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public ContainerInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
ContainerInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
ContainerInfo.Builder
Overrides