Class CustomImageInfo.Builder (2.102.0)

public static final class CustomImageInfo.Builder extends GeneratedMessage.Builder<CustomImageInfo.Builder> implements CustomImageInfoOrBuilder

Contains the custom image info for a node pool.

Protobuf type google.container.v1.CustomImageInfo

Static Methods

getDescriptor()

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

Methods

build()

public CustomImageInfo build()
Returns
Type Description
CustomImageInfo

buildPartial()

public CustomImageInfo buildPartial()
Returns
Type Description
CustomImageInfo

clear()

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

clearUpgradeMessage()

public CustomImageInfo.Builder clearUpgradeMessage()

Output only. The human-readable upgrade message for the custom image.

string upgrade_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
CustomImageInfo.Builder

This builder for chaining.

getDefaultInstanceForType()

public CustomImageInfo getDefaultInstanceForType()
Returns
Type Description
CustomImageInfo

getDescriptorForType()

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

getUpgradeMessage()

public String getUpgradeMessage()

Output only. The human-readable upgrade message for the custom image.

string upgrade_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The upgradeMessage.

getUpgradeMessageBytes()

public ByteString getUpgradeMessageBytes()

Output only. The human-readable upgrade message for the custom image.

string upgrade_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for upgradeMessage.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CustomImageInfo other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setUpgradeMessage(String value)

public CustomImageInfo.Builder setUpgradeMessage(String value)

Output only. The human-readable upgrade message for the custom image.

string upgrade_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The upgradeMessage to set.

Returns
Type Description
CustomImageInfo.Builder

This builder for chaining.

setUpgradeMessageBytes(ByteString value)

public CustomImageInfo.Builder setUpgradeMessageBytes(ByteString value)

Output only. The human-readable upgrade message for the custom image.

string upgrade_message = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for upgradeMessage to set.

Returns
Type Description
CustomImageInfo.Builder

This builder for chaining.