Class LookupServiceProjectAttachmentResponse.Builder (0.47.0)

public static final class LookupServiceProjectAttachmentResponse.Builder extends GeneratedMessage.Builder<LookupServiceProjectAttachmentResponse.Builder> implements LookupServiceProjectAttachmentResponseOrBuilder

Response for LookupServiceProjectAttachment.

Protobuf type google.cloud.apphub.v1.LookupServiceProjectAttachmentResponse

Static Methods

getDescriptor()

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

Methods

build()

public LookupServiceProjectAttachmentResponse build()
Returns
Type Description
LookupServiceProjectAttachmentResponse

buildPartial()

public LookupServiceProjectAttachmentResponse buildPartial()
Returns
Type Description
LookupServiceProjectAttachmentResponse

clear()

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

clearServiceProjectAttachment()

public LookupServiceProjectAttachmentResponse.Builder clearServiceProjectAttachment()

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Returns
Type Description
LookupServiceProjectAttachmentResponse.Builder

getDefaultInstanceForType()

public LookupServiceProjectAttachmentResponse getDefaultInstanceForType()
Returns
Type Description
LookupServiceProjectAttachmentResponse

getDescriptorForType()

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

getServiceProjectAttachment()

public ServiceProjectAttachment getServiceProjectAttachment()

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Returns
Type Description
ServiceProjectAttachment

The serviceProjectAttachment.

getServiceProjectAttachmentBuilder()

public ServiceProjectAttachment.Builder getServiceProjectAttachmentBuilder()

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Returns
Type Description
ServiceProjectAttachment.Builder

getServiceProjectAttachmentOrBuilder()

public ServiceProjectAttachmentOrBuilder getServiceProjectAttachmentOrBuilder()

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Returns
Type Description
ServiceProjectAttachmentOrBuilder

hasServiceProjectAttachment()

public boolean hasServiceProjectAttachment()

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Returns
Type Description
boolean

Whether the serviceProjectAttachment field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(LookupServiceProjectAttachmentResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeServiceProjectAttachment(ServiceProjectAttachment value)

public LookupServiceProjectAttachmentResponse.Builder mergeServiceProjectAttachment(ServiceProjectAttachment value)

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Parameter
Name Description
value ServiceProjectAttachment
Returns
Type Description
LookupServiceProjectAttachmentResponse.Builder

setServiceProjectAttachment(ServiceProjectAttachment value)

public LookupServiceProjectAttachmentResponse.Builder setServiceProjectAttachment(ServiceProjectAttachment value)

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Parameter
Name Description
value ServiceProjectAttachment
Returns
Type Description
LookupServiceProjectAttachmentResponse.Builder

setServiceProjectAttachment(ServiceProjectAttachment.Builder builderForValue)

public LookupServiceProjectAttachmentResponse.Builder setServiceProjectAttachment(ServiceProjectAttachment.Builder builderForValue)

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

.google.cloud.apphub.v1.ServiceProjectAttachment service_project_attachment = 1;

Parameter
Name Description
builderForValue ServiceProjectAttachment.Builder
Returns
Type Description
LookupServiceProjectAttachmentResponse.Builder