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.BuilderaddAllLogicalInterfaces(Iterable<? extends LogicalInterface> values)List of logical interfaces for the instance.Instance.BuilderaddAllLuns(Iterable<? extends Lun> values)Immutable.Instance.BuilderaddAllNetworks(Iterable<? extends Network> values)Output only.Instance.BuilderaddAllVolumes(Iterable<? extends Volume> values)Input only.Instance.BuilderaddLogicalInterfaces(int index, LogicalInterface value)List of logical interfaces for the instance.Instance.BuilderaddLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.Instance.BuilderaddLogicalInterfaces(LogicalInterface value)List of logical interfaces for the instance.Instance.BuilderaddLogicalInterfaces(LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.LogicalInterface.BuilderaddLogicalInterfacesBuilder()List of logical interfaces for the instance.LogicalInterface.BuilderaddLogicalInterfacesBuilder(int index)List of logical interfaces for the instance.Instance.BuilderaddLuns(int index, Lun value)Immutable.Instance.BuilderaddLuns(int index, Lun.Builder builderForValue)Immutable.Instance.BuilderaddLuns(Lun value)Immutable.Instance.BuilderaddLuns(Lun.Builder builderForValue)Immutable.Lun.BuilderaddLunsBuilder()Immutable.Lun.BuilderaddLunsBuilder(int index)Immutable.Instance.BuilderaddNetworks(int index, Network value)Output only.Instance.BuilderaddNetworks(int index, Network.Builder builderForValue)Output only.Instance.BuilderaddNetworks(Network value)Output only.Instance.BuilderaddNetworks(Network.Builder builderForValue)Output only.Network.BuilderaddNetworksBuilder()Output only.Network.BuilderaddNetworksBuilder(int index)Output only.Instance.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuilderaddVolumes(int index, Volume value)Input only.Instance.BuilderaddVolumes(int index, Volume.Builder builderForValue)Input only.Instance.BuilderaddVolumes(Volume value)Input only.Instance.BuilderaddVolumes(Volume.Builder builderForValue)Input only.Volume.BuilderaddVolumesBuilder()Input only.Volume.BuilderaddVolumesBuilder(int index)Input only.Instancebuild()InstancebuildPartial()Instance.Builderclear()Instance.BuilderclearCreateTime()Output only.Instance.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Instance.BuilderclearFirmwareVersion()Output only.Instance.BuilderclearHyperthreadingEnabled()True if you enable hyperthreading for the server, otherwise false.Instance.BuilderclearId()Output only.Instance.BuilderclearInteractiveSerialConsoleEnabled()Output only.Instance.BuilderclearLabels()Instance.BuilderclearLogicalInterfaces()List of logical interfaces for the instance.Instance.BuilderclearLoginInfo()Output only.Instance.BuilderclearLuns()Immutable.Instance.BuilderclearMachineType()Immutable.Instance.BuilderclearName()Immutable.Instance.BuilderclearNetworks()Output only.Instance.BuilderclearNetworkTemplate()Instance network template name.Instance.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Instance.BuilderclearOsImage()The OS image currently installed on the server.Instance.BuilderclearPod()Immutable.Instance.BuilderclearState()Output only.Instance.BuilderclearUpdateTime()Output only.Instance.BuilderclearVolumes()Input only.Instance.BuilderclearWorkloadProfile()The workload profile for the instance.Instance.Builderclone()booleancontainsLabels(String key)Labels as key value pairs.com.google.protobuf.TimestampgetCreateTime()Output only.com.google.protobuf.Timestamp.BuildergetCreateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetCreateTimeOrBuilder()Output only.InstancegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFirmwareVersion()Output only.com.google.protobuf.ByteStringgetFirmwareVersionBytes()Output only.booleangetHyperthreadingEnabled()True if you enable hyperthreading for the server, otherwise false.StringgetId()Output only.com.google.protobuf.ByteStringgetIdBytes()Output only.booleangetInteractiveSerialConsoleEnabled()Output only.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels as key value pairs.Map<String,String>getLabelsMap()Labels as key value pairs.StringgetLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.StringgetLabelsOrThrow(String key)Labels as key value pairs.LogicalInterfacegetLogicalInterfaces(int index)List of logical interfaces for the instance.LogicalInterface.BuildergetLogicalInterfacesBuilder(int index)List of logical interfaces for the instance.List<LogicalInterface.Builder>getLogicalInterfacesBuilderList()List of logical interfaces for the instance.intgetLogicalInterfacesCount()List of logical interfaces for the instance.List<LogicalInterface>getLogicalInterfacesList()List of logical interfaces for the instance.LogicalInterfaceOrBuildergetLogicalInterfacesOrBuilder(int index)List of logical interfaces for the instance.List<? extends LogicalInterfaceOrBuilder>getLogicalInterfacesOrBuilderList()List of logical interfaces for the instance.StringgetLoginInfo()Output only.com.google.protobuf.ByteStringgetLoginInfoBytes()Output only.LungetLuns(int index)Immutable.Lun.BuildergetLunsBuilder(int index)Immutable.List<Lun.Builder>getLunsBuilderList()Immutable.intgetLunsCount()Immutable.List<Lun>getLunsList()Immutable.LunOrBuildergetLunsOrBuilder(int index)Immutable.List<? extends LunOrBuilder>getLunsOrBuilderList()Immutable.StringgetMachineType()Immutable.com.google.protobuf.ByteStringgetMachineTypeBytes()Immutable.Map<String,String>getMutableLabels()Deprecated.StringgetName()Immutable.com.google.protobuf.ByteStringgetNameBytes()Immutable.NetworkgetNetworks(int index)Output only.Network.BuildergetNetworksBuilder(int index)Output only.List<Network.Builder>getNetworksBuilderList()Output only.intgetNetworksCount()Output only.List<Network>getNetworksList()Output only.NetworkOrBuildergetNetworksOrBuilder(int index)Output only.List<? extends NetworkOrBuilder>getNetworksOrBuilderList()Output only.StringgetNetworkTemplate()Instance network template name.com.google.protobuf.ByteStringgetNetworkTemplateBytes()Instance network template name.StringgetOsImage()The OS image currently installed on the server.com.google.protobuf.ByteStringgetOsImageBytes()The OS image currently installed on the server.StringgetPod()Immutable.com.google.protobuf.ByteStringgetPodBytes()Immutable.Instance.StategetState()Output only.intgetStateValue()Output only.com.google.protobuf.TimestampgetUpdateTime()Output only.com.google.protobuf.Timestamp.BuildergetUpdateTimeBuilder()Output only.com.google.protobuf.TimestampOrBuildergetUpdateTimeOrBuilder()Output only.VolumegetVolumes(int index)Input only.Volume.BuildergetVolumesBuilder(int index)Input only.List<Volume.Builder>getVolumesBuilderList()Input only.intgetVolumesCount()Input only.List<Volume>getVolumesList()Input only.VolumeOrBuildergetVolumesOrBuilder(int index)Input only.List<? extends VolumeOrBuilder>getVolumesOrBuilderList()Input only.WorkloadProfilegetWorkloadProfile()The workload profile for the instance.intgetWorkloadProfileValue()The workload profile for the instance.booleanhasCreateTime()Output only.booleanhasUpdateTime()Output only.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()Instance.BuildermergeCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildermergeFrom(Instance other)Instance.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Instance.BuildermergeFrom(com.google.protobuf.Message other)Instance.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildermergeUpdateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuilderputAllLabels(Map<String,String> values)Labels as key value pairs.Instance.BuilderputLabels(String key, String value)Labels as key value pairs.Instance.BuilderremoveLabels(String key)Labels as key value pairs.Instance.BuilderremoveLogicalInterfaces(int index)List of logical interfaces for the instance.Instance.BuilderremoveLuns(int index)Immutable.Instance.BuilderremoveNetworks(int index)Output only.Instance.BuilderremoveVolumes(int index)Input only.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Instance.BuildersetFirmwareVersion(String value)Output only.Instance.BuildersetFirmwareVersionBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetHyperthreadingEnabled(boolean value)True if you enable hyperthreading for the server, otherwise false.Instance.BuildersetId(String value)Output only.Instance.BuildersetIdBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetInteractiveSerialConsoleEnabled(boolean value)Output only.Instance.BuildersetLogicalInterfaces(int index, LogicalInterface value)List of logical interfaces for the instance.Instance.BuildersetLogicalInterfaces(int index, LogicalInterface.Builder builderForValue)List of logical interfaces for the instance.Instance.BuildersetLoginInfo(String value)Output only.Instance.BuildersetLoginInfoBytes(com.google.protobuf.ByteString value)Output only.Instance.BuildersetLuns(int index, Lun value)Immutable.Instance.BuildersetLuns(int index, Lun.Builder builderForValue)Immutable.Instance.BuildersetMachineType(String value)Immutable.Instance.BuildersetMachineTypeBytes(com.google.protobuf.ByteString value)Immutable.Instance.BuildersetName(String value)Immutable.Instance.BuildersetNameBytes(com.google.protobuf.ByteString value)Immutable.Instance.BuildersetNetworks(int index, Network value)Output only.Instance.BuildersetNetworks(int index, Network.Builder builderForValue)Output only.Instance.BuildersetNetworkTemplate(String value)Instance network template name.Instance.BuildersetNetworkTemplateBytes(com.google.protobuf.ByteString value)Instance network template name.Instance.BuildersetOsImage(String value)The OS image currently installed on the server.Instance.BuildersetOsImageBytes(com.google.protobuf.ByteString value)The OS image currently installed on the server.Instance.BuildersetPod(String value)Immutable.Instance.BuildersetPodBytes(com.google.protobuf.ByteString value)Immutable.Instance.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Instance.BuildersetState(Instance.State value)Output only.Instance.BuildersetStateValue(int value)Output only.Instance.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Instance.BuildersetUpdateTime(com.google.protobuf.Timestamp value)Output only.Instance.BuildersetUpdateTime(com.google.protobuf.Timestamp.Builder builderForValue)Output only.Instance.BuildersetVolumes(int index, Volume value)Input only.Instance.BuildersetVolumes(int index, Volume.Builder builderForValue)Input only.Instance.BuildersetWorkloadProfile(WorkloadProfile value)The workload profile for the instance.Instance.BuildersetWorkloadProfileValue(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clear
public Instance.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
getDefaultInstanceForType
public Instance getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Instance build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Instance buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Instance.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setField
public Instance.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearField
public Instance.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
clearOneof
public Instance.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
setRepeatedField
public Instance.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
addRepeatedField
public Instance.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Instance.Builder>
-
mergeFrom
public Instance.Builder mergeFrom(Instance other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getNamein interfaceInstanceOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
Immutable. The resource name of this `Instance`. Resource names are schemeless URIs that follow the conventions in https://cloud.google.com/apis/design/resource_names. Format: `projects/{project}/locations/{location}/instances/{instance}`string name = 1 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getNameBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for name.
-
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:
getIdin interfaceInstanceOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
Output only. An identifier for the `Instance`, generated by the backend.
string id = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getIdBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for id.
-
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:
hasCreateTimein interfaceInstanceOrBuilder- Returns:
- Whether the createTime field is set.
-
getCreateTime
public com.google.protobuf.Timestamp getCreateTime()
Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getCreateTimein interfaceInstanceOrBuilder- Returns:
- The createTime.
-
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:
getCreateTimeOrBuilderin interfaceInstanceOrBuilder
-
hasUpdateTime
public boolean hasUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
hasUpdateTimein interfaceInstanceOrBuilder- Returns:
- Whether the updateTime field is set.
-
getUpdateTime
public com.google.protobuf.Timestamp getUpdateTime()
Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getUpdateTimein interfaceInstanceOrBuilder- Returns:
- The updateTime.
-
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:
getUpdateTimeOrBuilderin interfaceInstanceOrBuilder
-
getMachineType
public String getMachineType()
Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getMachineTypein interfaceInstanceOrBuilder- Returns:
- The machineType.
-
getMachineTypeBytes
public com.google.protobuf.ByteString getMachineTypeBytes()
Immutable. The server type. [Available server types](https://cloud.google.com/bare-metal/docs/bms-planning#server_configurations)
string machine_type = 4 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getMachineTypeBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for machineType.
-
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:
getStateValuein 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:
getStatein 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:
getHyperthreadingEnabledin 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:InstanceOrBuilderLabels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsCountin interfaceInstanceOrBuilder
-
containsLabels
public boolean containsLabels(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
containsLabelsin interfaceInstanceOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin interfaceInstanceOrBuilder
-
getLabelsMap
public Map<String,String> getLabelsMap()
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsMapin interfaceInstanceOrBuilder
-
getLabelsOrDefault
public String getLabelsOrDefault(String key, String defaultValue)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrDefaultin interfaceInstanceOrBuilder
-
getLabelsOrThrow
public String getLabelsOrThrow(String key)
Labels as key value pairs.
map<string, string> labels = 7;- Specified by:
getLabelsOrThrowin interfaceInstanceOrBuilder
-
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:
getLunsListin interfaceInstanceOrBuilder
-
getLunsCount
public int getLunsCount()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLunsCountin interfaceInstanceOrBuilder
-
getLuns
public Lun getLuns(int index)
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLunsin interfaceInstanceOrBuilder
-
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:
getLunsOrBuilderin interfaceInstanceOrBuilder
-
getLunsOrBuilderList
public List<? extends LunOrBuilder> getLunsOrBuilderList()
Immutable. List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getLunsOrBuilderListin interfaceInstanceOrBuilder
-
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:
getVolumesListin interfaceInstanceOrBuilder
-
getVolumesCount
public int getVolumesCount()
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getVolumesCountin interfaceInstanceOrBuilder
-
getVolumes
public Volume getVolumes(int index)
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getVolumesin interfaceInstanceOrBuilder
-
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:
getVolumesOrBuilderin interfaceInstanceOrBuilder
-
getVolumesOrBuilderList
public List<? extends VolumeOrBuilder> getVolumesOrBuilderList()
Input only. List of Volumes to attach to this Instance on creation. This field won't be populated in Get/List responses.
repeated .google.cloud.baremetalsolution.v2.Volume volumes = 16 [(.google.api.field_behavior) = INPUT_ONLY];- Specified by:
getVolumesOrBuilderListin interfaceInstanceOrBuilder
-
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:
getNetworksListin interfaceInstanceOrBuilder
-
getNetworksCount
public int getNetworksCount()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworksCountin interfaceInstanceOrBuilder
-
getNetworks
public Network getNetworks(int index)
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworksin interfaceInstanceOrBuilder
-
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:
getNetworksOrBuilderin interfaceInstanceOrBuilder
-
getNetworksOrBuilderList
public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()
Output only. List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getNetworksOrBuilderListin interfaceInstanceOrBuilder
-
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:
getInteractiveSerialConsoleEnabledin 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:
getOsImagein interfaceInstanceOrBuilder- Returns:
- The osImage.
-
getOsImageBytes
public com.google.protobuf.ByteString getOsImageBytes()
The OS image currently installed on the server.
string os_image = 12;- Specified by:
getOsImageBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for osImage.
-
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:
getPodin interfaceInstanceOrBuilder- Returns:
- The pod.
-
getPodBytes
public com.google.protobuf.ByteString getPodBytes()
Immutable. Pod name. Pod is an independent part of infrastructure. Instance can be connected to the assets (networks, volumes) allocated in the same pod only.
string pod = 13 [(.google.api.field_behavior) = IMMUTABLE];- Specified by:
getPodBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for pod.
-
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:
getNetworkTemplatein interfaceInstanceOrBuilder- Returns:
- The networkTemplate.
-
getNetworkTemplateBytes
public com.google.protobuf.ByteString getNetworkTemplateBytes()
Instance network template name. For eg, bondaa-bondaa, bondab-nic, etc. Generally, the template name follows the syntax of "bond<bond_mode>" or "nic".
string network_template = 14 [(.google.api.resource_reference) = { ... }- Specified by:
getNetworkTemplateBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for networkTemplate.
-
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:
getLogicalInterfacesListin interfaceInstanceOrBuilder
-
getLogicalInterfacesCount
public int getLogicalInterfacesCount()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;- Specified by:
getLogicalInterfacesCountin interfaceInstanceOrBuilder
-
getLogicalInterfaces
public LogicalInterface getLogicalInterfaces(int index)
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;- Specified by:
getLogicalInterfacesin interfaceInstanceOrBuilder
-
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:
getLogicalInterfacesOrBuilderin interfaceInstanceOrBuilder
-
getLogicalInterfacesOrBuilderList
public List<? extends LogicalInterfaceOrBuilder> getLogicalInterfacesOrBuilderList()
List of logical interfaces for the instance. The number of logical interfaces will be the same as number of hardware bond/nic on the chosen network template. For the non-multivlan configurations (for eg, existing servers) that use existing default network template (bondaa-bondaa), both the Instance.networks field and the Instance.logical_interfaces fields will be filled to ensure backward compatibility. For the others, only Instance.logical_interfaces will be filled.
repeated .google.cloud.baremetalsolution.v2.LogicalInterface logical_interfaces = 15;- Specified by:
getLogicalInterfacesOrBuilderListin interfaceInstanceOrBuilder
-
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:
getLoginInfoin interfaceInstanceOrBuilder- Returns:
- The loginInfo.
-
getLoginInfoBytes
public com.google.protobuf.ByteString getLoginInfoBytes()
Output only. Text field about info for logging in.
string login_info = 17 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getLoginInfoBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for loginInfo.
-
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:
getWorkloadProfileValuein 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:
getWorkloadProfilein 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:
getFirmwareVersionin interfaceInstanceOrBuilder- Returns:
- The firmwareVersion.
-
getFirmwareVersionBytes
public com.google.protobuf.ByteString getFirmwareVersionBytes()
Output only. The firmware version for the instance.
string firmware_version = 19 [(.google.api.field_behavior) = OUTPUT_ONLY];- Specified by:
getFirmwareVersionBytesin interfaceInstanceOrBuilder- Returns:
- The bytes for firmwareVersion.
-
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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
mergeUnknownFields
public final Instance.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Instance.Builder>
-
-