Class DeleteRuntimeProjectAttachmentRequest.Builder (0.36.0)

public static final class DeleteRuntimeProjectAttachmentRequest.Builder extends GeneratedMessage.Builder<DeleteRuntimeProjectAttachmentRequest.Builder> implements DeleteRuntimeProjectAttachmentRequestOrBuilder

The DeleteRuntimeProjectAttachment method's request.

Protobuf type google.cloud.apihub.v1.DeleteRuntimeProjectAttachmentRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

build()

public DeleteRuntimeProjectAttachmentRequest build()
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest

buildPartial()

public DeleteRuntimeProjectAttachmentRequest buildPartial()
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest

clear()

public DeleteRuntimeProjectAttachmentRequest.Builder clear()
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder
Overrides

clearName()

public DeleteRuntimeProjectAttachmentRequest.Builder clearName()

Required. The name of the Runtime Project Attachment to delete. Format: projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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

Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public DeleteRuntimeProjectAttachmentRequest getDefaultInstanceForType()
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getName()

public String getName()

Required. The name of the Runtime Project Attachment to delete. Format: projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. The name of the Runtime Project Attachment to delete. Format: projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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

Returns
Type Description
ByteString

The bytes for name.

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DeleteRuntimeProjectAttachmentRequest other)

public DeleteRuntimeProjectAttachmentRequest.Builder mergeFrom(DeleteRuntimeProjectAttachmentRequest other)
Parameter
Name Description
other DeleteRuntimeProjectAttachmentRequest
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DeleteRuntimeProjectAttachmentRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DeleteRuntimeProjectAttachmentRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder
Overrides

setName(String value)

public DeleteRuntimeProjectAttachmentRequest.Builder setName(String value)

Required. The name of the Runtime Project Attachment to delete. Format: projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public DeleteRuntimeProjectAttachmentRequest.Builder setNameBytes(ByteString value)

Required. The name of the Runtime Project Attachment to delete. Format: projects/{project}/locations/{location}/runtimeProjectAttachments/{runtime_project_attachment}

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
DeleteRuntimeProjectAttachmentRequest.Builder

This builder for chaining.