Class ResolveServiceResponse.Builder (2.2.7)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ResolveServiceResponse build()
Returns
TypeDescription
ResolveServiceResponse

buildPartial()

public ResolveServiceResponse buildPartial()
Returns
TypeDescription
ResolveServiceResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ResolveServiceResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
ResolveServiceResponse.Builder
Overrides

clearService()

public ResolveServiceResponse.Builder clearService()

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

Returns
TypeDescription
ResolveServiceResponse.Builder

clone()

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

getDefaultInstanceForType()

public ResolveServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
ResolveServiceResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getService()

public Service getService()

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

Returns
TypeDescription
Service

The service.

getServiceBuilder()

public Service.Builder getServiceBuilder()

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

Returns
TypeDescription
Service.Builder

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

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

Returns
TypeDescription
ServiceOrBuilder

hasService()

public boolean hasService()

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

Returns
TypeDescription
boolean

Whether the service field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ResolveServiceResponse other)

public ResolveServiceResponse.Builder mergeFrom(ResolveServiceResponse other)
Parameter
NameDescription
otherResolveServiceResponse
Returns
TypeDescription
ResolveServiceResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ResolveServiceResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
ResolveServiceResponse.Builder
Overrides

mergeService(Service value)

public ResolveServiceResponse.Builder mergeService(Service value)

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

Parameter
NameDescription
valueService
Returns
TypeDescription
ResolveServiceResponse.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public ResolveServiceResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ResolveServiceResponse.Builder
Overrides

setService(Service value)

public ResolveServiceResponse.Builder setService(Service value)

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

Parameter
NameDescription
valueService
Returns
TypeDescription
ResolveServiceResponse.Builder

setService(Service.Builder builderForValue)

public ResolveServiceResponse.Builder setService(Service.Builder builderForValue)

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

Parameter
NameDescription
builderForValueService.Builder
Returns
TypeDescription
ResolveServiceResponse.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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