Send feedback
Class ExamplesOverride (3.52.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.52.0 keyboard_arrow_down
public final class ExamplesOverride extends GeneratedMessageV3 implements ExamplesOverrideOrBuilder
Overrides for example-based explanations.
Protobuf type google.cloud.aiplatform.v1.ExamplesOverride
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
public static final int CROWDING_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int DATA_FORMAT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int NEIGHBOR_COUNT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RESTRICTIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int RETURN_EMBEDDINGS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static ExamplesOverride getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static ExamplesOverride . Builder newBuilder ()
public static ExamplesOverride . Builder newBuilder ( ExamplesOverride prototype )
public static ExamplesOverride parseDelimitedFrom ( InputStream input )
public static ExamplesOverride parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExamplesOverride parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static ExamplesOverride parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static ExamplesOverride parseFrom ( ByteString data )
public static ExamplesOverride parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ExamplesOverride parseFrom ( CodedInputStream input )
public static ExamplesOverride parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ExamplesOverride parseFrom ( InputStream input )
public static ExamplesOverride parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static ExamplesOverride parseFrom ( ByteBuffer data )
public static ExamplesOverride parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<ExamplesOverride> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public int getCrowdingCount ()
The number of neighbors to return that have the same crowding tag.
int32 crowding_count = 2;
Returns
Type
Description
int
The crowdingCount.
public ExamplesOverride . DataFormat getDataFormat ()
The format of the data being provided with each call.
.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5;
public int getDataFormatValue ()
The format of the data being provided with each call.
.google.cloud.aiplatform.v1.ExamplesOverride.DataFormat data_format = 5;
Returns
Type
Description
int
The enum numeric value on the wire for dataFormat.
public ExamplesOverride getDefaultInstanceForType ()
public int getNeighborCount ()
The number of neighbors to return.
int32 neighbor_count = 1;
Returns
Type
Description
int
The neighborCount.
public Parser<ExamplesOverride> getParserForType ()
Overrides
public ExamplesRestrictionsNamespace getRestrictions ( int index )
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
Parameter
Name
Description
index
int
public int getRestrictionsCount ()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
Returns
Type
Description
int
public List<ExamplesRestrictionsNamespace> getRestrictionsList ()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
public ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder ( int index )
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
Parameter
Name
Description
index
int
public List <? extends ExamplesRestrictionsNamespaceOrBuilder > getRestrictionsOrBuilderList ()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace restrictions = 3;
Returns
Type
Description
List <? extends com.google.cloud.aiplatform.v1.ExamplesRestrictionsNamespaceOrBuilder >
public boolean getReturnEmbeddings ()
If true, return the embeddings instead of neighbors.
bool return_embeddings = 4;
Returns
Type
Description
boolean
The returnEmbeddings.
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public ExamplesOverride . Builder newBuilderForType ()
protected ExamplesOverride . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public ExamplesOverride . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]