Class ListServicesResponse (2.12.0)

public final class ListServicesResponse extends GeneratedMessageV3 implements ListServicesResponseOrBuilder

The response message for RegistrationService.ListServices.

Protobuf type google.cloud.servicedirectory.v1.ListServicesResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

SERVICES_FIELD_NUMBER

public static final int SERVICES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListServicesResponse getDefaultInstance()
Returns
TypeDescription
ListServicesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListServicesResponse prototype)

public static ListServicesResponse.Builder newBuilder(ListServicesResponse prototype)
Parameter
NameDescription
prototypeListServicesResponse
Returns
TypeDescription
ListServicesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListServicesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListServicesResponse

getNextPageToken()

public String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getServices(int index)

public Service getServices(int index)

The list of services.

repeated .google.cloud.servicedirectory.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Service

getServicesCount()

public int getServicesCount()

The list of services.

repeated .google.cloud.servicedirectory.v1.Service services = 1;

Returns
TypeDescription
int

getServicesList()

public List<Service> getServicesList()

The list of services.

repeated .google.cloud.servicedirectory.v1.Service services = 1;

Returns
TypeDescription
List<Service>

getServicesOrBuilder(int index)

public ServiceOrBuilder getServicesOrBuilder(int index)

The list of services.

repeated .google.cloud.servicedirectory.v1.Service services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ServiceOrBuilder> getServicesOrBuilderList()

The list of services.

repeated .google.cloud.servicedirectory.v1.Service services = 1;

Returns
TypeDescription
List<? extends com.google.cloud.servicedirectory.v1.ServiceOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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 ListServicesResponse.Builder newBuilderForType()
Returns
TypeDescription
ListServicesResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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