Class SearchProfilesResponse (2.2.9)

public final class SearchProfilesResponse extends GeneratedMessageV3 implements SearchProfilesResponseOrBuilder

Response of SearchProfiles method.

Protobuf type google.cloud.talent.v4beta1.SearchProfilesResponse

Static Fields

ESTIMATED_TOTAL_SIZE_FIELD_NUMBER

public static final int ESTIMATED_TOTAL_SIZE_FIELD_NUMBER
Field Value
TypeDescription
int

HISTOGRAM_QUERY_RESULTS_FIELD_NUMBER

public static final int HISTOGRAM_QUERY_RESULTS_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

RESULT_SET_ID_FIELD_NUMBER

public static final int RESULT_SET_ID_FIELD_NUMBER
Field Value
TypeDescription
int

SPELL_CORRECTION_FIELD_NUMBER

public static final int SPELL_CORRECTION_FIELD_NUMBER
Field Value
TypeDescription
int

SUMMARIZED_PROFILES_FIELD_NUMBER

public static final int SUMMARIZED_PROFILES_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SearchProfilesResponse getDefaultInstance()
Returns
TypeDescription
SearchProfilesResponse

getDescriptor()

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

newBuilder()

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

newBuilder(SearchProfilesResponse prototype)

public static SearchProfilesResponse.Builder newBuilder(SearchProfilesResponse prototype)
Parameter
NameDescription
prototypeSearchProfilesResponse
Returns
TypeDescription
SearchProfilesResponse.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public SearchProfilesResponse getDefaultInstanceForType()
Returns
TypeDescription
SearchProfilesResponse

getEstimatedTotalSize()

public long getEstimatedTotalSize()

An estimation of the number of profiles that match the specified query. This number isn't guaranteed to be accurate.

int64 estimated_total_size = 1;

Returns
TypeDescription
long

The estimatedTotalSize.

getHistogramQueryResults(int index)

public HistogramQueryResult getHistogramQueryResults(int index)

The histogram results that match with specified SearchProfilesRequest.histogram_queries.

repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
HistogramQueryResult

getHistogramQueryResultsCount()

public int getHistogramQueryResultsCount()

The histogram results that match with specified SearchProfilesRequest.histogram_queries.

repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 5;

Returns
TypeDescription
int

getHistogramQueryResultsList()

public List<HistogramQueryResult> getHistogramQueryResultsList()

The histogram results that match with specified SearchProfilesRequest.histogram_queries.

repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 5;

Returns
TypeDescription
List<HistogramQueryResult>

getHistogramQueryResultsOrBuilder(int index)

public HistogramQueryResultOrBuilder getHistogramQueryResultsOrBuilder(int index)

The histogram results that match with specified SearchProfilesRequest.histogram_queries.

repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 5;

Parameter
NameDescription
indexint
Returns
TypeDescription
HistogramQueryResultOrBuilder

getHistogramQueryResultsOrBuilderList()

public List<? extends HistogramQueryResultOrBuilder> getHistogramQueryResultsOrBuilderList()

The histogram results that match with specified SearchProfilesRequest.histogram_queries.

repeated .google.cloud.talent.v4beta1.HistogramQueryResult histogram_query_results = 5;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.HistogramQueryResultOrBuilder>

getMetadata()

public ResponseMetadata getMetadata()

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

.google.cloud.talent.v4beta1.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.v4beta1.ResponseMetadata metadata = 3;

Returns
TypeDescription
ResponseMetadataOrBuilder

getNextPageToken()

public String getNextPageToken()

A token to retrieve the next page of results. This is empty if there are no more results.

string next_page_token = 4;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

A token to retrieve the next page of results. This is empty if there are no more results.

string next_page_token = 4;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

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

getResultSetId()

public String getResultSetId()

An id that uniquely identifies the result set of a SearchProfiles call for consistent results.

string result_set_id = 7;

Returns
TypeDescription
String

The resultSetId.

getResultSetIdBytes()

public ByteString getResultSetIdBytes()

An id that uniquely identifies the result set of a SearchProfiles call for consistent results.

string result_set_id = 7;

Returns
TypeDescription
ByteString

The bytes for resultSetId.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSpellCorrection()

public SpellingCorrection getSpellCorrection()

The spell checking result, and correction.

.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 2;

Returns
TypeDescription
SpellingCorrection

The spellCorrection.

getSpellCorrectionOrBuilder()

public SpellingCorrectionOrBuilder getSpellCorrectionOrBuilder()

The spell checking result, and correction.

.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 2;

Returns
TypeDescription
SpellingCorrectionOrBuilder

getSummarizedProfiles(int index)

public SummarizedProfile getSummarizedProfiles(int index)

The profile entities that match the specified SearchProfilesRequest.

repeated .google.cloud.talent.v4beta1.SummarizedProfile summarized_profiles = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
SummarizedProfile

getSummarizedProfilesCount()

public int getSummarizedProfilesCount()

The profile entities that match the specified SearchProfilesRequest.

repeated .google.cloud.talent.v4beta1.SummarizedProfile summarized_profiles = 6;

Returns
TypeDescription
int

getSummarizedProfilesList()

public List<SummarizedProfile> getSummarizedProfilesList()

The profile entities that match the specified SearchProfilesRequest.

repeated .google.cloud.talent.v4beta1.SummarizedProfile summarized_profiles = 6;

Returns
TypeDescription
List<SummarizedProfile>

getSummarizedProfilesOrBuilder(int index)

public SummarizedProfileOrBuilder getSummarizedProfilesOrBuilder(int index)

The profile entities that match the specified SearchProfilesRequest.

repeated .google.cloud.talent.v4beta1.SummarizedProfile summarized_profiles = 6;

Parameter
NameDescription
indexint
Returns
TypeDescription
SummarizedProfileOrBuilder

getSummarizedProfilesOrBuilderList()

public List<? extends SummarizedProfileOrBuilder> getSummarizedProfilesOrBuilderList()

The profile entities that match the specified SearchProfilesRequest.

repeated .google.cloud.talent.v4beta1.SummarizedProfile summarized_profiles = 6;

Returns
TypeDescription
List<? extends com.google.cloud.talent.v4beta1.SummarizedProfileOrBuilder>

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasMetadata()

public boolean hasMetadata()

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

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

Returns
TypeDescription
boolean

Whether the metadata field is set.

hasSpellCorrection()

public boolean hasSpellCorrection()

The spell checking result, and correction.

.google.cloud.talent.v4beta1.SpellingCorrection spell_correction = 2;

Returns
TypeDescription
boolean

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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