Class ResolveServiceResponse (2.12.0)

public final class ResolveServiceResponse extends GeneratedMessageV3 implements ResolveServiceResponseOrBuilder

The response message for LookupService.ResolveService.

Protobuf type google.cloud.servicedirectory.v1beta1.ResolveServiceResponse

Static Fields

SERVICE_FIELD_NUMBER

public static final int SERVICE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ResolveServiceResponse getDefaultInstance()
Returns
TypeDescription
ResolveServiceResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ResolveServiceResponse.Builder newBuilder()
Returns
TypeDescription
ResolveServiceResponse.Builder

newBuilder(ResolveServiceResponse prototype)

public static ResolveServiceResponse.Builder newBuilder(ResolveServiceResponse prototype)
Parameter
NameDescription
prototypeResolveServiceResponse
Returns
TypeDescription
ResolveServiceResponse.Builder

parseDelimitedFrom(InputStream input)

public static ResolveServiceResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ResolveServiceResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ResolveServiceResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ResolveServiceResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ResolveServiceResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ResolveServiceResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ResolveServiceResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ResolveServiceResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ResolveServiceResponse> parser()
Returns
TypeDescription
Parser<ResolveServiceResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ResolveServiceResponse getDefaultInstanceForType()
Returns
TypeDescription
ResolveServiceResponse

getParserForType()

public Parser<ResolveServiceResponse> getParserForType()
Returns
TypeDescription
Parser<ResolveServiceResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getService()

public Service getService()

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

Returns
TypeDescription
Service

The service.

getServiceOrBuilder()

public ServiceOrBuilder getServiceOrBuilder()

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

Returns
TypeDescription
ServiceOrBuilder

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasService()

public boolean hasService()

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

Returns
TypeDescription
boolean

Whether the service field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ResolveServiceResponse.Builder newBuilderForType()
Returns
TypeDescription
ResolveServiceResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ResolveServiceResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ResolveServiceResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ResolveServiceResponse.Builder toBuilder()
Returns
TypeDescription
ResolveServiceResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException