Class LookupServiceProjectAttachmentResponse.Builder (0.1.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public LookupServiceProjectAttachmentResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

build()

public LookupServiceProjectAttachmentResponse build()
Returns
TypeDescription
LookupServiceProjectAttachmentResponse

buildPartial()

public LookupServiceProjectAttachmentResponse buildPartial()
Returns
TypeDescription
LookupServiceProjectAttachmentResponse

clear()

public LookupServiceProjectAttachmentResponse.Builder clear()
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public LookupServiceProjectAttachmentResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public LookupServiceProjectAttachmentResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
LookupServiceProjectAttachmentResponse.Builder

clone()

public LookupServiceProjectAttachmentResponse.Builder clone()
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

getDefaultInstanceForType()

public LookupServiceProjectAttachmentResponse getDefaultInstanceForType()
Returns
TypeDescription
LookupServiceProjectAttachmentResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the serviceProjectAttachment field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(LookupServiceProjectAttachmentResponse other)

public LookupServiceProjectAttachmentResponse.Builder mergeFrom(LookupServiceProjectAttachmentResponse other)
Parameter
NameDescription
otherLookupServiceProjectAttachmentResponse
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public LookupServiceProjectAttachmentResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public LookupServiceProjectAttachmentResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueServiceProjectAttachment
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final LookupServiceProjectAttachmentResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public LookupServiceProjectAttachmentResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides

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

public LookupServiceProjectAttachmentResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueServiceProjectAttachment
Returns
TypeDescription
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
NameDescription
builderForValueServiceProjectAttachment.Builder
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final LookupServiceProjectAttachmentResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
LookupServiceProjectAttachmentResponse.Builder
Overrides