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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ContainerInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ContainerInfo build()
Returns
buildPartial()
public ContainerInfo buildPartial()
Returns
clear()
public ContainerInfo.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ContainerInfo.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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
clearOneof(Descriptors.OneofDescriptor oneof)
public ContainerInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public ContainerInfo.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ContainerInfo getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ContainerInfo other)
public ContainerInfo.Builder mergeFrom(ContainerInfo other)
Parameter
Returns
public ContainerInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ContainerInfo.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ContainerInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public ContainerInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ContainerInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ContainerInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides