Class ResolveServiceResponse.Builder (2.53.0)

public static final class ResolveServiceResponse.Builder extends GeneratedMessageV3.Builder<ResolveServiceResponse.Builder> implements ResolveServiceResponseOrBuilder

The response message for LookupService.ResolveService.

Protobuf type google.cloud.servicedirectory.v1beta1.ResolveServiceResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResolveServiceResponse build()
Returns
Type Description
ResolveServiceResponse

buildPartial()

public ResolveServiceResponse buildPartial()
Returns
Type Description
ResolveServiceResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearService()

public ResolveServiceResponse.Builder clearService()

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Returns
Type Description
ResolveServiceResponse.Builder

clone()

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

getDefaultInstanceForType()

public ResolveServiceResponse getDefaultInstanceForType()
Returns
Type Description
ResolveServiceResponse

getDescriptorForType()

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

getService()

public Service getService()

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Returns
Type Description
Service

The service.

getServiceBuilder()

public Service.Builder getServiceBuilder()

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Returns
Type Description
Service.Builder

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Returns
Type Description
ServiceOrBuilder

hasService()

public boolean hasService()

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Returns
Type Description
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ResolveServiceResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeService(Service value)

public ResolveServiceResponse.Builder mergeService(Service value)

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Parameter
Name Description
value Service
Returns
Type Description
ResolveServiceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setService(Service value)

public ResolveServiceResponse.Builder setService(Service value)

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Parameter
Name Description
value Service
Returns
Type Description
ResolveServiceResponse.Builder

setService(Service.Builder builderForValue)

public ResolveServiceResponse.Builder setService(Service.Builder builderForValue)

.google.cloud.servicedirectory.v1beta1.Service service = 1;

Parameter
Name Description
builderForValue Service.Builder
Returns
Type Description
ResolveServiceResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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