Interface OSImageOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
OSImage,OSImage.Builder
public interface OSImageOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetApplicableInstanceTypes(int index)Instance types this image is applicable to.com.google.protobuf.ByteStringgetApplicableInstanceTypesBytes(int index)Instance types this image is applicable to.intgetApplicableInstanceTypesCount()Instance types this image is applicable to.List<String>getApplicableInstanceTypesList()Instance types this image is applicable to.StringgetCode()OS Image code.com.google.protobuf.ByteStringgetCodeBytes()OS Image code.StringgetDescription()OS Image description.com.google.protobuf.ByteStringgetDescriptionBytes()OS Image description.StringgetName()Output only.com.google.protobuf.ByteStringgetNameBytes()Output only.StringgetSupportedNetworkTemplates(int index)Network templates that can be used with this OS Image.com.google.protobuf.ByteStringgetSupportedNetworkTemplatesBytes(int index)Network templates that can be used with this OS Image.intgetSupportedNetworkTemplatesCount()Network templates that can be used with this OS Image.List<String>getSupportedNetworkTemplatesList()Network templates that can be used with this OS Image.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getName
String getName()
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Output only. OS Image's unique name.
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];- Returns:
- The bytes for name.
-
getCode
String getCode()
OS Image code.
string code = 2;- Returns:
- The code.
-
getCodeBytes
com.google.protobuf.ByteString getCodeBytes()
OS Image code.
string code = 2;- Returns:
- The bytes for code.
-
getDescription
String getDescription()
OS Image description.
string description = 3;- Returns:
- The description.
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
OS Image description.
string description = 3;- Returns:
- The bytes for description.
-
getApplicableInstanceTypesList
List<String> getApplicableInstanceTypesList()
Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
repeated string applicable_instance_types = 4;- Returns:
- A list containing the applicableInstanceTypes.
-
getApplicableInstanceTypesCount
int getApplicableInstanceTypesCount()
Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
repeated string applicable_instance_types = 4;- Returns:
- The count of applicableInstanceTypes.
-
getApplicableInstanceTypes
String getApplicableInstanceTypes(int index)
Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
repeated string applicable_instance_types = 4;- Parameters:
index- The index of the element to return.- Returns:
- The applicableInstanceTypes at the given index.
-
getApplicableInstanceTypesBytes
com.google.protobuf.ByteString getApplicableInstanceTypesBytes(int index)
Instance types this image is applicable to. [Available types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
repeated string applicable_instance_types = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the applicableInstanceTypes at the given index.
-
getSupportedNetworkTemplatesList
List<String> getSupportedNetworkTemplatesList()
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;- Returns:
- A list containing the supportedNetworkTemplates.
-
getSupportedNetworkTemplatesCount
int getSupportedNetworkTemplatesCount()
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;- Returns:
- The count of supportedNetworkTemplates.
-
getSupportedNetworkTemplates
String getSupportedNetworkTemplates(int index)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;- Parameters:
index- The index of the element to return.- Returns:
- The supportedNetworkTemplates at the given index.
-
getSupportedNetworkTemplatesBytes
com.google.protobuf.ByteString getSupportedNetworkTemplatesBytes(int index)
Network templates that can be used with this OS Image.
repeated string supported_network_templates = 5;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the supportedNetworkTemplates at the given index.
-
-