publicfinalclass ExamplesOverrideextendsGeneratedMessageV3implementsExamplesOverrideOrBuilder
Overrides for example-based explanations.
Protobuf type google.cloud.vertexai.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
CROWDING_COUNT_FIELD_NUMBER
publicstaticfinalintCROWDING_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
publicstaticfinalintDATA_FORMAT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
NEIGHBOR_COUNT_FIELD_NUMBER
publicstaticfinalintNEIGHBOR_COUNT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RESTRICTIONS_FIELD_NUMBER
publicstaticfinalintRESTRICTIONS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
RETURN_EMBEDDINGS_FIELD_NUMBER
publicstaticfinalintRETURN_EMBEDDINGS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
Static Methods
getDefaultInstance()
publicstaticExamplesOverridegetDefaultInstance()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticExamplesOverride.BuildernewBuilder()
newBuilder(ExamplesOverride prototype)
publicstaticExamplesOverride.BuildernewBuilder(ExamplesOverrideprototype)
publicstaticExamplesOverrideparseDelimitedFrom(InputStreaminput)
publicstaticExamplesOverrideparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticExamplesOverrideparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticExamplesOverrideparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticExamplesOverrideparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticExamplesOverrideparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticExamplesOverrideparseFrom(CodedInputStreaminput)
publicstaticExamplesOverrideparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticExamplesOverrideparseFrom(InputStreaminput)
publicstaticExamplesOverrideparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticExamplesOverrideparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticExamplesOverrideparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<ExamplesOverride>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getCrowdingCount()
publicintgetCrowdingCount()
The number of neighbors to return that have the same crowding tag.
int32 crowding_count = 2;
| Returns |
| Type |
Description |
int |
The crowdingCount.
|
publicExamplesOverride.DataFormatgetDataFormat()
The format of the data being provided with each call.
.google.cloud.vertexai.v1.ExamplesOverride.DataFormat data_format = 5;
publicintgetDataFormatValue()
The format of the data being provided with each call.
.google.cloud.vertexai.v1.ExamplesOverride.DataFormat data_format = 5;
| Returns |
| Type |
Description |
int |
The enum numeric value on the wire for dataFormat.
|
getDefaultInstanceForType()
publicExamplesOverridegetDefaultInstanceForType()
getNeighborCount()
publicintgetNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 1;
| Returns |
| Type |
Description |
int |
The neighborCount.
|
getParserForType()
publicParser<ExamplesOverride>getParserForType()
Overrides
getRestrictions(int index)
publicExamplesRestrictionsNamespacegetRestrictions(intindex)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
| Parameter |
| Name |
Description |
index |
int
|
getRestrictionsCount()
publicintgetRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
| Returns |
| Type |
Description |
int |
getRestrictionsList()
publicList<ExamplesRestrictionsNamespace>getRestrictionsList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
getRestrictionsOrBuilder(int index)
publicExamplesRestrictionsNamespaceOrBuildergetRestrictionsOrBuilder(intindex)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
| Parameter |
| Name |
Description |
index |
int
|
getRestrictionsOrBuilderList()
publicList<?extendsExamplesRestrictionsNamespaceOrBuilder>getRestrictionsOrBuilderList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.vertexai.api.ExamplesRestrictionsNamespaceOrBuilder> |
getReturnEmbeddings()
publicbooleangetReturnEmbeddings()
If true, return the embeddings instead of neighbors.
bool return_embeddings = 4;
| Returns |
| Type |
Description |
boolean |
The returnEmbeddings.
|
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
hashCode()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicExamplesOverride.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedExamplesOverride.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicExamplesOverride.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides