Class AffinityClusteringConfig (0.2.0)

public final class AffinityClusteringConfig extends GeneratedMessageV3 implements AffinityClusteringConfigOrBuilder

Options for affinity clustering.

Protobuf type google.cloud.enterpriseknowledgegraph.v1.AffinityClusteringConfig

Static Fields

COMPRESSION_ROUND_COUNT_FIELD_NUMBER

public static final int COMPRESSION_ROUND_COUNT_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AffinityClusteringConfig getDefaultInstance()
Returns
TypeDescription
AffinityClusteringConfig

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AffinityClusteringConfig.Builder newBuilder()
Returns
TypeDescription
AffinityClusteringConfig.Builder

newBuilder(AffinityClusteringConfig prototype)

public static AffinityClusteringConfig.Builder newBuilder(AffinityClusteringConfig prototype)
Parameter
NameDescription
prototypeAffinityClusteringConfig
Returns
TypeDescription
AffinityClusteringConfig.Builder

parseDelimitedFrom(InputStream input)

public static AffinityClusteringConfig parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AffinityClusteringConfig parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AffinityClusteringConfig parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AffinityClusteringConfig parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AffinityClusteringConfig parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AffinityClusteringConfig parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AffinityClusteringConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AffinityClusteringConfig
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AffinityClusteringConfig> parser()
Returns
TypeDescription
Parser<AffinityClusteringConfig>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCompressionRoundCount()

public long getCompressionRoundCount()

Number of iterations to perform. Default value is 1.

int64 compression_round_count = 1;

Returns
TypeDescription
long

The compressionRoundCount.

getDefaultInstanceForType()

public AffinityClusteringConfig getDefaultInstanceForType()
Returns
TypeDescription
AffinityClusteringConfig

getParserForType()

public Parser<AffinityClusteringConfig> getParserForType()
Returns
TypeDescription
Parser<AffinityClusteringConfig>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AffinityClusteringConfig.Builder newBuilderForType()
Returns
TypeDescription
AffinityClusteringConfig.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AffinityClusteringConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AffinityClusteringConfig.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AffinityClusteringConfig.Builder toBuilder()
Returns
TypeDescription
AffinityClusteringConfig.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException