public static final class Digest.Builder extends GeneratedMessageV3.Builder<Digest.Builder> implements DigestOrBuilder
Digest information.
Protobuf type grafeas.v1.Digest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Digest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
buildPartial()
public Digest buildPartial()
clear()
public Digest.Builder clear()
Overrides
clearAlgo()
public Digest.Builder clearAlgo()
SHA1
, SHA512
etc.
string algo = 1;
clearDigestBytes()
public Digest.Builder clearDigestBytes()
Value of the digest.
bytes digest_bytes = 2;
clearField(Descriptors.FieldDescriptor field)
public Digest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public Digest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public Digest.Builder clone()
Overrides
getAlgo()
SHA1
, SHA512
etc.
string algo = 1;
Returns |
---|
Type | Description |
String | The algo.
|
getAlgoBytes()
public ByteString getAlgoBytes()
SHA1
, SHA512
etc.
string algo = 1;
Returns |
---|
Type | Description |
ByteString | The bytes for algo.
|
getDefaultInstanceForType()
public Digest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getDigestBytes()
public ByteString getDigestBytes()
Value of the digest.
bytes digest_bytes = 2;
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public Digest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public Digest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(Digest other)
public Digest.Builder mergeFrom(Digest other)
Parameter |
---|
Name | Description |
other | Digest
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Digest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setAlgo(String value)
public Digest.Builder setAlgo(String value)
SHA1
, SHA512
etc.
string algo = 1;
Parameter |
---|
Name | Description |
value | String
The algo to set.
|
setAlgoBytes(ByteString value)
public Digest.Builder setAlgoBytes(ByteString value)
SHA1
, SHA512
etc.
string algo = 1;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for algo to set.
|
setDigestBytes(ByteString value)
public Digest.Builder setDigestBytes(ByteString value)
Value of the digest.
bytes digest_bytes = 2;
Parameter |
---|
Name | Description |
value | ByteString
The digestBytes to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public Digest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Digest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final Digest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides