Class LookupRuntimeProjectAttachmentRequest.Builder (0.1.0)

public static final class LookupRuntimeProjectAttachmentRequest.Builder extends GeneratedMessageV3.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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupRuntimeProjectAttachmentRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder
Overrides

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

clearField(Descriptors.FieldDescriptor field)

public LookupRuntimeProjectAttachmentRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
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.

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupRuntimeProjectAttachmentRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupRuntimeProjectAttachmentRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupRuntimeProjectAttachmentRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
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.

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

public LookupRuntimeProjectAttachmentRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupRuntimeProjectAttachmentRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
LookupRuntimeProjectAttachmentRequest.Builder
Overrides