Class Instance.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
- com.google.cloud.baremetalsolution.v2.Instance.Builder
-
- All Implemented Interfaces:
InstanceOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- Instance
public static final class Instance.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilder
A server.
Protobuf typegoogle.cloud.baremetalsolution.v2.Instance
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Instance.Builder
addAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)
List of logical interfaces for the instance.Instance.Builder
addAllLuns(Iterable<? extends Lun> values)
Immutable.Instance.Builder
addAllNetworks(Iterable<? extends Network> values)
Output only.Instance.Builder
addAllVolumes(Iterable<? extends Volume> values)
Input only.Instance.Builder
addLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance.Instance.Builder
addLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.Instance.Builder
addLogicalInterfaces(LogicalInterface value)
List of logical interfaces for the instance.Instance.Builder
addLogicalInterfaces(LogicalInterface.Builder builderForValue)
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 value)
Immutable.Instance.Builder
addLuns(int index, Lun.Builder builderForValue)
Immutable.Instance.Builder
addLuns(Lun value)
Immutable.Instance.Builder
addLuns(Lun.Builder builderForValue)
Immutable.Lun.Builder
addLunsBuilder()
Immutable.Lun.Builder
addLunsBuilder(int index)
Immutable.Instance.Builder
addNetworks(int index, Network value)
Output only.Instance.Builder
addNetworks(int index, Network.Builder builderForValue)
Output only.Instance.Builder
addNetworks(Network value)
Output only.Instance.Builder
addNetworks(Network.Builder builderForValue)
Output only.Network.Builder
addNetworksBuilder()
Output only.Network.Builder
addNetworksBuilder(int index)
Output only.Instance.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance.Builder
addVolumes(int index, Volume value)
Input only.Instance.Builder
addVolumes(int index, Volume.Builder builderForValue)
Input only.Instance.Builder
addVolumes(Volume value)
Input only.Instance.Builder
addVolumes(Volume.Builder builderForValue)
Input only.Volume.Builder
addVolumesBuilder()
Input only.Volume.Builder
addVolumesBuilder(int index)
Input only.Instance
build()
Instance
buildPartial()
Instance.Builder
clear()
Instance.Builder
clearCreateTime()
Output only.Instance.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
Instance.Builder
clearFirmwareVersion()
Output only.Instance.Builder
clearHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false.Instance.Builder
clearId()
Output only.Instance.Builder
clearInteractiveSerialConsoleEnabled()
Output only.Instance.Builder
clearLabels()
Instance.Builder
clearLogicalInterfaces()
List of logical interfaces for the instance.Instance.Builder
clearLoginInfo()
Output only.Instance.Builder
clearLuns()
Immutable.Instance.Builder
clearMachineType()
Immutable.Instance.Builder
clearName()
Immutable.Instance.Builder
clearNetworks()
Output only.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()
Output only.Instance.Builder
clearUpdateTime()
Output only.Instance.Builder
clearVolumes()
Input only.Instance.Builder
clearWorkloadProfile()
The workload profile for the instance.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()
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.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.String
getLoginInfo()
Output only.com.google.protobuf.ByteString
getLoginInfoBytes()
Output only.Lun
getLuns(int index)
Immutable.Lun.Builder
getLunsBuilder(int index)
Immutable.List<Lun.Builder>
getLunsBuilderList()
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.Map<String,String>
getMutableLabels()
Deprecated.String
getName()
Immutable.com.google.protobuf.ByteString
getNameBytes()
Immutable.Network
getNetworks(int index)
Output only.Network.Builder
getNetworksBuilder(int index)
Output only.List<Network.Builder>
getNetworksBuilderList()
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.String
getPod()
Immutable.com.google.protobuf.ByteString
getPodBytes()
Immutable.Instance.State
getState()
Output only.int
getStateValue()
Output only.com.google.protobuf.Timestamp
getUpdateTime()
Output only.com.google.protobuf.Timestamp.Builder
getUpdateTimeBuilder()
Output only.com.google.protobuf.TimestampOrBuilder
getUpdateTimeOrBuilder()
Output only.Volume
getVolumes(int index)
Input only.Volume.Builder
getVolumesBuilder(int index)
Input only.List<Volume.Builder>
getVolumesBuilderList()
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.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(Instance other)
Instance.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
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)
Immutable.Instance.Builder
removeNetworks(int index)
Output only.Instance.Builder
removeVolumes(int index)
Input only.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
Instance.Builder
setFirmwareVersion(String value)
Output only.Instance.Builder
setFirmwareVersionBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setHyperthreadingEnabled(boolean value)
True if you enable hyperthreading for the server, otherwise false.Instance.Builder
setId(String value)
Output only.Instance.Builder
setIdBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setInteractiveSerialConsoleEnabled(boolean value)
Output only.Instance.Builder
setLogicalInterfaces(int index, LogicalInterface value)
List of logical interfaces for the instance.Instance.Builder
setLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)
List of logical interfaces for the instance.Instance.Builder
setLoginInfo(String value)
Output only.Instance.Builder
setLoginInfoBytes(com.google.protobuf.ByteString value)
Output only.Instance.Builder
setLuns(int index, Lun value)
Immutable.Instance.Builder
setLuns(int index, Lun.Builder builderForValue)
Immutable.Instance.Builder
setMachineType(String value)
Immutable.Instance.Builder
setMachineTypeBytes(com.google.protobuf.ByteString value)
Immutable.Instance.Builder
setName(String value)
Immutable.Instance.Builder
setNameBytes(com.google.protobuf.ByteString value)
Immutable.Instance.Builder
setNetworks(int index, Network value)
Output only.Instance.Builder
setNetworks(int index, Network.Builder builderForValue)
Output only.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)
Output only.Instance.Builder
setStateValue(int value)
Output only.Instance.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp value)
Output only.Instance.Builder
setUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)
Output only.Instance.Builder
setVolumes(int index, Volume value)
Input only.Instance.Builder
setVolumes(int index, Volume.Builder builderForValue)
Input only.Instance.Builder
setWorkloadProfile(WorkloadProfile value)
The workload profile for the instance.Instance.Builder
setWorkloadProfileValue(int value)
The workload profile for the instance.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
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.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
- Throws:
IOException
-
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.
-
setName
public Instance.Builder setName(String value)
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];
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Instance.Builder clearName()
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];
- Returns:
- This builder for chaining.
-
setNameBytes
public Instance.Builder setNameBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
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.
-
setId
public Instance.Builder setId(String value)
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
clearId
public Instance.Builder clearId()
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setIdBytes
public Instance.Builder setIdBytes(com.google.protobuf.ByteString value)
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
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.
-
setCreateTime
public 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];
-
setCreateTime
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];
-
mergeCreateTime
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];
-
clearCreateTime
public Instance.Builder clearCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getCreateTimeBuilder
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];
-
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.
-
setUpdateTime
public 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];
-
setUpdateTime
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];
-
mergeUpdateTime
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];
-
clearUpdateTime
public Instance.Builder clearUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
getUpdateTimeBuilder
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];
-
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.
-
setMachineType
public Instance.Builder setMachineType(String value)
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];
- Parameters:
value
- The machineType to set.- Returns:
- This builder for chaining.
-
clearMachineType
public Instance.Builder clearMachineType()
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];
- Returns:
- This builder for chaining.
-
setMachineTypeBytes
public Instance.Builder setMachineTypeBytes(com.google.protobuf.ByteString value)
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];
- Parameters:
value
- The bytes for machineType to set.- Returns:
- This builder for chaining.
-
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.
-
setStateValue
public Instance.Builder setStateValue(int value)
Output only. The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The enum numeric value on the wire for state to set.- Returns:
- This builder for chaining.
-
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.
-
setState
public Instance.Builder setState(Instance.State value)
Output only. The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The state to set.- Returns:
- This builder for chaining.
-
clearState
public Instance.Builder clearState()
Output only. The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
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.
-
setHyperthreadingEnabled
public Instance.Builder setHyperthreadingEnabled(boolean value)
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;
- Parameters:
value
- The hyperthreadingEnabled to set.- Returns:
- This builder for chaining.
-
clearHyperthreadingEnabled
public Instance.Builder clearHyperthreadingEnabled()
True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;
- Returns:
- This builder for chaining.
-
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
-
clearLabels
public Instance.Builder clearLabels()
-
removeLabels
public Instance.Builder removeLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
public Instance.Builder putLabels(String key, String value)
Labels as key value pairs.
map<string, string> labels = 7;
-
putAllLabels
public Instance.Builder putAllLabels(Map<String,String> values)
Labels as key value pairs.
map<string, string> labels = 7;
-
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
-
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
-
setLuns
public Instance.Builder setLuns(int index, Lun value)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
setLuns
public Instance.Builder setLuns(int index, Lun.Builder builderForValue)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addLuns
public Instance.Builder addLuns(Lun value)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addLuns
public Instance.Builder addLuns(int index, Lun value)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addLuns
public Instance.Builder addLuns(Lun.Builder builderForValue)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addLuns
public Instance.Builder addLuns(int index, Lun.Builder builderForValue)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addAllLuns
public Instance.Builder addAllLuns(Iterable<? extends Lun> values)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
clearLuns
public Instance.Builder clearLuns()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
removeLuns
public Instance.Builder removeLuns(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
getLunsBuilder
public Lun.Builder getLunsBuilder(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
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
-
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
-
addLunsBuilder
public Lun.Builder addLunsBuilder()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
addLunsBuilder
public Lun.Builder addLunsBuilder(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
getLunsBuilderList
public List<Lun.Builder> getLunsBuilderList()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];
-
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
-
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
-
setVolumes
public Instance.Builder setVolumes(int index, Volume value)
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];
-
setVolumes
public Instance.Builder setVolumes(int index, Volume.Builder builderForValue)
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];
-
addVolumes
public Instance.Builder addVolumes(Volume value)
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];
-
addVolumes
public Instance.Builder addVolumes(int index, Volume value)
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];
-
addVolumes
public Instance.Builder addVolumes(Volume.Builder builderForValue)
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];
-
addVolumes
public Instance.Builder addVolumes(int index, Volume.Builder builderForValue)
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];
-
addAllVolumes
public Instance.Builder addAllVolumes(Iterable<? extends Volume> values)
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];
-
clearVolumes
public Instance.Builder clearVolumes()
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];
-
removeVolumes
public Instance.Builder removeVolumes(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];
-
getVolumesBuilder
public Volume.Builder getVolumesBuilder(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];
-
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
-
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
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder()
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];
-
addVolumesBuilder
public Volume.Builder addVolumesBuilder(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];
-
getVolumesBuilderList
public List<Volume.Builder> getVolumesBuilderList()
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];
-
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
-
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
-
setNetworks
public Instance.Builder setNetworks(int index, Network value)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
setNetworks
public Instance.Builder setNetworks(int index, Network.Builder builderForValue)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworks
public Instance.Builder addNetworks(Network value)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworks
public Instance.Builder addNetworks(int index, Network value)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworks
public Instance.Builder addNetworks(Network.Builder builderForValue)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworks
public Instance.Builder addNetworks(int index, Network.Builder builderForValue)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addAllNetworks
public Instance.Builder addAllNetworks(Iterable<? extends Network> values)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
clearNetworks
public Instance.Builder clearNetworks()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
removeNetworks
public Instance.Builder removeNetworks(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];
-
getNetworksBuilder
public Network.Builder getNetworksBuilder(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];
-
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
-
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
-
addNetworksBuilder
public Network.Builder addNetworksBuilder()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
addNetworksBuilder
public Network.Builder addNetworksBuilder(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];
-
getNetworksBuilderList
public List<Network.Builder> getNetworksBuilderList()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
-
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.
-
setInteractiveSerialConsoleEnabled
public Instance.Builder setInteractiveSerialConsoleEnabled(boolean value)
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];
- Parameters:
value
- The interactiveSerialConsoleEnabled to set.- Returns:
- This builder for chaining.
-
clearInteractiveSerialConsoleEnabled
public Instance.Builder clearInteractiveSerialConsoleEnabled()
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];
- Returns:
- This builder for chaining.
-
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.
-
setOsImage
public Instance.Builder setOsImage(String value)
The OS image currently installed on the server.
string os_image = 12;
- Parameters:
value
- The osImage to set.- Returns:
- This builder for chaining.
-
clearOsImage
public Instance.Builder clearOsImage()
The OS image currently installed on the server.
string os_image = 12;
- Returns:
- This builder for chaining.
-
setOsImageBytes
public Instance.Builder setOsImageBytes(com.google.protobuf.ByteString value)
The OS image currently installed on the server.
string os_image = 12;
- Parameters:
value
- The bytes for osImage to set.- Returns:
- This builder for chaining.
-
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.
-
setPod
public 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];
- Parameters:
value
- The pod to set.- Returns:
- This builder for chaining.
-
clearPod
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];
- Returns:
- This builder for chaining.
-
setPodBytes
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];
- Parameters:
value
- The bytes for pod to set.- Returns:
- This builder for chaining.
-
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.
-
setNetworkTemplate
public 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) = { ... }
- Parameters:
value
- The networkTemplate to set.- Returns:
- This builder for chaining.
-
clearNetworkTemplate
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) = { ... }
- Returns:
- This builder for chaining.
-
setNetworkTemplateBytes
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) = { ... }
- Parameters:
value
- The bytes for networkTemplate to set.- Returns:
- This builder for chaining.
-
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
-
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
-
setLogicalInterfaces
public 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;
-
setLogicalInterfaces
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;
-
addLogicalInterfaces
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;
-
addLogicalInterfaces
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;
-
addLogicalInterfaces
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;
-
addLogicalInterfaces
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;
-
addAllLogicalInterfaces
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;
-
clearLogicalInterfaces
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;
-
removeLogicalInterfaces
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;
-
getLogicalInterfacesBuilder
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;
-
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
-
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
-
addLogicalInterfacesBuilder
public 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;
-
addLogicalInterfacesBuilder
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;
-
getLogicalInterfacesBuilderList
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;
-
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.
-
setLoginInfo
public Instance.Builder setLoginInfo(String value)
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The loginInfo to set.- Returns:
- This builder for chaining.
-
clearLoginInfo
public Instance.Builder clearLoginInfo()
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setLoginInfoBytes
public Instance.Builder setLoginInfoBytes(com.google.protobuf.ByteString value)
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for loginInfo to set.- Returns:
- This builder for chaining.
-
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.
-
setWorkloadProfileValue
public Instance.Builder setWorkloadProfileValue(int value)
The workload profile for the instance.
.google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
- Parameters:
value
- The enum numeric value on the wire for workloadProfile to set.- Returns:
- This builder for chaining.
-
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.
-
setWorkloadProfile
public Instance.Builder setWorkloadProfile(WorkloadProfile value)
The workload profile for the instance.
.google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
- Parameters:
value
- The workloadProfile to set.- Returns:
- This builder for chaining.
-
clearWorkloadProfile
public Instance.Builder clearWorkloadProfile()
The workload profile for the instance.
.google.cloud.baremetalsolution.v2.WorkloadProfile workload_profile = 18;
- Returns:
- This builder for chaining.
-
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.
-
setFirmwareVersion
public Instance.Builder setFirmwareVersion(String value)
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The firmwareVersion to set.- Returns:
- This builder for chaining.
-
clearFirmwareVersion
public Instance.Builder clearFirmwareVersion()
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- This builder for chaining.
-
setFirmwareVersionBytes
public Instance.Builder setFirmwareVersionBytes(com.google.protobuf.ByteString value)
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Parameters:
value
- The bytes for firmwareVersion to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final Instance.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-