Class GenericDocument.Builder<BuilderType>
public class GenericDocument.Builder<BuilderType> : JVMBridgeBase<GenericDocument.Builder<BuilderType>>, IDynamicMetaObjectProvider, IJVMBridgeCore, IEquatable<IJVMBridgeBaseInstance>, IDisposable, IJVMBridgeBaseStatic, IJVMBridgeBase, IJVMBridgeBaseInstance, IJVMBridgeDefinition where BuilderType : GenericDocument.Builder<BuilderType>
Type Parameters
BuilderType
- Inheritance
-
GenericDocument.Builder<BuilderType>
- Implements
- Extension Methods
Constructors
Builder(GenericDocument)
public Builder(GenericDocument arg0)
Parameters
Builder(String, String, String)
public Builder(String arg0, String arg1, String arg2)
Parameters
Builder(IJVMBridgeBaseInitializer)
Initializer used internally by JCOBridge. Do not use directly.
[Obsolete("This public initializer is needed for JCOBridge internal use, other uses can produce unidentible behaviors.")]
public Builder(IJVMBridgeBaseInitializer initializer)
Parameters
initializerIJVMBridgeBaseInitializer
Properties
BridgeClassName
Java class name to be instantiated
public override string BridgeClassName { get; }
Property Value
IsBridgeAbstract
true if the BridgeClassName is an abstract class, i.e. cannot be created an instance
public override bool IsBridgeAbstract { get; }
Property Value
IsBridgeCloseable
true if the BridgeClassName implements java.lang.AutoCloseable
public override bool IsBridgeCloseable { get; }
Property Value
IsBridgeInterface
true if the BridgeClassName is an interface, i.e. does not have any public constructor
public override bool IsBridgeInterface { get; }
Property Value
IsBridgeStatic
true if the BridgeClassName is a static class, i.e. does not have any public constructor
public override bool IsBridgeStatic { get; }
Property Value
Methods
Build()
public GenericDocument Build()
Returns
ClearProperty(String)
public BuilderType ClearProperty(String arg0)
Parameters
Returns
- BuilderType
BuilderType
CreatePoolableInstance(GenericDocument)
HPA initializer for Builder(Android.App.Appsearch.GenericDocument arg0)
public static GenericDocument.Builder<BuilderType> CreatePoolableInstance(GenericDocument arg0)
Parameters
arg0GenericDocument
Returns
- GenericDocument.Builder<BuilderType>
CreatePoolableInstance(String, String, String)
HPA initializer for Builder(Java.Lang.String arg0, Java.Lang.String arg1, Java.Lang.String arg2)
public static GenericDocument.Builder<BuilderType> CreatePoolableInstance(String arg0, String arg1, String arg2)
Parameters
Returns
- GenericDocument.Builder<BuilderType>
SetCreationTimestampMillis(long)
public BuilderType SetCreationTimestampMillis(long arg0)
Parameters
Returns
- BuilderType
BuilderType
SetId(String)
public BuilderType SetId(String arg0)
Parameters
Returns
- BuilderType
BuilderType
SetNamespace(String)
public BuilderType SetNamespace(String arg0)
Parameters
Returns
- BuilderType
BuilderType
SetPropertyBlobHandle(String, params AppSearchBlobHandle[])
public BuilderType SetPropertyBlobHandle(String arg0, params AppSearchBlobHandle[] arg1)
Parameters
arg0Stringarg1AppSearchBlobHandle[]
Returns
- BuilderType
BuilderType
SetPropertyBoolean(String, params bool[])
public BuilderType SetPropertyBoolean(String arg0, params bool[] arg1)
Parameters
Returns
- BuilderType
BuilderType
SetPropertyBytes(String, params byte[][])
public BuilderType SetPropertyBytes(String arg0, params byte[][] arg1)
Parameters
Returns
- BuilderType
BuilderType
SetPropertyDocument(String, params GenericDocument[])
public BuilderType SetPropertyDocument(String arg0, params GenericDocument[] arg1)
Parameters
arg0Stringarg1GenericDocument[]
Returns
- BuilderType
BuilderType
SetPropertyDouble(String, params double[])
public BuilderType SetPropertyDouble(String arg0, params double[] arg1)
Parameters
Returns
- BuilderType
BuilderType
SetPropertyEmbedding(String, params EmbeddingVector[])
public BuilderType SetPropertyEmbedding(String arg0, params EmbeddingVector[] arg1)
Parameters
arg0Stringarg1EmbeddingVector[]
Returns
- BuilderType
BuilderType
SetPropertyLong(String, params long[])
public BuilderType SetPropertyLong(String arg0, params long[] arg1)
Parameters
Returns
- BuilderType
BuilderType
SetPropertyString(String, params String[])
public BuilderType SetPropertyString(String arg0, params String[] arg1)
Parameters
Returns
- BuilderType
BuilderType
SetSchemaType(String)
public BuilderType SetSchemaType(String arg0)
Parameters
Returns
- BuilderType
BuilderType
SetScore(int)
public BuilderType SetScore(int arg0)
Parameters
Returns
- BuilderType
BuilderType
SetTtlMillis(long)
public BuilderType SetTtlMillis(long arg0)
Parameters
Returns
- BuilderType
BuilderType
Operators
implicit operator Builder(Builder<BuilderType>)
Converter from GenericDocument.Builder<BuilderType> to GenericDocument.Builder
public static implicit operator GenericDocument.Builder(GenericDocument.Builder<BuilderType> t)
Parameters
tGenericDocument.Builder<BuilderType>