Class DeleteProjectRequest.Builder (1.41.0)

public static final class DeleteProjectRequest.Builder extends GeneratedMessageV3.Builder<DeleteProjectRequest.Builder> implements DeleteProjectRequestOrBuilder

DeleteProject method.

Protobuf type google.cloud.resourcemanager.v3.DeleteProjectRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DeleteProjectRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

build()

public DeleteProjectRequest build()
Returns
TypeDescription
DeleteProjectRequest

buildPartial()

public DeleteProjectRequest buildPartial()
Returns
TypeDescription
DeleteProjectRequest

clear()

public DeleteProjectRequest.Builder clear()
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public DeleteProjectRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

clearName()

public DeleteProjectRequest.Builder clearName()

Required. The name of the Project (for example, projects/415104041262).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
DeleteProjectRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public DeleteProjectRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

clone()

public DeleteProjectRequest.Builder clone()
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

getDefaultInstanceForType()

public DeleteProjectRequest getDefaultInstanceForType()
Returns
TypeDescription
DeleteProjectRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getName()

public String getName()

Required. The name of the Project (for example, projects/415104041262).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Project (for example, projects/415104041262).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DeleteProjectRequest other)

public DeleteProjectRequest.Builder mergeFrom(DeleteProjectRequest other)
Parameter
NameDescription
otherDeleteProjectRequest
Returns
TypeDescription
DeleteProjectRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteProjectRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DeleteProjectRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DeleteProjectRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public DeleteProjectRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

setName(String value)

public DeleteProjectRequest.Builder setName(String value)

Required. The name of the Project (for example, projects/415104041262).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueString

The name to set.

Returns
TypeDescription
DeleteProjectRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteProjectRequest.Builder setNameBytes(ByteString value)

Required. The name of the Project (for example, projects/415104041262).

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
NameDescription
valueByteString

The bytes for name to set.

Returns
TypeDescription
DeleteProjectRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DeleteProjectRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DeleteProjectRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DeleteProjectRequest.Builder
Overrides