public static final class ContainerStatus.Builder extends GeneratedMessage.Builder<ContainerStatus.Builder> implements ContainerStatusOrBuilderContainerStatus holds the information of container name and image digest value.
Protobuf type google.cloud.run.v2.ContainerStatus
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ContainerStatus.BuilderImplements
ContainerStatusOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ContainerStatus build()| Returns | |
|---|---|
| Type | Description |
ContainerStatus |
|
buildPartial()
public ContainerStatus buildPartial()| Returns | |
|---|---|
| Type | Description |
ContainerStatus |
|
clear()
public ContainerStatus.Builder clear()| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
clearImageDigest()
public ContainerStatus.Builder clearImageDigest()ImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
string image_digest = 2;
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |
clearName()
public ContainerStatus.Builder clearName()The name of the container, if specified.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public ContainerStatus getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ContainerStatus |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getImageDigest()
public String getImageDigest()ImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
string image_digest = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The imageDigest. |
getImageDigestBytes()
public ByteString getImageDigestBytes()ImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
string image_digest = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for imageDigest. |
getName()
public String getName()The name of the container, if specified.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public ByteString getNameBytes()The name of the container, if specified.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ContainerStatus other)
public ContainerStatus.Builder mergeFrom(ContainerStatus other)| Parameter | |
|---|---|
| Name | Description |
other |
ContainerStatus |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ContainerStatus.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ContainerStatus.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
|
setImageDigest(String value)
public ContainerStatus.Builder setImageDigest(String value)ImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
string image_digest = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe imageDigest to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |
setImageDigestBytes(ByteString value)
public ContainerStatus.Builder setImageDigestBytes(ByteString value)ImageDigest holds the resolved digest for the image specified and resolved during the creation of Revision. This field holds the digest value regardless of whether a tag or digest was originally specified in the Container object.
string image_digest = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for imageDigest to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |
setName(String value)
public ContainerStatus.Builder setName(String value)The name of the container, if specified.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe name to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |
setNameBytes(ByteString value)
public ContainerStatus.Builder setNameBytes(ByteString value)The name of the container, if specified.
string name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for name to set. |
| Returns | |
|---|---|
| Type | Description |
ContainerStatus.Builder |
This builder for chaining. |