Class ListCustomModelsResponse (0.51.0)

public final class ListCustomModelsResponse extends GeneratedMessageV3 implements ListCustomModelsResponseOrBuilder

Response message for SearchTuningService.ListCustomModels method.

Protobuf type google.cloud.discoveryengine.v1alpha.ListCustomModelsResponse

Static Fields

MODELS_FIELD_NUMBER

public static final int MODELS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ListCustomModelsResponse getDefaultInstance()
Returns
Type Description
ListCustomModelsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(ListCustomModelsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ListCustomModelsResponse getDefaultInstanceForType()
Returns
Type Description
ListCustomModelsResponse

getModels(int index)

public CustomTuningModel getModels(int index)

List of custom tuning models.

repeated .google.cloud.discoveryengine.v1alpha.CustomTuningModel models = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomTuningModel

getModelsCount()

public int getModelsCount()

List of custom tuning models.

repeated .google.cloud.discoveryengine.v1alpha.CustomTuningModel models = 1;

Returns
Type Description
int

getModelsList()

public List<CustomTuningModel> getModelsList()

List of custom tuning models.

repeated .google.cloud.discoveryengine.v1alpha.CustomTuningModel models = 1;

Returns
Type Description
List<CustomTuningModel>

getModelsOrBuilder(int index)

public CustomTuningModelOrBuilder getModelsOrBuilder(int index)

List of custom tuning models.

repeated .google.cloud.discoveryengine.v1alpha.CustomTuningModel models = 1;

Parameter
Name Description
index int
Returns
Type Description
CustomTuningModelOrBuilder

getModelsOrBuilderList()

public List<? extends CustomTuningModelOrBuilder> getModelsOrBuilderList()

List of custom tuning models.

repeated .google.cloud.discoveryengine.v1alpha.CustomTuningModel models = 1;

Returns
Type Description
List<? extends com.google.cloud.discoveryengine.v1alpha.CustomTuningModelOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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 ListCustomModelsResponse.Builder newBuilderForType()
Returns
Type Description
ListCustomModelsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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