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 classInstance.BuilderA server.static classInstance.StateThe 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 intCREATE_TIME_FIELD_NUMBERstatic intFIRMWARE_VERSION_FIELD_NUMBERstatic intHYPERTHREADING_ENABLED_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intINTERACTIVE_SERIAL_CONSOLE_ENABLED_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intLOGICAL_INTERFACES_FIELD_NUMBERstatic intLOGIN_INFO_FIELD_NUMBERstatic intLUNS_FIELD_NUMBERstatic intMACHINE_TYPE_FIELD_NUMBERstatic intNAME_FIELD_NUMBERstatic intNETWORK_TEMPLATE_FIELD_NUMBERstatic intNETWORKS_FIELD_NUMBERstatic intOS_IMAGE_FIELD_NUMBERstatic intPOD_FIELD_NUMBERstatic intSTATE_FIELD_NUMBERstatic intUPDATE_TIME_FIELD_NUMBERstatic intVOLUMES_FIELD_NUMBERstatic intWORKLOAD_PROFILE_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsLabels(String key)Labels as key value pairs.booleanequals(Object obj)com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.static InstancegetDefaultInstance()InstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()StringgetFirmwareVersion()Output only.com.google.protobuf.ByteStringgetFirmwareVersionBytes()Output only.booleangetHyperthreadingEnabled()True if you enable hyperthreading for the server, otherwise false.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.booleangetInteractiveSerialConsoleEnabled()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairs.Map<String,String>getLabelsMap()Labels as key value pairs.StringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.StringgetLabelsOrThrow(String key)Labels as key value pairs.LogicalInterfacegetLogicalInterfaces(int index)List of logical interfaces for the instance.intgetLogicalInterfacesCount()List of logical interfaces for the instance.List<LogicalInterface>getLogicalInterfacesList()List of logical interfaces for the instance.LogicalInterfaceOrBuildergetLogicalInterfacesOrBuilder(int index)List of logical interfaces for the instance.List<? extends LogicalInterfaceOrBuilder>getLogicalInterfacesOrBuilderList()List of logical interfaces for the instance.StringgetLoginInfo()Output only.com.google.protobuf.ByteStringgetLoginInfoBytes()Output only.LungetLuns(int index)Immutable.intgetLunsCount()Immutable.List<Lun>getLunsList()Immutable.LunOrBuildergetLunsOrBuilder(int index)Immutable.List<? extends LunOrBuilder>getLunsOrBuilderList()Immutable.StringgetMachineType()Immutable.com.google.protobuf.ByteStringgetMachineTypeBytes()Immutable.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.NetworkgetNetworks(int index)Output only.intgetNetworksCount()Output only.List<Network>getNetworksList()Output only.NetworkOrBuildergetNetworksOrBuilder(int index)Output only.List<? extends NetworkOrBuilder>getNetworksOrBuilderList()Output only.StringgetNetworkTemplate()Instance network template name.com.google.protobuf.ByteStringgetNetworkTemplateBytes()Instance network template name.StringgetOsImage()The OS image currently installed on the server.com.google.protobuf.ByteStringgetOsImageBytes()The OS image currently installed on the server.com.google.protobuf.Parser<Instance>getParserForType()StringgetPod()Immutable.com.google.protobuf.ByteStringgetPodBytes()Immutable.intgetSerializedSize()Instance.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VolumegetVolumes(int index)Input only.intgetVolumesCount()Input only.List<Volume>getVolumesList()Input only.VolumeOrBuildergetVolumesOrBuilder(int index)Input only.List<? extends VolumeOrBuilder>getVolumesOrBuilderList()Input only.WorkloadProfilegetWorkloadProfile()The workload profile for the instance.intgetWorkloadProfileValue()The workload profile for the instance.booleanhasCreateTime()Output only.inthashCode()booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static Instance.BuildernewBuilder()static Instance.BuildernewBuilder(Instance prototype)Instance.BuildernewBuilderForType()protected Instance.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static InstanceparseDelimitedFrom(InputStream input)static InstanceparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(byte[] data)static InstanceparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.ByteString data)static InstanceparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(com.google.protobuf.CodedInputStream input)static InstanceparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(InputStream input)static InstanceparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static InstanceparseFrom(ByteBuffer data)static InstanceparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Instance>parser()Instance.BuildertoBuilder()voidwriteTo(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:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein 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:
getNamein 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:
getNameBytesin 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:
getIdin 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:
getIdBytesin 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:
hasCreateTimein 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:
getCreateTimein 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:
getCreateTimeOrBuilderin 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:
hasUpdateTimein 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:
getUpdateTimein 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:
getUpdateTimeOrBuilderin 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:
getMachineTypein 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:
getMachineTypeBytesin 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:
getStateValuein 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:
getStatein 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:
getHyperthreadingEnabledin interfaceInstanceOrBuilder- Returns:
- The hyperthreadingEnabled.
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:InstanceOrBuilderLabels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin 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:
getLunsListin 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:
getLunsOrBuilderListin 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:
getLunsCountin 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:
getLunsin 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:
getLunsOrBuilderin 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:
getVolumesListin 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:
getVolumesOrBuilderListin 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:
getVolumesCountin 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:
getVolumesin 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:
getVolumesOrBuilderin 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:
getNetworksListin 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:
getNetworksOrBuilderListin 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:
getNetworksCountin 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:
getNetworksin 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:
getNetworksOrBuilderin 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:
getInteractiveSerialConsoleEnabledin interfaceInstanceOrBuilder- Returns:
- The interactiveSerialConsoleEnabled.
-
getOsImage
public String getOsImage()
The OS image currently installed on the server.
string os_image = 12;- Specified by:
getOsImagein 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:
getOsImageBytesin 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:
getPodin 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:
getPodBytesin 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:
getNetworkTemplatein 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:
getNetworkTemplateBytesin 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:
getLogicalInterfacesListin 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:
getLogicalInterfacesOrBuilderListin 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:
getLogicalInterfacesCountin 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:
getLogicalInterfacesin 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:
getLogicalInterfacesOrBuilderin 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:
getLoginInfoin 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:
getLoginInfoBytesin 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:
getWorkloadProfileValuein 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:
getWorkloadProfilein 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:
getFirmwareVersionin 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:
getFirmwareVersionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for firmwareVersion.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein 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:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein 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:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Instance.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein 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:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-