Class ContainerInfo.Builder (2.37.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public ContainerInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
ContainerInfo.Builder
Overrides

build()

public ContainerInfo build()
Returns
TypeDescription
ContainerInfo

buildPartial()

public ContainerInfo buildPartial()
Returns
TypeDescription
ContainerInfo

clear()

public ContainerInfo.Builder clear()
Returns
TypeDescription
ContainerInfo.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public ContainerInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
ContainerInfo.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public ContainerInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ContainerInfo.Builder
Overrides

clone()

public ContainerInfo.Builder clone()
Returns
TypeDescription
ContainerInfo.Builder
Overrides

getDefaultInstanceForType()

public ContainerInfo getDefaultInstanceForType()
Returns
TypeDescription
ContainerInfo

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for image.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ContainerInfo other)

public ContainerInfo.Builder mergeFrom(ContainerInfo other)
Parameter
NameDescription
otherContainerInfo
Returns
TypeDescription
ContainerInfo.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public ContainerInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ContainerInfo.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public ContainerInfo.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ContainerInfo.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ContainerInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerInfo.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public ContainerInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The image to set.

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

The bytes for image to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ContainerInfo.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final ContainerInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
ContainerInfo.Builder
Overrides