public
static
final
class
Hash
.
Builder
extends
GeneratedMessage
.
Builder<Hash
.
Builder
>
implements
HashOrBuilder
Container message for hash values.
Protobuf type grafeas.v1.Hash
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Hash.BuilderImplements
HashOrBuilderStatic Methods
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
Methods
build()
public
Hash
build
()
buildPartial()
public
Hash
buildPartial
()
clear()
public
Hash
.
Builder
clear
()
clearType()
public
Hash
.
Builder
clearType
()
Required. The type of hash that was performed, e.g. "SHA-256".
string type = 1;
clearValue()
public
Hash
.
Builder
clearValue
()
Required. The hash value.
bytes value = 2;
getDefaultInstanceForType()
public
Hash
getDefaultInstanceForType
()
getDescriptorForType()
public
Descriptors
.
Descriptor
getDescriptorForType
()
getType()
public
String
getType
()
Required. The type of hash that was performed, e.g. "SHA-256".
string type = 1;
getTypeBytes()
public
ByteString
getTypeBytes
()
Required. The type of hash that was performed, e.g. "SHA-256".
string type = 1;
getValue()
public
ByteString
getValue
()
Required. The hash value.
bytes value = 2;
internalGetFieldAccessorTable()
protected
GeneratedMessage
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
Hash
.
Builder
mergeFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
mergeFrom(Message other)
public
Hash
.
Builder
mergeFrom
(
Message
other
)
mergeFrom(Hash other)
public
Hash
.
Builder
mergeFrom
(
Hash
other
)
setType(String value)
public
Hash
.
Builder
setType
(
String
value
)
Required. The type of hash that was performed, e.g. "SHA-256".
string type = 1;
setTypeBytes(ByteString value)
public
Hash
.
Builder
setTypeBytes
(
ByteString
value
)
Required. The type of hash that was performed, e.g. "SHA-256".
string type = 1;
setValue(ByteString value)
public
Hash
.
Builder
setValue
(
ByteString
value
)
Required. The hash value.
bytes value = 2;

