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)
Overrides
public UpdateInstanceRequest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides