Interface OSImageOrBuilder (0.42.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the applicableInstanceTypes.

getCode()

public abstract String getCode()

OS Image code.

string code = 2;

Returns
Type Description
String

The code.

getCodeBytes()

public abstract ByteString getCodeBytes()

OS Image code.

string code = 2;

Returns
Type Description
ByteString

The bytes for code.

getDescription()

public abstract String getDescription()

OS Image description.

string description = 3;

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

OS Image description.

string description = 3;

Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Name Description
index int

The index of the value to return.

Returns
Type Description
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
Type Description
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
Type Description
List<String>

A list containing the supportedNetworkTemplates.