Class Instance
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.baremetalsolution.v2.Instance
-
- All Implemented Interfaces:
InstanceOrBuilder
,com.google.protobuf.Message
,com.google.protobuf.MessageLite
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Serializable
public final class Instance extends com.google.protobuf.GeneratedMessageV3 implements InstanceOrBuilder
A server.
Protobuf typegoogle.cloud.baremetalsolution.v2.Instance
- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
Instance.Builder
A server.static class
Instance.State
The possible states for this server.-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static int
CREATE_TIME_FIELD_NUMBER
static int
FIRMWARE_VERSION_FIELD_NUMBER
static int
HYPERTHREADING_ENABLED_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
INTERACTIVE_SERIAL_CONSOLE_ENABLED_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
LOGICAL_INTERFACES_FIELD_NUMBER
static int
LOGIN_INFO_FIELD_NUMBER
static int
LUNS_FIELD_NUMBER
static int
MACHINE_TYPE_FIELD_NUMBER
static int
NAME_FIELD_NUMBER
static int
NETWORK_TEMPLATE_FIELD_NUMBER
static int
NETWORKS_FIELD_NUMBER
static int
OS_IMAGE_FIELD_NUMBER
static int
POD_FIELD_NUMBER
static int
STATE_FIELD_NUMBER
static int
UPDATE_TIME_FIELD_NUMBER
static int
VOLUMES_FIELD_NUMBER
static int
WORKLOAD_PROFILE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description boolean
containsLabels(String key)
Labels as key value pairs.boolean
equals(Object obj)
com.google.protobuf.Timestamp
getCreateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getCreateTimeOrBuilder()
Output only.static Instance
getDefaultInstance()
Instance
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
String
getFirmwareVersion()
Output only.com.google.protobuf.ByteString
getFirmwareVersionBytes()
Output only.boolean
getHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false.String
getId()
Output only.com.google.protobuf.ByteString
getIdBytes()
Output only.boolean
getInteractiveSerialConsoleEnabled()
Output only.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels as key value pairs.Map<String,String>
getLabelsMap()
Labels as key value pairs.String
getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.String
getLabelsOrThrow(String key)
Labels as key value pairs.LogicalInterface
getLogicalInterfaces(int index)
List of logical interfaces for the instance.int
getLogicalInterfacesCount()
List of logical interfaces for the instance.List<LogicalInterface>
getLogicalInterfacesList()
List of logical interfaces for the instance.LogicalInterfaceOrBuilder
getLogicalInterfacesOrBuilder(int index)
List of logical interfaces for the instance.List<? extends LogicalInterfaceOrBuilder>
getLogicalInterfacesOrBuilderList()
List of logical interfaces for the instance.String
getLoginInfo()
Output only.com.google.protobuf.ByteString
getLoginInfoBytes()
Output only.Lun
getLuns(int index)
Immutable.int
getLunsCount()
Immutable.List<Lun>
getLunsList()
Immutable.LunOrBuilder
getLunsOrBuilder(int index)
Immutable.List<? extends LunOrBuilder>
getLunsOrBuilderList()
Immutable.String
getMachineType()
Immutable.com.google.protobuf.ByteString
getMachineTypeBytes()
Immutable.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.Network
getNetworks(int index)
Output only.int
getNetworksCount()
Output only.List<Network>
getNetworksList()
Output only.NetworkOrBuilder
getNetworksOrBuilder(int index)
Output only.List<? extends NetworkOrBuilder>
getNetworksOrBuilderList()
Output only.String
getNetworkTemplate()
Instance network template name.com.google.protobuf.ByteString
getNetworkTemplateBytes()
Instance network template name.String
getOsImage()
The OS image currently installed on the server.com.google.protobuf.ByteString
getOsImageBytes()
The OS image currently installed on the server.com.google.protobuf.Parser<Instance>
getParserForType()
String
getPod()
Immutable.com.google.protobuf.ByteString
getPodBytes()
Immutable.int
getSerializedSize()
Instance.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Volume
getVolumes(int index)
Input only.int
getVolumesCount()
Input only.List<Volume>
getVolumesList()
Input only.VolumeOrBuilder
getVolumesOrBuilder(int index)
Input only.List<? extends VolumeOrBuilder>
getVolumesOrBuilderList()
Input only.WorkloadProfile
getWorkloadProfile()
The workload profile for the instance.int
getWorkloadProfileValue()
The workload profile for the instance.boolean
hasCreateTime()
Output only.int
hashCode()
boolean
hasUpdateTime()
Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
boolean
isInitialized()
static Instance.Builder
newBuilder()
static Instance.Builder
newBuilder(Instance prototype)
Instance.Builder
newBuilderForType()
protected Instance.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static Instance
parseDelimitedFrom(InputStream input)
static Instance
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(byte[] data)
static Instance
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.ByteString data)
static Instance
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input)
static Instance
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(InputStream input)
static Instance
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static Instance
parseFrom(ByteBuffer data)
static Instance
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<Instance>
parser()
Instance.Builder
toBuilder()
void
writeTo(com.google.protobuf.CodedOutputStream output)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATE_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
UPDATE_TIME_FIELD_NUMBER
public static final int UPDATE_TIME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_TYPE_FIELD_NUMBER
public static final int MACHINE_TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATE_FIELD_NUMBER
public static final int STATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HYPERTHREADING_ENABLED_FIELD_NUMBER
public static final int HYPERTHREADING_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LUNS_FIELD_NUMBER
public static final int LUNS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
VOLUMES_FIELD_NUMBER
public static final int VOLUMES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORKS_FIELD_NUMBER
public static final int NETWORKS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INTERACTIVE_SERIAL_CONSOLE_ENABLED_FIELD_NUMBER
public static final int INTERACTIVE_SERIAL_CONSOLE_ENABLED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OS_IMAGE_FIELD_NUMBER
public static final int OS_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POD_FIELD_NUMBER
public static final int POD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NETWORK_TEMPLATE_FIELD_NUMBER
public static final int NETWORK_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGICAL_INTERFACES_FIELD_NUMBER
public static final int LOGICAL_INTERFACES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LOGIN_INFO_FIELD_NUMBER
public static final int LOGIN_INFO_FIELD_NUMBER
- See Also:
- Constant Field Values
-
WORKLOAD_PROFILE_FIELD_NUMBER
public static final int WORKLOAD_PROFILE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FIRMWARE_VERSION_FIELD_NUMBER
public static final int FIRMWARE_VERSION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getName
public String getName()
Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getName
in interfaceInstanceOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`
string name = 1 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getNameBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for name.
-
getId
public String getId()
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getId
in interfaceInstanceOrBuilder
- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getIdBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for id.
-
hasCreateTime
public boolean hasCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasCreateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTime
in interfaceInstanceOrBuilder
- Returns:
- The createTime.
-
getCreateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getCreateTimeOrBuilder
in interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
hasUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTime
in interfaceInstanceOrBuilder
- Returns:
- The updateTime.
-
getUpdateTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getUpdateTimeOrBuilder
in interfaceInstanceOrBuilder
-
getMachineType
public String getMachineType()
Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMachineType
in interfaceInstanceOrBuilder
- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getMachineTypeBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for machineType.
-
getStateValue
public int getStateValue()
Output only. The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getStateValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for state.
-
getState
public Instance.State getState()
Output only. The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getState
in interfaceInstanceOrBuilder
- Returns:
- The state.
-
getHyperthreadingEnabled
public boolean getHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;
- Specified by:
getHyperthreadingEnabled
in interfaceInstanceOrBuilder
- Returns:
- The hyperthreadingEnabled.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilder
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
containsLabels
in interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsMap
in interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsOrDefault
in interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsOrThrow
in interfaceInstanceOrBuilder
-
getLunsList
public List<Lun> getLunsList()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getLunsList
in interfaceInstanceOrBuilder
-
getLunsOrBuilderList
public List<? extends LunOrBuilder> getLunsOrBuilderList()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getLunsOrBuilderList
in interfaceInstanceOrBuilder
-
getLunsCount
public int getLunsCount()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getLunsCount
in interfaceInstanceOrBuilder
-
getLuns
public Lun getLuns(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getLuns
in interfaceInstanceOrBuilder
-
getLunsOrBuilder
public LunOrBuilder getLunsOrBuilder(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getLunsOrBuilder
in interfaceInstanceOrBuilder
-
getVolumesList
public List<Volume> getVolumesList()
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getVolumesList
in interfaceInstanceOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getVolumesOrBuilderList
in interfaceInstanceOrBuilder
-
getVolumesCount
public int getVolumesCount()
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getVolumesCount
in interfaceInstanceOrBuilder
-
getVolumes
public Volume getVolumes(int index)
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getVolumes
in interfaceInstanceOrBuilder
-
getVolumesOrBuilder
public VolumeOrBuilder getVolumesOrBuilder(int index)
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];
- Specified by:
getVolumesOrBuilder
in interfaceInstanceOrBuilder
-
getNetworksList
public List<Network> getNetworksList()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNetworksList
in interfaceInstanceOrBuilder
-
getNetworksOrBuilderList
public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNetworksOrBuilderList
in interfaceInstanceOrBuilder
-
getNetworksCount
public int getNetworksCount()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNetworksCount
in interfaceInstanceOrBuilder
-
getNetworks
public Network getNetworks(int index)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNetworks
in interfaceInstanceOrBuilder
-
getNetworksOrBuilder
public NetworkOrBuilder getNetworksOrBuilder(int index)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getNetworksOrBuilder
in interfaceInstanceOrBuilder
-
getInteractiveSerialConsoleEnabled
public boolean getInteractiveSerialConsoleEnabled()
Output only. True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
bool interactive_serial_console_enabled = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getInteractiveSerialConsoleEnabled
in interfaceInstanceOrBuilder
- Returns:
- The interactiveSerialConsoleEnabled.
-
getOsImage
public String getOsImage()
The OS image currently installed on the server.
string os_image = 12;
- Specified by:
getOsImage
in interfaceInstanceOrBuilder
- Returns:
- The osImage.
-
getOsImageBytes
public com.google.protobuf.ByteString getOsImageBytes()
The OS image currently installed on the server.
string os_image = 12;
- Specified by:
getOsImageBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for osImage.
-
getPod
public String getPod()
Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.
string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getPod
in interfaceInstanceOrBuilder
- Returns:
- The pod.
-
getPodBytes
public com.google.protobuf.ByteString getPodBytes()
Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.
string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];
- Specified by:
getPodBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for pod.
-
getNetworkTemplate
public String getNetworkTemplate()
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond<bond_mode>" or "nic".
string network_template = 14 [(.google.api.resource_reference) = { ... }
- Specified by:
getNetworkTemplate
in interfaceInstanceOrBuilder
- Returns:
- The networkTemplate.
-
getNetworkTemplateBytes
public com.google.protobuf.ByteString getNetworkTemplateBytes()
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond<bond_mode>" or "nic".
string network_template = 14 [(.google.api.resource_reference) = { ... }
- Specified by:
getNetworkTemplateBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for networkTemplate.
-
getLogicalInterfacesList
public List<LogicalInterface> getLogicalInterfacesList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
- Specified by:
getLogicalInterfacesList
in interfaceInstanceOrBuilder
-
getLogicalInterfacesOrBuilderList
public List<? extends LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
- Specified by:
getLogicalInterfacesOrBuilderList
in interfaceInstanceOrBuilder
-
getLogicalInterfacesCount
public int getLogicalInterfacesCount()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
- Specified by:
getLogicalInterfacesCount
in interfaceInstanceOrBuilder
-
getLogicalInterfaces
public LogicalInterface getLogicalInterfaces(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
- Specified by:
getLogicalInterfaces
in interfaceInstanceOrBuilder
-
getLogicalInterfacesOrBuilder
public LogicalInterfaceOrBuilder getLogicalInterfacesOrBuilder(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;
- Specified by:
getLogicalInterfacesOrBuilder
in interfaceInstanceOrBuilder
-
getLoginInfo
public String getLoginInfo()
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLoginInfo
in interfaceInstanceOrBuilder
- Returns:
- The loginInfo.
-
getLoginInfoBytes
public com.google.protobuf.ByteString getLoginInfoBytes()
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getLoginInfoBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for loginInfo.
-
getWorkloadProfileValue
public int getWorkloadProfileValue()
The workload profile for the instance.
.google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
- Specified by:
getWorkloadProfileValue
in interfaceInstanceOrBuilder
- Returns:
- The enum numeric value on the wire for workloadProfile.
-
getWorkloadProfile
public WorkloadProfile getWorkloadProfile()
The workload profile for the instance.
.google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
- Specified by:
getWorkloadProfile
in interfaceInstanceOrBuilder
- Returns:
- The workloadProfile.
-
getFirmwareVersion
public String getFirmwareVersion()
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFirmwareVersion
in interfaceInstanceOrBuilder
- Returns:
- The firmwareVersion.
-
getFirmwareVersionBytes
public com.google.protobuf.ByteString getFirmwareVersionBytes()
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Specified by:
getFirmwareVersionBytes
in interfaceInstanceOrBuilder
- Returns:
- The bytes for firmwareVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Instance parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Instance parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Instance parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Instance parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Instance.Builder newBuilderForType()
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Instance.Builder newBuilder()
-
newBuilder
public static Instance.Builder newBuilder(Instance prototype)
-
toBuilder
public Instance.Builder toBuilder()
- Specified by:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Instance getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Instance> parser()
-
getParserForType
public com.google.protobuf.Parser<Instance> getParserForType()
- Specified by:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-