Class ApplyHash (2.39.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static ApplyHash getDefaultInstance()
Returns
TypeDescription
ApplyHash

getDescriptor()

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

newBuilder()

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

newBuilder(ApplyHash prototype)

public static ApplyHash.Builder newBuilder(ApplyHash prototype)
Parameter
NameDescription
prototypeApplyHash
Returns
TypeDescription
ApplyHash.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public ApplyHash getDefaultInstanceForType()
Returns
TypeDescription
ApplyHash

getHashFunctionCase()

public ApplyHash.HashFunctionCase getHashFunctionCase()
Returns
TypeDescription
ApplyHash.HashFunctionCase

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the uuidFromBytes field is set.

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 ApplyHash.Builder newBuilderForType()
Returns
TypeDescription
ApplyHash.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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