public final class ExamplesOverride extends GeneratedMessageV3 implements ExamplesOverrideOrBuilder
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
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 |
|
NEIGHBOR_COUNT_FIELD_NUMBER
public static final int NEIGHBOR_COUNT_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RESTRICTIONS_FIELD_NUMBER
public static final int RESTRICTIONS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
RETURN_EMBEDDINGS_FIELD_NUMBER
public static final int RETURN_EMBEDDINGS_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static ExamplesOverride getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ExamplesOverride.Builder newBuilder()
newBuilder(ExamplesOverride prototype)
public static ExamplesOverride.Builder newBuilder(ExamplesOverride prototype)
public static ExamplesOverride parseDelimitedFrom(InputStream input)
public static ExamplesOverride parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ExamplesOverride parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ExamplesOverride parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ExamplesOverride parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
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)
parseFrom(ByteBuffer data)
public static ExamplesOverride parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ExamplesOverride parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ExamplesOverride> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
Overrides
getCrowdingCount()
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.vertexai.v1.ExamplesOverride.DataFormat data_format = 5;
public int getDataFormatValue()
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()
public ExamplesOverride getDefaultInstanceForType()
getNeighborCount()
public int getNeighborCount()
The number of neighbors to return.
int32 neighbor_count = 1;
Returns |
Type |
Description |
int |
The neighborCount.
|
getParserForType()
public Parser<ExamplesOverride> getParserForType()
Overrides
getRestrictions(int index)
public ExamplesRestrictionsNamespace getRestrictions(int index)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
Parameter |
Name |
Description |
index |
int
|
getRestrictionsCount()
public int getRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
Returns |
Type |
Description |
int |
|
getRestrictionsList()
public List<ExamplesRestrictionsNamespace> getRestrictionsList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
getRestrictionsOrBuilder(int index)
public ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder(int index)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.vertexai.v1.ExamplesRestrictionsNamespace restrictions = 3;
Parameter |
Name |
Description |
index |
int
|
getRestrictionsOrBuilderList()
public List<? extends ExamplesRestrictionsNamespaceOrBuilder> 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()
public boolean getReturnEmbeddings()
If true, return the embeddings instead of neighbors.
bool return_embeddings = 4;
Returns |
Type |
Description |
boolean |
The returnEmbeddings.
|
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 ExamplesOverride.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ExamplesOverride.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public ExamplesOverride.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides