Class CustomImageInfo (2.102.0)

public final class CustomImageInfo extends GeneratedMessage implements CustomImageInfoOrBuilder

Contains the custom image info for a node pool.

Protobuf type google.container.v1.CustomImageInfo

Static Fields

UPGRADE_MESSAGE_FIELD_NUMBER

public static final int UPGRADE_MESSAGE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static CustomImageInfo getDefaultInstance()
Returns
Type Description
CustomImageInfo

getDescriptor()

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

newBuilder()

public static CustomImageInfo.Builder newBuilder()
Returns
Type Description
CustomImageInfo.Builder

newBuilder(CustomImageInfo prototype)

public static CustomImageInfo.Builder newBuilder(CustomImageInfo prototype)
Parameter
Name Description
prototype CustomImageInfo
Returns
Type Description
CustomImageInfo.Builder

parseDelimitedFrom(InputStream input)

public static CustomImageInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static CustomImageInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static CustomImageInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static CustomImageInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static CustomImageInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static CustomImageInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static CustomImageInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CustomImageInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<CustomImageInfo> parser()
Returns
Type Description
Parser<CustomImageInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public CustomImageInfo getDefaultInstanceForType()
Returns
Type Description
CustomImageInfo

getParserForType()

public Parser<CustomImageInfo> getParserForType()
Returns
Type Description
Parser<CustomImageInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public CustomImageInfo.Builder newBuilderForType()
Returns
Type Description
CustomImageInfo.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected CustomImageInfo.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
CustomImageInfo.Builder
Overrides

toBuilder()

public CustomImageInfo.Builder toBuilder()
Returns
Type Description
CustomImageInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException