public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
A server.Protobuf type
google.cloud.baremetalsolution.v2.Instance| Modifier and Type | Method and Description |
|---|---|
Instance.Builder |
addAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)
List of logical interfaces for the instance.
|
Instance.Builder |
addAllLuns(Iterable<? extends Lun> values)
List of LUNs associated with this server.
|
Instance.Builder |
addAllNetworks(Iterable<? extends Network> values)
List of networks associated with this server.
|
Instance.Builder |
addLogicalInterfaces(int index,
LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.
|
Instance.Builder |
addLogicalInterfaces(int index,
LogicalInterface value)
List of logical interfaces for the instance.
|
Instance.Builder |
addLogicalInterfaces(LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.
|
Instance.Builder |
addLogicalInterfaces(LogicalInterface value)
List of logical interfaces for the instance.
|
LogicalInterface.Builder |
addLogicalInterfacesBuilder()
List of logical interfaces for the instance.
|
LogicalInterface.Builder |
addLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance.
|
Instance.Builder |
addLuns(int index,
Lun.Builder builderForValue)
List of LUNs associated with this server.
|
Instance.Builder |
addLuns(int index,
Lun value)
List of LUNs associated with this server.
|
Instance.Builder |
addLuns(Lun.Builder builderForValue)
List of LUNs associated with this server.
|
Instance.Builder |
addLuns(Lun value)
List of LUNs associated with this server.
|
Lun.Builder |
addLunsBuilder()
List of LUNs associated with this server.
|
Lun.Builder |
addLunsBuilder(int index)
List of LUNs associated with this server.
|
Instance.Builder |
addNetworks(int index,
Network.Builder builderForValue)
List of networks associated with this server.
|
Instance.Builder |
addNetworks(int index,
Network value)
List of networks associated with this server.
|
Instance.Builder |
addNetworks(Network.Builder builderForValue)
List of networks associated with this server.
|
Instance.Builder |
addNetworks(Network value)
List of networks associated with this server.
|
Network.Builder |
addNetworksBuilder()
List of networks associated with this server.
|
Network.Builder |
addNetworksBuilder(int index)
List of networks associated with this server.
|
Instance.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance |
build() |
Instance |
buildPartial() |
Instance.Builder |
clear() |
Instance.Builder |
clearCreateTime()
Output only.
|
Instance.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Instance.Builder |
clearHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false.
|
Instance.Builder |
clearId()
An identifier for the `Instance`, generated by the backend.
|
Instance.Builder |
clearInteractiveSerialConsoleEnabled()
True if the interactive serial console feature is enabled for the instance,
false otherwise.
|
Instance.Builder |
clearLabels() |
Instance.Builder |
clearLogicalInterfaces()
List of logical interfaces for the instance.
|
Instance.Builder |
clearLuns()
List of LUNs associated with this server.
|
Instance.Builder |
clearMachineType()
The server type.
|
Instance.Builder |
clearName()
Output only.
|
Instance.Builder |
clearNetworks()
List of networks associated with this server.
|
Instance.Builder |
clearNetworkTemplate()
Instance network template name.
|
Instance.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Instance.Builder |
clearOsImage()
The OS image currently installed on the server.
|
Instance.Builder |
clearPod()
Immutable.
|
Instance.Builder |
clearState()
The state of the server.
|
Instance.Builder |
clearUpdateTime()
Output only.
|
Instance.Builder |
clone() |
boolean |
containsLabels(String key)
Labels as key value pairs.
|
com.google.protobuf.Timestamp |
getCreateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
Output only.
|
Instance |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false.
|
String |
getId()
An identifier for the `Instance`, generated by the backend.
|
com.google.protobuf.ByteString |
getIdBytes()
An identifier for the `Instance`, generated by the backend.
|
boolean |
getInteractiveSerialConsoleEnabled()
True if the interactive serial console feature is enabled for the instance,
false otherwise.
|
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.
|
LogicalInterface.Builder |
getLogicalInterfacesBuilder(int index)
List of logical interfaces for the instance.
|
List<LogicalInterface.Builder> |
getLogicalInterfacesBuilderList()
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.
|
Lun |
getLuns(int index)
List of LUNs associated with this server.
|
Lun.Builder |
getLunsBuilder(int index)
List of LUNs associated with this server.
|
List<Lun.Builder> |
getLunsBuilderList()
List of LUNs associated with this server.
|
int |
getLunsCount()
List of LUNs associated with this server.
|
List<Lun> |
getLunsList()
List of LUNs associated with this server.
|
LunOrBuilder |
getLunsOrBuilder(int index)
List of LUNs associated with this server.
|
List<? extends LunOrBuilder> |
getLunsOrBuilderList()
List of LUNs associated with this server.
|
String |
getMachineType()
The server type.
|
com.google.protobuf.ByteString |
getMachineTypeBytes()
The server type.
|
Map<String,String> |
getMutableLabels()
Deprecated.
|
String |
getName()
Output only.
|
com.google.protobuf.ByteString |
getNameBytes()
Output only.
|
Network |
getNetworks(int index)
List of networks associated with this server.
|
Network.Builder |
getNetworksBuilder(int index)
List of networks associated with this server.
|
List<Network.Builder> |
getNetworksBuilderList()
List of networks associated with this server.
|
int |
getNetworksCount()
List of networks associated with this server.
|
List<Network> |
getNetworksList()
List of networks associated with this server.
|
NetworkOrBuilder |
getNetworksOrBuilder(int index)
List of networks associated with this server.
|
List<? extends NetworkOrBuilder> |
getNetworksOrBuilderList()
List of networks associated with this server.
|
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.
|
String |
getPod()
Immutable.
|
com.google.protobuf.ByteString |
getPodBytes()
Immutable.
|
Instance.State |
getState()
The state of the server.
|
int |
getStateValue()
The state of the server.
|
com.google.protobuf.Timestamp |
getUpdateTime()
Output only.
|
com.google.protobuf.Timestamp.Builder |
getUpdateTimeBuilder()
Output only.
|
com.google.protobuf.TimestampOrBuilder |
getUpdateTimeOrBuilder()
Output only.
|
boolean |
hasCreateTime()
Output only.
|
boolean |
hasUpdateTime()
Output only.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
protected com.google.protobuf.MapField |
internalGetMutableMapField(int number) |
boolean |
isInitialized() |
Instance.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Instance.Builder |
mergeFrom(Instance other) |
Instance.Builder |
mergeFrom(com.google.protobuf.Message other) |
Instance.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
putAllLabels(Map<String,String> values)
Labels as key value pairs.
|
Instance.Builder |
putLabels(String key,
String value)
Labels as key value pairs.
|
Instance.Builder |
removeLabels(String key)
Labels as key value pairs.
|
Instance.Builder |
removeLogicalInterfaces(int index)
List of logical interfaces for the instance.
|
Instance.Builder |
removeLuns(int index)
List of LUNs associated with this server.
|
Instance.Builder |
removeNetworks(int index)
List of networks associated with this server.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
Output only.
|
Instance.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Instance.Builder |
setHyperthreadingEnabled(boolean value)
True if you enable hyperthreading for the server, otherwise false.
|
Instance.Builder |
setId(String value)
An identifier for the `Instance`, generated by the backend.
|
Instance.Builder |
setIdBytes(com.google.protobuf.ByteString value)
An identifier for the `Instance`, generated by the backend.
|
Instance.Builder |
setInteractiveSerialConsoleEnabled(boolean value)
True if the interactive serial console feature is enabled for the instance,
false otherwise.
|
Instance.Builder |
setLogicalInterfaces(int index,
LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.
|
Instance.Builder |
setLogicalInterfaces(int index,
LogicalInterface value)
List of logical interfaces for the instance.
|
Instance.Builder |
setLuns(int index,
Lun.Builder builderForValue)
List of LUNs associated with this server.
|
Instance.Builder |
setLuns(int index,
Lun value)
List of LUNs associated with this server.
|
Instance.Builder |
setMachineType(String value)
The server type.
|
Instance.Builder |
setMachineTypeBytes(com.google.protobuf.ByteString value)
The server type.
|
Instance.Builder |
setName(String value)
Output only.
|
Instance.Builder |
setNameBytes(com.google.protobuf.ByteString value)
Output only.
|
Instance.Builder |
setNetworks(int index,
Network.Builder builderForValue)
List of networks associated with this server.
|
Instance.Builder |
setNetworks(int index,
Network value)
List of networks associated with this server.
|
Instance.Builder |
setNetworkTemplate(String value)
Instance network template name.
|
Instance.Builder |
setNetworkTemplateBytes(com.google.protobuf.ByteString value)
Instance network template name.
|
Instance.Builder |
setOsImage(String value)
The OS image currently installed on the server.
|
Instance.Builder |
setOsImageBytes(com.google.protobuf.ByteString value)
The OS image currently installed on the server.
|
Instance.Builder |
setPod(String value)
Immutable.
|
Instance.Builder |
setPodBytes(com.google.protobuf.ByteString value)
Immutable.
|
Instance.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Instance.Builder |
setState(Instance.State value)
The state of the server.
|
Instance.Builder |
setStateValue(int value)
The state of the server.
|
Instance.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.
|
Instance.Builder |
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Instance build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Instance buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Instance.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>public Instance.Builder mergeFrom(Instance other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Instance.Builder>IOExceptionpublic String getName()
Output only. 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) = OUTPUT_ONLY];getName in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Output only. 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) = OUTPUT_ONLY];getNameBytes in interface InstanceOrBuilderpublic Instance.Builder setName(String value)
Output only. 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) = OUTPUT_ONLY];value - The name to set.public Instance.Builder clearName()
Output only. 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) = OUTPUT_ONLY];public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
Output only. 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) = OUTPUT_ONLY];value - The bytes for name to set.public String getId()
An identifier for the `Instance`, generated by the backend.
string id = 11;getId in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getIdBytes()
An identifier for the `Instance`, generated by the backend.
string id = 11;getIdBytes in interface InstanceOrBuilderpublic Instance.Builder setId(String value)
An identifier for the `Instance`, generated by the backend.
string id = 11;value - The id to set.public Instance.Builder clearId()
An identifier for the `Instance`, generated by the backend.
string id = 11;public Instance.Builder setIdBytes(com.google.protobuf.ByteString value)
An identifier for the `Instance`, generated by the backend.
string id = 11;value - The bytes for id to set.public boolean hasCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasCreateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTime in interface InstanceOrBuilderpublic Instance.Builder setCreateTime(com.google.protobuf.Timestamp value)
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
getCreateTimeOrBuilder in interface InstanceOrBuilderpublic boolean hasUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
hasUpdateTime in interface InstanceOrBuilderpublic com.google.protobuf.Timestamp getUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTime in interface InstanceOrBuilderpublic Instance.Builder setUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder mergeUpdateTime(com.google.protobuf.Timestamp value)
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public Instance.Builder clearUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.Timestamp.Builder getUpdateTimeBuilder()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
public com.google.protobuf.TimestampOrBuilder getUpdateTimeOrBuilder()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
getUpdateTimeOrBuilder in interface InstanceOrBuilderpublic String getMachineType()
The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4;getMachineType in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getMachineTypeBytes()
The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4;getMachineTypeBytes in interface InstanceOrBuilderpublic Instance.Builder setMachineType(String value)
The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4;value - The machineType to set.public Instance.Builder clearMachineType()
The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4;public Instance.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4;value - The bytes for machineType to set.public int getStateValue()
The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;getStateValue in interface InstanceOrBuilderpublic Instance.Builder setStateValue(int value)
The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;value - The enum numeric value on the wire for state to set.public Instance.State getState()
The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;getState in interface InstanceOrBuilderpublic Instance.Builder setState(Instance.State value)
The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;value - The state to set.public Instance.Builder clearState()
The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;public boolean getHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;getHyperthreadingEnabled in interface InstanceOrBuilderpublic Instance.Builder setHyperthreadingEnabled(boolean value)
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;value - The hyperthreadingEnabled to set.public Instance.Builder clearHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;public int getLabelsCount()
InstanceOrBuilderLabels as key value pairs.
map<string, string> labels = 7;getLabelsCount in interface InstanceOrBuilderpublic boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;containsLabels in interface InstanceOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface InstanceOrBuilderpublic Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;getLabelsMap in interface InstanceOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;getLabelsOrDefault in interface InstanceOrBuilderpublic String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;getLabelsOrThrow in interface InstanceOrBuilderpublic Instance.Builder clearLabels()
public Instance.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;@Deprecated public Map<String,String> getMutableLabels()
public Instance.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 7;public Instance.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 7;public List<Lun> getLunsList()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;getLunsList in interface InstanceOrBuilderpublic int getLunsCount()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;getLunsCount in interface InstanceOrBuilderpublic Lun getLuns(int index)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;getLuns in interface InstanceOrBuilderpublic Instance.Builder setLuns(int index, Lun value)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder setLuns(int index, Lun.Builder builderForValue)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder addLuns(Lun value)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder addLuns(int index, Lun value)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder addLuns(Lun.Builder builderForValue)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder addLuns(int index, Lun.Builder builderForValue)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder addAllLuns(Iterable<? extends Lun> values)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder clearLuns()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Instance.Builder removeLuns(int index)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Lun.Builder getLunsBuilder(int index)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public LunOrBuilder getLunsOrBuilder(int index)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;getLunsOrBuilder in interface InstanceOrBuilderpublic List<? extends LunOrBuilder> getLunsOrBuilderList()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;getLunsOrBuilderList in interface InstanceOrBuilderpublic Lun.Builder addLunsBuilder()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public Lun.Builder addLunsBuilder(int index)
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public List<Lun.Builder> getLunsBuilderList()
List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;public List<Network> getNetworksList()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;getNetworksList in interface InstanceOrBuilderpublic int getNetworksCount()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;getNetworksCount in interface InstanceOrBuilderpublic Network getNetworks(int index)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;getNetworks in interface InstanceOrBuilderpublic Instance.Builder setNetworks(int index, Network value)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder setNetworks(int index, Network.Builder builderForValue)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder addNetworks(Network value)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder addNetworks(int index, Network value)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder addNetworks(Network.Builder builderForValue)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder addNetworks(int index, Network.Builder builderForValue)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder addAllNetworks(Iterable<? extends Network> values)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder clearNetworks()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Instance.Builder removeNetworks(int index)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Network.Builder getNetworksBuilder(int index)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public NetworkOrBuilder getNetworksOrBuilder(int index)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;getNetworksOrBuilder in interface InstanceOrBuilderpublic List<? extends NetworkOrBuilder> getNetworksOrBuilderList()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;getNetworksOrBuilderList in interface InstanceOrBuilderpublic Network.Builder addNetworksBuilder()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public Network.Builder addNetworksBuilder(int index)
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public List<Network.Builder> getNetworksBuilderList()
List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;public boolean getInteractiveSerialConsoleEnabled()
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;getInteractiveSerialConsoleEnabled in interface InstanceOrBuilderpublic Instance.Builder setInteractiveSerialConsoleEnabled(boolean value)
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;value - The interactiveSerialConsoleEnabled to set.public Instance.Builder clearInteractiveSerialConsoleEnabled()
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;public String getOsImage()
The OS image currently installed on the server.
string os_image = 12;getOsImage in interface InstanceOrBuilderpublic com.google.protobuf.ByteString getOsImageBytes()
The OS image currently installed on the server.
string os_image = 12;getOsImageBytes in interface InstanceOrBuilderpublic Instance.Builder setOsImage(String value)
The OS image currently installed on the server.
string os_image = 12;value - The osImage to set.public Instance.Builder clearOsImage()
The OS image currently installed on the server.
string os_image = 12;public Instance.Builder setOsImageBytes(com.google.protobuf.ByteString value)
The OS image currently installed on the server.
string os_image = 12;value - The bytes for osImage to set.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];getPod in interface InstanceOrBuilderpublic 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];getPodBytes in interface InstanceOrBuilderpublic Instance.Builder setPod(String value)
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];value - The pod to set.public Instance.Builder clearPod()
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];public Instance.Builder setPodBytes(com.google.protobuf.ByteString value)
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];value - The bytes for pod to set.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) = { ... }getNetworkTemplate in interface InstanceOrBuilderpublic 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) = { ... }getNetworkTemplateBytes in interface InstanceOrBuilderpublic Instance.Builder setNetworkTemplate(String value)
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) = { ... }value - The networkTemplate to set.public Instance.Builder clearNetworkTemplate()
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) = { ... }public Instance.Builder setNetworkTemplateBytes(com.google.protobuf.ByteString value)
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) = { ... }value - The bytes for networkTemplate to set.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;
getLogicalInterfacesList in interface InstanceOrBuilderpublic 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;
getLogicalInterfacesCount in interface InstanceOrBuilderpublic 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;
getLogicalInterfaces in interface InstanceOrBuilderpublic Instance.Builder setLogicalInterfaces(int index, LogicalInterface value)
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;
public Instance.Builder setLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
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;
public Instance.Builder addLogicalInterfaces(LogicalInterface value)
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;
public Instance.Builder addLogicalInterfaces(int index, LogicalInterface value)
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;
public Instance.Builder addLogicalInterfaces(LogicalInterface.Builder builderForValue)
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;
public Instance.Builder addLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
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;
public Instance.Builder addAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)
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;
public Instance.Builder clearLogicalInterfaces()
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;
public Instance.Builder removeLogicalInterfaces(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;
public LogicalInterface.Builder getLogicalInterfacesBuilder(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;
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;
getLogicalInterfacesOrBuilder in interface InstanceOrBuilderpublic 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;
getLogicalInterfacesOrBuilderList in interface InstanceOrBuilderpublic LogicalInterface.Builder addLogicalInterfacesBuilder()
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;
public LogicalInterface.Builder addLogicalInterfacesBuilder(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;
public List<LogicalInterface.Builder> getLogicalInterfacesBuilderList()
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;
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>Copyright © 2022 Google LLC. All rights reserved.