Class ListTenantsResponse (2.37.0)

public final class ListTenantsResponse extends GeneratedMessageV3 implements ListTenantsResponseOrBuilder

The List tenants response object.

Protobuf type google.cloud.talent.v4.ListTenantsResponse

Static Fields

METADATA_FIELD_NUMBER

public static final int METADATA_FIELD_NUMBER
Field Value
TypeDescription
int

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

TENANTS_FIELD_NUMBER

public static final int TENANTS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListTenantsResponse getDefaultInstance()
Returns
TypeDescription
ListTenantsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListTenantsResponse prototype)

public static ListTenantsResponse.Builder newBuilder(ListTenantsResponse prototype)
Parameter
NameDescription
prototypeListTenantsResponse
Returns
TypeDescription
ListTenantsResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListTenantsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListTenantsResponse

getMetadata()

public ResponseMetadata getMetadata()

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

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

Returns
TypeDescription
ResponseMetadata

The metadata.

getMetadataOrBuilder()

public ResponseMetadataOrBuilder getMetadataOrBuilder()

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

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

Returns
TypeDescription
ResponseMetadataOrBuilder

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTenants(int index)

public Tenant getTenants(int index)

Tenants for the current client.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Tenant

getTenantsCount()

public int getTenantsCount()

Tenants for the current client.

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

Returns
TypeDescription
int

getTenantsList()

public List<Tenant> getTenantsList()

Tenants for the current client.

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

Returns
TypeDescription
List<Tenant>

getTenantsOrBuilder(int index)

public TenantOrBuilder getTenantsOrBuilder(int index)

Tenants for the current client.

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

Parameter
NameDescription
indexint
Returns
TypeDescription
TenantOrBuilder

getTenantsOrBuilderList()

public List<? extends TenantOrBuilder> getTenantsOrBuilderList()

Tenants for the current client.

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

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4.TenantOrBuilder>

hasMetadata()

public boolean hasMetadata()

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

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

Returns
TypeDescription
boolean

Whether the metadata 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 ListTenantsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListTenantsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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