Send feedback
Class DeleteQueuedResourceRequest.Builder (2.30.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 2.30.0 keyboard_arrow_down
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
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 2024-10-04 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-10-04 UTC."}
[[["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 2024-10-04 UTC."]]