Class OSImage (0.24.0)

public final class OSImage extends GeneratedMessageV3 implements OSImageOrBuilder

Operation System image.

Protobuf type google.cloud.baremetalsolution.v2.OSImage

Implements

OSImageOrBuilder

Static Fields

APPLICABLE_INSTANCE_TYPES_FIELD_NUMBER

public static final int APPLICABLE_INSTANCE_TYPES_FIELD_NUMBER
Field Value
TypeDescription
int

CODE_FIELD_NUMBER

public static final int CODE_FIELD_NUMBER
Field Value
TypeDescription
int

DESCRIPTION_FIELD_NUMBER

public static final int DESCRIPTION_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

SUPPORTED_NETWORK_TEMPLATES_FIELD_NUMBER

public static final int SUPPORTED_NETWORK_TEMPLATES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static OSImage getDefaultInstance()
Returns
TypeDescription
OSImage

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static OSImage.Builder newBuilder()
Returns
TypeDescription
OSImage.Builder

newBuilder(OSImage prototype)

public static OSImage.Builder newBuilder(OSImage prototype)
Parameter
NameDescription
prototypeOSImage
Returns
TypeDescription
OSImage.Builder

parseDelimitedFrom(InputStream input)

public static OSImage parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSImage parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static OSImage parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OSImage parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OSImage parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OSImage parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OSImage parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OSImage parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static OSImage parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OSImage parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static OSImage parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OSImage parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSImage
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<OSImage> parser()
Returns
TypeDescription
Parser<OSImage>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getApplicableInstanceTypes(int index)

public String getApplicableInstanceTypes(int index)

Instance types this image is applicable to. Available types

repeated string applicable_instance_types = 4;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The applicableInstanceTypes at the given index.

getApplicableInstanceTypesBytes(int index)

public ByteString getApplicableInstanceTypesBytes(int index)

Instance types this image is applicable to. Available types

repeated string applicable_instance_types = 4;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the applicableInstanceTypes at the given index.

getApplicableInstanceTypesCount()

public int getApplicableInstanceTypesCount()

Instance types this image is applicable to. Available types

repeated string applicable_instance_types = 4;

Returns
TypeDescription
int

The count of applicableInstanceTypes.

getApplicableInstanceTypesList()

public ProtocolStringList getApplicableInstanceTypesList()

Instance types this image is applicable to. Available types

repeated string applicable_instance_types = 4;

Returns
TypeDescription
ProtocolStringList

A list containing the applicableInstanceTypes.

getCode()

public String getCode()

OS Image code.

string code = 2;

Returns
TypeDescription
String

The code.

getCodeBytes()

public ByteString getCodeBytes()

OS Image code.

string code = 2;

Returns
TypeDescription
ByteString

The bytes for code.

getDefaultInstanceForType()

public OSImage getDefaultInstanceForType()
Returns
TypeDescription
OSImage

getDescription()

public String getDescription()

OS Image description.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public ByteString getDescriptionBytes()

OS Image description.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getName()

public String getName()

Output only. OS Image's unique name.

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

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. OS Image's unique name.

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

Returns
TypeDescription
ByteString

The bytes for name.

getParserForType()

public Parser<OSImage> getParserForType()
Returns
TypeDescription
Parser<OSImage>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSupportedNetworkTemplates(int index)

public String getSupportedNetworkTemplates(int index)

Network templates that can be used with this OS Image.

repeated string supported_network_templates = 5;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The supportedNetworkTemplates at the given index.

getSupportedNetworkTemplatesBytes(int index)

public ByteString getSupportedNetworkTemplatesBytes(int index)

Network templates that can be used with this OS Image.

repeated string supported_network_templates = 5;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the supportedNetworkTemplates at the given index.

getSupportedNetworkTemplatesCount()

public int getSupportedNetworkTemplatesCount()

Network templates that can be used with this OS Image.

repeated string supported_network_templates = 5;

Returns
TypeDescription
int

The count of supportedNetworkTemplates.

getSupportedNetworkTemplatesList()

public ProtocolStringList getSupportedNetworkTemplatesList()

Network templates that can be used with this OS Image.

repeated string supported_network_templates = 5;

Returns
TypeDescription
ProtocolStringList

A list containing the supportedNetworkTemplates.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public OSImage.Builder newBuilderForType()
Returns
TypeDescription
OSImage.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OSImage.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
OSImage.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public OSImage.Builder toBuilder()
Returns
TypeDescription
OSImage.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException