public final class ExamplesOverride extends GeneratedMessageV3 implements ExamplesOverrideOrBuilder
Overrides for example-based explanations.
Protobuf type google.cloud.aiplatform.v1beta1.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>)
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.v1beta1.ExamplesOverride.DataFormat data_format = 5;
public int getDataFormatValue()
The format of the data being provided with each call.
.google.cloud.aiplatform.v1beta1.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.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;
Parameter |
---|
Name | Description |
index | int
|
public int getRestrictionsCount()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;
Returns |
---|
Type | Description |
int | |
public List<ExamplesRestrictionsNamespace> getRestrictionsList()
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;
public ExamplesRestrictionsNamespaceOrBuilder getRestrictionsOrBuilder(int index)
Restrict the resulting nearest neighbors to respect these constraints.
repeated .google.cloud.aiplatform.v1beta1.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.v1beta1.ExamplesRestrictionsNamespace restrictions = 3;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.aiplatform.v1beta1.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)
Overrides
public ExamplesOverride.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides