- 0.76.0 (latest)
- 0.75.0
- 0.74.0
- 0.73.0
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.10.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.8
- 0.2.1
- 0.1.1
public static final class Instance.Builder extends GeneratedMessageV3.Builder<Instance.Builder> implements InstanceOrBuilderA server.
Protobuf type google.cloud.baremetalsolution.v2.Instance
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Instance.BuilderImplements
InstanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Type | Description |
| Descriptor |
Methods
addAllLuns(Iterable<? extends Lun> values)
public Instance.Builder addAllLuns(Iterable<? extends Lun> values)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| values | Iterable<? extends com.google.cloud.baremetalsolution.v2.Lun> |
| Type | Description |
| Instance.Builder |
addAllNetworks(Iterable<? extends Network> values)
public Instance.Builder addAllNetworks(Iterable<? extends Network> values)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| values | Iterable<? extends com.google.cloud.baremetalsolution.v2.Network> |
| Type | Description |
| Instance.Builder |
addLuns(Lun value)
public Instance.Builder addLuns(Lun value)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| value | Lun |
| Type | Description |
| Instance.Builder |
addLuns(Lun.Builder builderForValue)
public Instance.Builder addLuns(Lun.Builder builderForValue)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| builderForValue | Lun.Builder |
| Type | Description |
| Instance.Builder |
addLuns(int index, Lun value)
public Instance.Builder addLuns(int index, Lun value)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| value | Lun |
| Type | Description |
| Instance.Builder |
addLuns(int index, Lun.Builder builderForValue)
public Instance.Builder addLuns(int index, Lun.Builder builderForValue)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| builderForValue | Lun.Builder |
| Type | Description |
| Instance.Builder |
addLunsBuilder()
public Lun.Builder addLunsBuilder()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| Lun.Builder |
addLunsBuilder(int index)
public Lun.Builder addLunsBuilder(int index)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| Type | Description |
| Lun.Builder |
addNetworks(Network value)
public Instance.Builder addNetworks(Network value)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| value | Network |
| Type | Description |
| Instance.Builder |
addNetworks(Network.Builder builderForValue)
public Instance.Builder addNetworks(Network.Builder builderForValue)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| builderForValue | Network.Builder |
| Type | Description |
| Instance.Builder |
addNetworks(int index, Network value)
public Instance.Builder addNetworks(int index, Network value)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| value | Network |
| Type | Description |
| Instance.Builder |
addNetworks(int index, Network.Builder builderForValue)
public Instance.Builder addNetworks(int index, Network.Builder builderForValue)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| builderForValue | Network.Builder |
| Type | Description |
| Instance.Builder |
addNetworksBuilder()
public Network.Builder addNetworksBuilder()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| Network.Builder |
addNetworksBuilder(int index)
public Network.Builder addNetworksBuilder(int index)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| Type | Description |
| Network.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Instance.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Instance.Builder |
build()
public Instance build()| Type | Description |
| Instance |
buildPartial()
public Instance buildPartial()| Type | Description |
| Instance |
clear()
public Instance.Builder clear()| Type | Description |
| Instance.Builder |
clearCreateTime()
public Instance.Builder clearCreateTime()Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Instance.Builder |
clearField(Descriptors.FieldDescriptor field)
public Instance.Builder clearField(Descriptors.FieldDescriptor field)| Name | Description |
| field | FieldDescriptor |
| Type | Description |
| Instance.Builder |
clearHyperthreadingEnabled()
public Instance.Builder clearHyperthreadingEnabled()True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;
| Type | Description |
| Instance.Builder | This builder for chaining. |
clearInteractiveSerialConsoleEnabled()
public Instance.Builder clearInteractiveSerialConsoleEnabled()True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
bool interactive_serial_console_enabled = 10;
| Type | Description |
| Instance.Builder | This builder for chaining. |
clearLabels()
public Instance.Builder clearLabels()| Type | Description |
| Instance.Builder |
clearLuns()
public Instance.Builder clearLuns()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| Instance.Builder |
clearMachineType()
public Instance.Builder clearMachineType()The server type. Available server types
string machine_type = 4;
| Type | Description |
| Instance.Builder | This builder for chaining. |
clearName()
public Instance.Builder clearName() Output only. The resource name of this Instance.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Instance.Builder | This builder for chaining. |
clearNetworks()
public Instance.Builder clearNetworks()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| Instance.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Instance.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Name | Description |
| oneof | OneofDescriptor |
| Type | Description |
| Instance.Builder |
clearState()
public Instance.Builder clearState()The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;
| Type | Description |
| Instance.Builder | This builder for chaining. |
clearUpdateTime()
public Instance.Builder clearUpdateTime()Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Instance.Builder |
clone()
public Instance.Builder clone()| Type | Description |
| Instance.Builder |
containsLabels(String key)
public boolean containsLabels(String key)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| key | String |
| Type | Description |
| boolean |
getCreateTime()
public Timestamp getCreateTime()Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The createTime. |
getCreateTimeBuilder()
public Timestamp.Builder getCreateTimeBuilder()Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getCreateTimeOrBuilder()
public TimestampOrBuilder getCreateTimeOrBuilder()Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
getDefaultInstanceForType()
public Instance getDefaultInstanceForType()| Type | Description |
| Instance |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Type | Description |
| Descriptor |
getHyperthreadingEnabled()
public boolean getHyperthreadingEnabled()True if you enable hyperthreading for the server, otherwise false. The default value is false.
bool hyperthreading_enabled = 6;
| Type | Description |
| boolean | The hyperthreadingEnabled. |
getInteractiveSerialConsoleEnabled()
public boolean getInteractiveSerialConsoleEnabled()True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
bool interactive_serial_console_enabled = 10;
| Type | Description |
| boolean | The interactiveSerialConsoleEnabled. |
getLabels()
public Map<String,String> getLabels()Use #getLabelsMap() instead.
| Type | Description |
| Map<String,String> |
getLabelsCount()
public int getLabelsCount()Labels as key value pairs.
map<string, string> labels = 7;
| Type | Description |
| int |
getLabelsMap()
public Map<String,String> getLabelsMap()Labels as key value pairs.
map<string, string> labels = 7;
| Type | Description |
| Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| key | String |
| defaultValue | String |
| Type | Description |
| String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| key | String |
| Type | Description |
| String |
getLuns(int index)
public Lun getLuns(int index)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| Type | Description |
| Lun |
getLunsBuilder(int index)
public Lun.Builder getLunsBuilder(int index)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| Type | Description |
| Lun.Builder |
getLunsBuilderList()
public List<Lun.Builder> getLunsBuilderList()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| List<Builder> |
getLunsCount()
public int getLunsCount()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| int |
getLunsList()
public List<Lun> getLunsList()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| List<Lun> |
getLunsOrBuilder(int index)
public LunOrBuilder getLunsOrBuilder(int index)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| Type | Description |
| LunOrBuilder |
getLunsOrBuilderList()
public List<? extends LunOrBuilder> getLunsOrBuilderList()List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Type | Description |
| List<? extends com.google.cloud.baremetalsolution.v2.LunOrBuilder> |
getMachineType()
public String getMachineType()The server type. Available server types
string machine_type = 4;
| Type | Description |
| String | The machineType. |
getMachineTypeBytes()
public ByteString getMachineTypeBytes()The server type. Available server types
string machine_type = 4;
| Type | Description |
| ByteString | The bytes for machineType. |
getMutableLabels()
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Type | Description |
| Map<String,String> |
getName()
public String getName() Output only. The resource name of this Instance.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| String | The name. |
getNameBytes()
public ByteString getNameBytes() Output only. The resource name of this Instance.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| ByteString | The bytes for name. |
getNetworks(int index)
public Network getNetworks(int index)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| Type | Description |
| Network |
getNetworksBuilder(int index)
public Network.Builder getNetworksBuilder(int index)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| Type | Description |
| Network.Builder |
getNetworksBuilderList()
public List<Network.Builder> getNetworksBuilderList()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| List<Builder> |
getNetworksCount()
public int getNetworksCount()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| int |
getNetworksList()
public List<Network> getNetworksList()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| List<Network> |
getNetworksOrBuilder(int index)
public NetworkOrBuilder getNetworksOrBuilder(int index)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| Type | Description |
| NetworkOrBuilder |
getNetworksOrBuilderList()
public List<? extends NetworkOrBuilder> getNetworksOrBuilderList()List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Type | Description |
| List<? extends com.google.cloud.baremetalsolution.v2.NetworkOrBuilder> |
getState()
public Instance.State getState()The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;
| Type | Description |
| Instance.State | The state. |
getStateValue()
public int getStateValue()The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;
| Type | Description |
| int | The enum numeric value on the wire for state. |
getUpdateTime()
public Timestamp getUpdateTime()Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Timestamp | The updateTime. |
getUpdateTimeBuilder()
public Timestamp.Builder getUpdateTimeBuilder()Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| Builder |
getUpdateTimeOrBuilder()
public TimestampOrBuilder getUpdateTimeOrBuilder()Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| TimestampOrBuilder |
hasCreateTime()
public boolean hasCreateTime()Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the createTime field is set. |
hasUpdateTime()
public boolean hasUpdateTime()Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Type | Description |
| boolean | Whether the updateTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Type | Description |
| FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)| Name | Description |
| number | int |
| Type | Description |
| MapField |
isInitialized()
public final boolean isInitialized()| Type | Description |
| boolean |
mergeCreateTime(Timestamp value)
public Instance.Builder mergeCreateTime(Timestamp value)Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Instance.Builder |
mergeFrom(Instance other)
public Instance.Builder mergeFrom(Instance other)| Name | Description |
| other | Instance |
| Type | Description |
| Instance.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Instance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Name | Description |
| input | CodedInputStream |
| extensionRegistry | ExtensionRegistryLite |
| Type | Description |
| Instance.Builder |
| Type | Description |
| IOException |
mergeFrom(Message other)
public Instance.Builder mergeFrom(Message other)| Name | Description |
| other | Message |
| Type | Description |
| Instance.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Instance.Builder |
mergeUpdateTime(Timestamp value)
public Instance.Builder mergeUpdateTime(Timestamp value)Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Instance.Builder |
putAllLabels(Map<String,String> values)
public Instance.Builder putAllLabels(Map<String,String> values)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| values | Map<String,String> |
| Type | Description |
| Instance.Builder |
putLabels(String key, String value)
public Instance.Builder putLabels(String key, String value)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| key | String |
| value | String |
| Type | Description |
| Instance.Builder |
removeLabels(String key)
public Instance.Builder removeLabels(String key)Labels as key value pairs.
map<string, string> labels = 7;
| Name | Description |
| key | String |
| Type | Description |
| Instance.Builder |
removeLuns(int index)
public Instance.Builder removeLuns(int index)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| Type | Description |
| Instance.Builder |
removeNetworks(int index)
public Instance.Builder removeNetworks(int index)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| Type | Description |
| Instance.Builder |
setCreateTime(Timestamp value)
public Instance.Builder setCreateTime(Timestamp value)Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Instance.Builder |
setCreateTime(Timestamp.Builder builderForValue)
public Instance.Builder setCreateTime(Timestamp.Builder builderForValue)Output only. Create a time stamp.
.google.protobuf.Timestamp create_time = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| Instance.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Instance.Builder setField(Descriptors.FieldDescriptor field, Object value)| Name | Description |
| field | FieldDescriptor |
| value | Object |
| Type | Description |
| Instance.Builder |
setHyperthreadingEnabled(boolean value)
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;
| Name | Description |
| value | booleanThe hyperthreadingEnabled to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setInteractiveSerialConsoleEnabled(boolean value)
public Instance.Builder setInteractiveSerialConsoleEnabled(boolean value)True if the interactive serial console feature is enabled for the instance, false otherwise. The default value is false.
bool interactive_serial_console_enabled = 10;
| Name | Description |
| value | booleanThe interactiveSerialConsoleEnabled to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setLuns(int index, Lun value)
public Instance.Builder setLuns(int index, Lun value)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| value | Lun |
| Type | Description |
| Instance.Builder |
setLuns(int index, Lun.Builder builderForValue)
public Instance.Builder setLuns(int index, Lun.Builder builderForValue)List of LUNs associated with this server.
repeated .google.cloud.baremetalsolution.v2.Lun luns = 8;
| Name | Description |
| index | int |
| builderForValue | Lun.Builder |
| Type | Description |
| Instance.Builder |
setMachineType(String value)
public Instance.Builder setMachineType(String value)The server type. Available server types
string machine_type = 4;
| Name | Description |
| value | StringThe machineType to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public Instance.Builder setMachineTypeBytes(ByteString value)The server type. Available server types
string machine_type = 4;
| Name | Description |
| value | ByteStringThe bytes for machineType to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setName(String value)
public Instance.Builder setName(String value) Output only. The resource name of this Instance.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | StringThe name to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public Instance.Builder setNameBytes(ByteString value) Output only. The resource name of this Instance.
Resource names are schemeless URIs that follow the conventions in
https://cloud.google.com/apis/design/resource_names.
Format:
projects/{project}/locations/{location}/instances/{instance}
string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | ByteStringThe bytes for name to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setNetworks(int index, Network value)
public Instance.Builder setNetworks(int index, Network value)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| value | Network |
| Type | Description |
| Instance.Builder |
setNetworks(int index, Network.Builder builderForValue)
public Instance.Builder setNetworks(int index, Network.Builder builderForValue)List of networks associated with this server.
repeated .google.cloud.baremetalsolution.v2.Network networks = 9;
| Name | Description |
| index | int |
| builderForValue | Network.Builder |
| Type | Description |
| Instance.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Instance.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Name | Description |
| field | FieldDescriptor |
| index | int |
| value | Object |
| Type | Description |
| Instance.Builder |
setState(Instance.State value)
public Instance.Builder setState(Instance.State value)The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;
| Name | Description |
| value | Instance.StateThe state to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setStateValue(int value)
public Instance.Builder setStateValue(int value)The state of the server.
.google.cloud.baremetalsolution.v2.Instance.State state = 5;
| Name | Description |
| value | intThe enum numeric value on the wire for state to set. |
| Type | Description |
| Instance.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final Instance.Builder setUnknownFields(UnknownFieldSet unknownFields)| Name | Description |
| unknownFields | UnknownFieldSet |
| Type | Description |
| Instance.Builder |
setUpdateTime(Timestamp value)
public Instance.Builder setUpdateTime(Timestamp value)Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| value | Timestamp |
| Type | Description |
| Instance.Builder |
setUpdateTime(Timestamp.Builder builderForValue)
public Instance.Builder setUpdateTime(Timestamp.Builder builderForValue)Output only. Update a time stamp.
.google.protobuf.Timestamp update_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Name | Description |
| builderForValue | Builder |
| Type | Description |
| Instance.Builder |