Interface WarcEmbeddedResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
WarcEmbeddedResource,WarcEmbeddedResource.Builder
@Generated
public interface WarcEmbeddedResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether the embedded resource was also archivedMIME type of the embedded resourcecom.google.protobuf.ByteStringMIME type of the embedded resourcelonggetSize()Size of the embedded resource in bytesgetUrl()URL or identifier of the embedded resourcecom.google.protobuf.ByteStringURL or identifier of the embedded resourceWARC record ID of the archived embedded resource (if available)com.google.protobuf.ByteStringWARC record ID of the archived embedded resource (if available)booleanWhether the embedded resource was also archivedbooleanMIME type of the embedded resourcebooleanhasSize()Size of the embedded resource in bytesbooleanWARC record ID of the archived embedded resource (if available)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
-
getUrl
String getUrl()URL or identifier of the embedded resource
string url = 1 [json_name = "url"];- Returns:
- The url.
-
getUrlBytes
com.google.protobuf.ByteString getUrlBytes()URL or identifier of the embedded resource
string url = 1 [json_name = "url"];- Returns:
- The bytes for url.
-
hasMimeType
boolean hasMimeType()MIME type of the embedded resource
optional string mime_type = 2 [json_name = "mimeType"];- Returns:
- Whether the mimeType field is set.
-
getMimeType
String getMimeType()MIME type of the embedded resource
optional string mime_type = 2 [json_name = "mimeType"];- Returns:
- The mimeType.
-
getMimeTypeBytes
com.google.protobuf.ByteString getMimeTypeBytes()MIME type of the embedded resource
optional string mime_type = 2 [json_name = "mimeType"];- Returns:
- The bytes for mimeType.
-
hasSize
boolean hasSize()Size of the embedded resource in bytes
optional int64 size = 3 [json_name = "size"];- Returns:
- Whether the size field is set.
-
getSize
long getSize()Size of the embedded resource in bytes
optional int64 size = 3 [json_name = "size"];- Returns:
- The size.
-
hasArchived
boolean hasArchived()Whether the embedded resource was also archived
optional bool archived = 4 [json_name = "archived"];- Returns:
- Whether the archived field is set.
-
getArchived
boolean getArchived()Whether the embedded resource was also archived
optional bool archived = 4 [json_name = "archived"];- Returns:
- The archived.
-
hasWarcRecordId
boolean hasWarcRecordId()WARC record ID of the archived embedded resource (if available)
optional string warc_record_id = 5 [json_name = "warcRecordId"];- Returns:
- Whether the warcRecordId field is set.
-
getWarcRecordId
String getWarcRecordId()WARC record ID of the archived embedded resource (if available)
optional string warc_record_id = 5 [json_name = "warcRecordId"];- Returns:
- The warcRecordId.
-
getWarcRecordIdBytes
com.google.protobuf.ByteString getWarcRecordIdBytes()WARC record ID of the archived embedded resource (if available)
optional string warc_record_id = 5 [json_name = "warcRecordId"];- Returns:
- The bytes for warcRecordId.
-