Class LookupRuntimeProjectAttachmentRequest.Builder (0.36.0)

public static final class LookupRuntimeProjectAttachmentRequest.Builder extends GeneratedMessage.Builder<LookupRuntimeProjectAttachmentRequest.Builder> implements LookupRuntimeProjectAttachmentRequestOrBuilder

The LookupRuntimeProjectAttachment method's request.

Protobuf type google.cloud.apihub.v1.LookupRuntimeProjectAttachmentRequest

Static Methods

getDescriptor()

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

Methods

build()

public LookupRuntimeProjectAttachmentRequest build()
Returns
Type Description
LookupRuntimeProjectAttachmentRequest

buildPartial()

public LookupRuntimeProjectAttachmentRequest buildPartial()
Returns
Type Description
LookupRuntimeProjectAttachmentRequest

clear()

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

clearName()

public LookupRuntimeProjectAttachmentRequest.Builder clearName()

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

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

Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public LookupRuntimeProjectAttachmentRequest getDefaultInstanceForType()
Returns
Type Description
LookupRuntimeProjectAttachmentRequest

getDescriptorForType()

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

getName()

public String getName()

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

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(LookupRuntimeProjectAttachmentRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setName(String value)

public LookupRuntimeProjectAttachmentRequest.Builder setName(String value)

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder

This builder for chaining.

setNameBytes(ByteString value)

public LookupRuntimeProjectAttachmentRequest.Builder setNameBytes(ByteString value)

Required. Runtime project ID to look up runtime project attachment for. Lookup happens across all regions. Expected format: projects/{project}/locations/{location}.

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
LookupRuntimeProjectAttachmentRequest.Builder

This builder for chaining.