Class LookupServiceProjectAttachmentResponse.Builder (0.11.0)

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

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupServiceProjectAttachmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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