Package com.google.storage.v2
Interface ChecksummedDataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ChecksummedData,ChecksummedData.Builder
public interface ChecksummedDataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptioncom.google.protobuf.ByteStringOptional.intIf set, the CRC32C digest of the content field.booleanIf set, the CRC32C digest of the content field.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getContent
com.google.protobuf.ByteString getContent()Optional. The data.
bytes content = 1 [ctype = CORD, (.google.api.field_behavior) = OPTIONAL];- Returns:
- The content.
-
hasCrc32C
boolean hasCrc32C()If set, the CRC32C digest of the content field.
optional fixed32 crc32c = 2;- Returns:
- Whether the crc32c field is set.
-
getCrc32C
int getCrc32C()If set, the CRC32C digest of the content field.
optional fixed32 crc32c = 2;- Returns:
- The crc32c.
-