Interface OSImageOrBuilder (0.31.0)

public interface OSImageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApplicableInstanceTypes(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> getApplicableInstanceTypesList()

Instance types this image is applicable to. Available types

repeated string applicable_instance_types = 4;

Returns
TypeDescription
List<String>

A list containing the applicableInstanceTypes.

getCode()

public abstract String getCode()

OS Image code.

string code = 2;

Returns
TypeDescription
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

OS Image code.

string code = 2;

Returns
TypeDescription
ByteString

The bytes for code.

getDescription()

public abstract String getDescription()

OS Image description.

string description = 3;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

OS Image description.

string description = 3;

Returns
TypeDescription
ByteString

The bytes for description.

getName()

public abstract 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 abstract 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.

getSupportedNetworkTemplates(int index)

public abstract 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 abstract 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 abstract 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 abstract List<String> getSupportedNetworkTemplatesList()

Network templates that can be used with this OS Image.

repeated string supported_network_templates = 5;

Returns
TypeDescription
List<String>

A list containing the supportedNetworkTemplates.