public final class UpdateInstanceRequest extends GeneratedMessageV3 implements UpdateInstanceRequestOrBuilder
Message requesting to updating a server.
Protobuf type google.cloud.baremetalsolution.v2.UpdateInstanceRequest
Static Fields
public static final int INSTANCE_FIELD_NUMBER
Field Value
public static final int UPDATE_MASK_FIELD_NUMBER
Field Value
Static Methods
public static UpdateInstanceRequest getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static UpdateInstanceRequest.Builder newBuilder()
Returns
public static UpdateInstanceRequest.Builder newBuilder(UpdateInstanceRequest prototype)
Parameter
Returns
public static UpdateInstanceRequest parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateInstanceRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static UpdateInstanceRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<UpdateInstanceRequest> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public UpdateInstanceRequest getDefaultInstanceForType()
Returns
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
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];
Returns
public Parser<UpdateInstanceRequest> getParserForType()
Returns
Overrides
public int getSerializedSize()
Returns
Overrides
public final UnknownFieldSet getUnknownFields()
Returns
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
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;
Returns
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
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public UpdateInstanceRequest.Builder newBuilderForType()
Returns
protected UpdateInstanceRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public UpdateInstanceRequest.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions