public static final class DeleteQueuedResourceRequest.Builder extends GeneratedMessageV3.Builder<DeleteQueuedResourceRequest.Builder> implements DeleteQueuedResourceRequestOrBuilder
Request for
DeleteQueuedResource.
Protobuf type google.cloud.tpu.v2alpha1.DeleteQueuedResourceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DeleteQueuedResourceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DeleteQueuedResourceRequest build()
buildPartial()
public DeleteQueuedResourceRequest buildPartial()
clear()
public DeleteQueuedResourceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public DeleteQueuedResourceRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearForce()
public DeleteQueuedResourceRequest.Builder clearForce()
If set to true, all running nodes belonging to this queued resource will
be deleted first and then the queued resource will be deleted.
Otherwise (i.e. force=false), the queued resource will only be deleted if
its nodes have already been deleted or the queued resource is in the
ACCEPTED, FAILED, or SUSPENDED state.
bool force = 3;
clearName()
public DeleteQueuedResourceRequest.Builder clearName()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
clearOneof(Descriptors.OneofDescriptor oneof)
public DeleteQueuedResourceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearRequestId()
public DeleteQueuedResourceRequest.Builder clearRequestId()
Idempotent request UUID.
string request_id = 2;
clone()
public DeleteQueuedResourceRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public DeleteQueuedResourceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getForce()
public boolean getForce()
If set to true, all running nodes belonging to this queued resource will
be deleted first and then the queued resource will be deleted.
Otherwise (i.e. force=false), the queued resource will only be deleted if
its nodes have already been deleted or the queued resource is in the
ACCEPTED, FAILED, or SUSPENDED state.
bool force = 3;
Returns |
---|
Type | Description |
boolean | The force.
|
getName()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
String | The name.
|
getNameBytes()
public ByteString getNameBytes()
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns |
---|
Type | Description |
ByteString | The bytes for name.
|
getRequestId()
public String getRequestId()
Idempotent request UUID.
string request_id = 2;
Returns |
---|
Type | Description |
String | The requestId.
|
getRequestIdBytes()
public ByteString getRequestIdBytes()
Idempotent request UUID.
string request_id = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for requestId.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DeleteQueuedResourceRequest other)
public DeleteQueuedResourceRequest.Builder mergeFrom(DeleteQueuedResourceRequest other)
public DeleteQueuedResourceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DeleteQueuedResourceRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DeleteQueuedResourceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public DeleteQueuedResourceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setForce(boolean value)
public DeleteQueuedResourceRequest.Builder setForce(boolean value)
If set to true, all running nodes belonging to this queued resource will
be deleted first and then the queued resource will be deleted.
Otherwise (i.e. force=false), the queued resource will only be deleted if
its nodes have already been deleted or the queued resource is in the
ACCEPTED, FAILED, or SUSPENDED state.
bool force = 3;
Parameter |
---|
Name | Description |
value | boolean
The force to set.
|
setName(String value)
public DeleteQueuedResourceRequest.Builder setName(String value)
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | String
The name to set.
|
setNameBytes(ByteString value)
public DeleteQueuedResourceRequest.Builder setNameBytes(ByteString value)
Required. The resource name.
string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for name to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DeleteQueuedResourceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setRequestId(String value)
public DeleteQueuedResourceRequest.Builder setRequestId(String value)
Idempotent request UUID.
string request_id = 2;
Parameter |
---|
Name | Description |
value | String
The requestId to set.
|
setRequestIdBytes(ByteString value)
public DeleteQueuedResourceRequest.Builder setRequestIdBytes(ByteString value)
Idempotent request UUID.
string request_id = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for requestId to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final DeleteQueuedResourceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides