Class ListCompaniesResponse (2.29.0)

public final class ListCompaniesResponse extends GeneratedMessageV3 implements ListCompaniesResponseOrBuilder

The List companies response object.

Protobuf type google.cloud.talent.v4.ListCompaniesResponse

Static Fields

COMPANIES_FIELD_NUMBER

public static final int COMPANIES_FIELD_NUMBER
Field Value
TypeDescription
int

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

Static Methods

getDefaultInstance()

public static ListCompaniesResponse getDefaultInstance()
Returns
TypeDescription
ListCompaniesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListCompaniesResponse prototype)

public static ListCompaniesResponse.Builder newBuilder(ListCompaniesResponse prototype)
Parameter
NameDescription
prototypeListCompaniesResponse
Returns
TypeDescription
ListCompaniesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getCompanies(int index)

public Company getCompanies(int index)

Companies for the current client.

repeated .google.cloud.talent.v4.Company companies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Company

getCompaniesCount()

public int getCompaniesCount()

Companies for the current client.

repeated .google.cloud.talent.v4.Company companies = 1;

Returns
TypeDescription
int

getCompaniesList()

public List<Company> getCompaniesList()

Companies for the current client.

repeated .google.cloud.talent.v4.Company companies = 1;

Returns
TypeDescription
List<Company>

getCompaniesOrBuilder(int index)

public CompanyOrBuilder getCompaniesOrBuilder(int index)

Companies for the current client.

repeated .google.cloud.talent.v4.Company companies = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
CompanyOrBuilder

getCompaniesOrBuilderList()

public List<? extends CompanyOrBuilder> getCompaniesOrBuilderList()

Companies for the current client.

repeated .google.cloud.talent.v4.Company companies = 1;

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

getDefaultInstanceForType()

public ListCompaniesResponse getDefaultInstanceForType()
Returns
TypeDescription
ListCompaniesResponse

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<ListCompaniesResponse> getParserForType()
Returns
TypeDescription
Parser<ListCompaniesResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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