Class ApplyHash (2.51.0)

public final class ApplyHash extends GeneratedMessageV3 implements ApplyHashOrBuilder

Apply a hash function on the value.

Protobuf type google.cloud.clouddms.v1.ApplyHash

Implements

ApplyHashOrBuilder

Static Fields

UUID_FROM_BYTES_FIELD_NUMBER

public static final int UUID_FROM_BYTES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ApplyHash getDefaultInstance()
Returns
Type Description
ApplyHash

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ApplyHash.Builder newBuilder()
Returns
Type Description
ApplyHash.Builder

newBuilder(ApplyHash prototype)

public static ApplyHash.Builder newBuilder(ApplyHash prototype)
Parameter
Name Description
prototype ApplyHash
Returns
Type Description
ApplyHash.Builder

parseDelimitedFrom(InputStream input)

public static ApplyHash parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ApplyHash parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ApplyHash parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ApplyHash parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ApplyHash parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ApplyHash parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ApplyHash parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ApplyHash
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ApplyHash> parser()
Returns
Type Description
Parser<ApplyHash>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public ApplyHash getDefaultInstanceForType()
Returns
Type Description
ApplyHash

getHashFunctionCase()

public ApplyHash.HashFunctionCase getHashFunctionCase()
Returns
Type Description
ApplyHash.HashFunctionCase

getParserForType()

public Parser<ApplyHash> getParserForType()
Returns
Type Description
Parser<ApplyHash>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getUuidFromBytes()

public Empty getUuidFromBytes()

Optional. Generate UUID from the data's byte array

.google.protobuf.Empty uuid_from_bytes = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Empty

The uuidFromBytes.

getUuidFromBytesOrBuilder()

public EmptyOrBuilder getUuidFromBytesOrBuilder()

Optional. Generate UUID from the data's byte array

.google.protobuf.Empty uuid_from_bytes = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EmptyOrBuilder

hasUuidFromBytes()

public boolean hasUuidFromBytes()

Optional. Generate UUID from the data's byte array

.google.protobuf.Empty uuid_from_bytes = 100 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the uuidFromBytes field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ApplyHash.Builder newBuilderForType()
Returns
Type Description
ApplyHash.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ApplyHash.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ApplyHash.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ApplyHash.Builder toBuilder()
Returns
Type Description
ApplyHash.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException