Class Checksum.CacheRecord.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<Checksum.CacheRecord.Builder>
com.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
contenthash.Checksum.CacheRecord.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Checksum.CacheRecordOrBuilder
,Cloneable
- Enclosing class:
Checksum.CacheRecord
public static final class Checksum.CacheRecord.Builder
extends com.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
implements Checksum.CacheRecordOrBuilder
Protobuf type
contenthash.CacheRecord
-
Method Summary
Modifier and TypeMethodDescriptionbuild()
clear()
string digest = 1;
string linkname = 3;
.contenthash.CacheRecordType type = 2;
static final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
string digest = 1;
com.google.protobuf.ByteString
string digest = 1;
string linkname = 3;
com.google.protobuf.ByteString
string linkname = 3;
getType()
.contenthash.CacheRecordType type = 2;
int
.contenthash.CacheRecordType type = 2;
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeFrom
(Checksum.CacheRecord other) string digest = 1;
setDigestBytes
(com.google.protobuf.ByteString value) string digest = 1;
setLinkname
(String value) string linkname = 3;
setLinknameBytes
(com.google.protobuf.ByteString value) string linkname = 3;
setType
(Checksum.CacheRecordType value) .contenthash.CacheRecordType type = 2;
setTypeValue
(int value) .contenthash.CacheRecordType type = 2;
Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Checksum.CacheRecord.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessage.Builder<Checksum.CacheRecord.Builder>
-
mergeFrom
public Checksum.CacheRecord.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<Checksum.CacheRecord.Builder>
- Throws:
IOException
-
getDigest
string digest = 1;
- Specified by:
getDigest
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The digest.
-
getDigestBytes
public com.google.protobuf.ByteString getDigestBytes()string digest = 1;
- Specified by:
getDigestBytes
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The bytes for digest.
-
setDigest
string digest = 1;
- Parameters:
value
- The digest to set.- Returns:
- This builder for chaining.
-
clearDigest
string digest = 1;
- Returns:
- This builder for chaining.
-
setDigestBytes
string digest = 1;
- Parameters:
value
- The bytes for digest to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue().contenthash.CacheRecordType type = 2;
- Specified by:
getTypeValue
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.contenthash.CacheRecordType type = 2;
- Parameters:
value
- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
getType
.contenthash.CacheRecordType type = 2;
- Specified by:
getType
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The type.
-
setType
.contenthash.CacheRecordType type = 2;
- Parameters:
value
- The type to set.- Returns:
- This builder for chaining.
-
clearType
.contenthash.CacheRecordType type = 2;
- Returns:
- This builder for chaining.
-
getLinkname
string linkname = 3;
- Specified by:
getLinkname
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The linkname.
-
getLinknameBytes
public com.google.protobuf.ByteString getLinknameBytes()string linkname = 3;
- Specified by:
getLinknameBytes
in interfaceChecksum.CacheRecordOrBuilder
- Returns:
- The bytes for linkname.
-
setLinkname
string linkname = 3;
- Parameters:
value
- The linkname to set.- Returns:
- This builder for chaining.
-
clearLinkname
string linkname = 3;
- Returns:
- This builder for chaining.
-
setLinknameBytes
string linkname = 3;
- Parameters:
value
- The bytes for linkname to set.- Returns:
- This builder for chaining.
-