public static final class ResetInstanceRequest.Builder extends GeneratedMessageV3.Builder<ResetInstanceRequest.Builder> implements ResetInstanceRequestOrBuilder
Message requesting to reset a server.
Protobuf type google.cloud.baremetalsolution.v2.ResetInstanceRequest
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
public ResetInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ResetInstanceRequest build()
Returns
public ResetInstanceRequest buildPartial()
Returns
public ResetInstanceRequest.Builder clear()
Returns
Overrides
public ResetInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
public ResetInstanceRequest.Builder clearName()
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
public ResetInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
public ResetInstanceRequest.Builder clone()
Returns
Overrides
public ResetInstanceRequest getDefaultInstanceForType()
Returns
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public ResetInstanceRequest.Builder mergeFrom(ResetInstanceRequest other)
Parameter
Returns
public ResetInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
public ResetInstanceRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
public final ResetInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
public ResetInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
public ResetInstanceRequest.Builder setName(String value)
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | String
The name to set.
|
Returns
public ResetInstanceRequest.Builder setNameBytes(ByteString value)
Required. Name of the resource.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter
Name | Description |
value | ByteString
The bytes for name to set.
|
Returns
public ResetInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
public final ResetInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides