public final class RankResponse extends GeneratedMessageV3 implements RankResponseOrBuilder
Response message for
RankService.Rank method.
Protobuf type google.cloud.discoveryengine.v1.RankResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
RECORDS_FIELD_NUMBER
public static final int RECORDS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static RankResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static RankResponse.Builder newBuilder()
newBuilder(RankResponse prototype)
public static RankResponse.Builder newBuilder(RankResponse prototype)
public static RankResponse parseDelimitedFrom(InputStream input)
public static RankResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static RankResponse parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RankResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static RankResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RankResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RankResponse parseFrom(CodedInputStream input)
public static RankResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RankResponse parseFrom(InputStream input)
public static RankResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static RankResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RankResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<RankResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public RankResponse getDefaultInstanceForType()
getParserForType()
public Parser<RankResponse> getParserForType()
Overrides
getRecords(int index)
public RankingRecord getRecords(int index)
A list of records sorted by descending score.
repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5;
Parameter |
Name |
Description |
index |
int
|
getRecordsCount()
public int getRecordsCount()
A list of records sorted by descending score.
repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5;
Returns |
Type |
Description |
int |
|
getRecordsList()
public List<RankingRecord> getRecordsList()
A list of records sorted by descending score.
repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5;
getRecordsOrBuilder(int index)
public RankingRecordOrBuilder getRecordsOrBuilder(int index)
A list of records sorted by descending score.
repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5;
Parameter |
Name |
Description |
index |
int
|
getRecordsOrBuilderList()
public List<? extends RankingRecordOrBuilder> getRecordsOrBuilderList()
A list of records sorted by descending score.
repeated .google.cloud.discoveryengine.v1.RankingRecord records = 5;
Returns |
Type |
Description |
List<? extends com.google.cloud.discoveryengine.v1.RankingRecordOrBuilder> |
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public RankResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RankResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public RankResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides