Send feedback
Class UpdateInstanceRequest (0.46.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.46.0 keyboard_arrow_down
public final class UpdateInstanceRequest extends GeneratedMessageV3 implements UpdateInstanceRequestOrBuilder
Message requesting to updating a server.
Protobuf type google.cloud.baremetalsolution.v2.UpdateInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int INSTANCE_FIELD_NUMBER
Field Value
Type
Description
int
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static UpdateInstanceRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static UpdateInstanceRequest . Builder newBuilder ()
public static UpdateInstanceRequest . Builder newBuilder ( UpdateInstanceRequest prototype )
public static UpdateInstanceRequest parseDelimitedFrom ( InputStream input )
public static UpdateInstanceRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateInstanceRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static UpdateInstanceRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static UpdateInstanceRequest parseFrom ( ByteString data )
public static UpdateInstanceRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static UpdateInstanceRequest parseFrom ( CodedInputStream input )
public static UpdateInstanceRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateInstanceRequest parseFrom ( InputStream input )
public static UpdateInstanceRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static UpdateInstanceRequest parseFrom ( ByteBuffer data )
public static UpdateInstanceRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<UpdateInstanceRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public UpdateInstanceRequest getDefaultInstanceForType ()
public Instance getInstance ()
Required. The server to update.
The name
field is used to identify the instance to update.
Format: projects/{project}/locations/{location}/instances/{instance}
.google.cloud.baremetalsolution.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
Instance
The instance.
public InstanceOrBuilder getInstanceOrBuilder ()
Required. The server to update.
The name
field is used to identify the instance to update.
Format: projects/{project}/locations/{location}/instances/{instance}
.google.cloud.baremetalsolution.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
public Parser<UpdateInstanceRequest> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
public FieldMask getUpdateMask ()
The list of fields to update.
The currently supported fields are:
labels
hyperthreading_enabled
os_image
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
FieldMask
The updateMask.
public FieldMaskOrBuilder getUpdateMaskOrBuilder ()
The list of fields to update.
The currently supported fields are:
labels
hyperthreading_enabled
os_image
.google.protobuf.FieldMask update_mask = 2;
public boolean hasInstance ()
Required. The server to update.
The name
field is used to identify the instance to update.
Format: projects/{project}/locations/{location}/instances/{instance}
.google.cloud.baremetalsolution.v2.Instance instance = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
boolean
Whether the instance field is set.
public boolean hasUpdateMask ()
The list of fields to update.
The currently supported fields are:
labels
hyperthreading_enabled
os_image
.google.protobuf.FieldMask update_mask = 2;
Returns
Type
Description
boolean
Whether the updateMask field is set.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public UpdateInstanceRequest . Builder newBuilderForType ()
protected UpdateInstanceRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public UpdateInstanceRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]