Class ListTenantsResponse (2.44.0)

public final class ListTenantsResponse extends GeneratedMessageV3 implements ListTenantsResponseOrBuilder

The List tenants response object.

Protobuf type google.cloud.talent.v4beta1.ListTenantsResponse

Static Fields

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
Type Description
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type Description
int

TENANTS_FIELD_NUMBER

public static final int TENANTS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListTenantsResponse getDefaultInstance()
Returns
Type Description
ListTenantsResponse

getDescriptor()

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

newBuilder()

public static ListTenantsResponse.Builder newBuilder()
Returns
Type Description
ListTenantsResponse.Builder

newBuilder(ListTenantsResponse prototype)

public static ListTenantsResponse.Builder newBuilder(ListTenantsResponse prototype)
Parameter
Name Description
prototype ListTenantsResponse
Returns
Type Description
ListTenantsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListTenantsResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ListTenantsResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListTenantsResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListTenantsResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ListTenantsResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ListTenantsResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListTenantsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ListTenantsResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ListTenantsResponse> parser()
Returns
Type Description
Parser<ListTenantsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ListTenantsResponse getDefaultInstanceForType()
Returns
Type Description
ListTenantsResponse

getMetadata()

public ResponseMetadata getMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadata

The metadata.

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;

Returns
Type Description
ResponseMetadataOrBuilder

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListTenantsResponse> getParserForType()
Returns
Type Description
Parser<ListTenantsResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTenants(int index)

public Tenant getTenants(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
Tenant

getTenantsCount()

public int getTenantsCount()

Tenants for the current client.

repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;

Returns
Type Description
int

getTenantsList()

public List<Tenant> getTenantsList()

Tenants for the current client.

repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;

Returns
Type Description
List<Tenant>

getTenantsOrBuilder(int index)

public TenantOrBuilder getTenantsOrBuilder(int index)

Tenants for the current client.

repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;

Parameter
Name Description
index int
Returns
Type Description
TenantOrBuilder

getTenantsOrBuilderList()

public List<? extends TenantOrBuilder> getTenantsOrBuilderList()

Tenants for the current client.

repeated .google.cloud.talent.v4beta1.Tenant tenants = 1;

Returns
Type Description
List<? extends com.google.cloud.talent.v4beta1.TenantOrBuilder>

hasMetadata()

public boolean hasMetadata()

Additional information for the API invocation, such as the request tracking id.

.google.cloud.talent.v4beta1.ResponseMetadata metadata = 3;

Returns
Type Description
boolean

Whether the metadata field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ListTenantsResponse.Builder newBuilderForType()
Returns
Type Description
ListTenantsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListTenantsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ListTenantsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ListTenantsResponse.Builder toBuilder()
Returns
Type Description
ListTenantsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException