Class ListServicesResponse (3.29.0)

public final class ListServicesResponse extends GeneratedMessageV3 implements ListServicesResponseOrBuilder

Response message for ListServices method.

Protobuf type google.api.servicemanagement.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 that can be passed to ListServices to resume a paginated query.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

Token that can be passed to ListServices to resume a paginated query.

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 ManagedService getServices(int index)

The returned services will only have the name field set.

repeated .google.api.servicemanagement.v1.ManagedService services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedService

getServicesCount()

public int getServicesCount()

The returned services will only have the name field set.

repeated .google.api.servicemanagement.v1.ManagedService services = 1;

Returns
TypeDescription
int

getServicesList()

public List<ManagedService> getServicesList()

The returned services will only have the name field set.

repeated .google.api.servicemanagement.v1.ManagedService services = 1;

Returns
TypeDescription
List<ManagedService>

getServicesOrBuilder(int index)

public ManagedServiceOrBuilder getServicesOrBuilder(int index)

The returned services will only have the name field set.

repeated .google.api.servicemanagement.v1.ManagedService services = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedServiceOrBuilder

getServicesOrBuilderList()

public List<? extends ManagedServiceOrBuilder> getServicesOrBuilderList()

The returned services will only have the name field set.

repeated .google.api.servicemanagement.v1.ManagedService services = 1;

Returns
TypeDescription
List<? extends com.google.api.servicemanagement.v1.ManagedServiceOrBuilder>

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