Class LookupRuntimeProjectAttachmentResponse.Builder (0.1.0)

public static final class LookupRuntimeProjectAttachmentResponse.Builder extends GeneratedMessageV3.Builder<LookupRuntimeProjectAttachmentResponse.Builder> implements LookupRuntimeProjectAttachmentResponseOrBuilder

The ListRuntimeProjectAttachments method's response.

Protobuf type google.cloud.apihub.v1.LookupRuntimeProjectAttachmentResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public LookupRuntimeProjectAttachmentResponse build()
Returns
Type Description
LookupRuntimeProjectAttachmentResponse

buildPartial()

public LookupRuntimeProjectAttachmentResponse buildPartial()
Returns
Type Description
LookupRuntimeProjectAttachmentResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public LookupRuntimeProjectAttachmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
LookupRuntimeProjectAttachmentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearRuntimeProjectAttachment()

public LookupRuntimeProjectAttachmentResponse.Builder clearRuntimeProjectAttachment()

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Returns
Type Description
LookupRuntimeProjectAttachmentResponse.Builder

clone()

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

getDefaultInstanceForType()

public LookupRuntimeProjectAttachmentResponse getDefaultInstanceForType()
Returns
Type Description
LookupRuntimeProjectAttachmentResponse

getDescriptorForType()

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

getRuntimeProjectAttachment()

public RuntimeProjectAttachment getRuntimeProjectAttachment()

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Returns
Type Description
RuntimeProjectAttachment

The runtimeProjectAttachment.

getRuntimeProjectAttachmentBuilder()

public RuntimeProjectAttachment.Builder getRuntimeProjectAttachmentBuilder()

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Returns
Type Description
RuntimeProjectAttachment.Builder

getRuntimeProjectAttachmentOrBuilder()

public RuntimeProjectAttachmentOrBuilder getRuntimeProjectAttachmentOrBuilder()

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Returns
Type Description
RuntimeProjectAttachmentOrBuilder

hasRuntimeProjectAttachment()

public boolean hasRuntimeProjectAttachment()

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Returns
Type Description
boolean

Whether the runtimeProjectAttachment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupRuntimeProjectAttachmentResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeRuntimeProjectAttachment(RuntimeProjectAttachment value)

public LookupRuntimeProjectAttachmentResponse.Builder mergeRuntimeProjectAttachment(RuntimeProjectAttachment value)

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Parameter
Name Description
value RuntimeProjectAttachment
Returns
Type Description
LookupRuntimeProjectAttachmentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setRuntimeProjectAttachment(RuntimeProjectAttachment value)

public LookupRuntimeProjectAttachmentResponse.Builder setRuntimeProjectAttachment(RuntimeProjectAttachment value)

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Parameter
Name Description
value RuntimeProjectAttachment
Returns
Type Description
LookupRuntimeProjectAttachmentResponse.Builder

setRuntimeProjectAttachment(RuntimeProjectAttachment.Builder builderForValue)

public LookupRuntimeProjectAttachmentResponse.Builder setRuntimeProjectAttachment(RuntimeProjectAttachment.Builder builderForValue)

Runtime project attachment for a project if exists, empty otherwise.

.google.cloud.apihub.v1.RuntimeProjectAttachment runtime_project_attachment = 1;

Parameter
Name Description
builderForValue RuntimeProjectAttachment.Builder
Returns
Type Description
LookupRuntimeProjectAttachmentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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