Interface DrmInformationOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
DrmInformation,DrmInformation.Builder
@Generated
public interface DrmInformationOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleanWhether DRM is presentDRM system usedcom.google.protobuf.ByteStringDRM system usedcom.google.protobuf.TimestampDRM expiration datecom.google.protobuf.TimestampOrBuilderDRM expiration dateDRM protection levelcom.google.protobuf.ByteStringDRM protection levelgetRestrictions(int index) DRM restrictionscom.google.protobuf.ByteStringgetRestrictionsBytes(int index) DRM restrictionsintDRM restrictionsDRM restrictionsbooleanDRM system usedbooleanDRM expiration datebooleanDRM protection levelMethods 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
-
getDrmPresent
boolean getDrmPresent()Whether DRM is present
bool drm_present = 1 [json_name = "drmPresent"];- Returns:
- The drmPresent.
-
hasDrmSystem
boolean hasDrmSystem()DRM system used
optional string drm_system = 2 [json_name = "drmSystem"];- Returns:
- Whether the drmSystem field is set.
-
getDrmSystem
String getDrmSystem()DRM system used
optional string drm_system = 2 [json_name = "drmSystem"];- Returns:
- The drmSystem.
-
getDrmSystemBytes
com.google.protobuf.ByteString getDrmSystemBytes()DRM system used
optional string drm_system = 2 [json_name = "drmSystem"];- Returns:
- The bytes for drmSystem.
-
hasProtectionLevel
boolean hasProtectionLevel()DRM protection level
optional string protection_level = 3 [json_name = "protectionLevel"];- Returns:
- Whether the protectionLevel field is set.
-
getProtectionLevel
String getProtectionLevel()DRM protection level
optional string protection_level = 3 [json_name = "protectionLevel"];- Returns:
- The protectionLevel.
-
getProtectionLevelBytes
com.google.protobuf.ByteString getProtectionLevelBytes()DRM protection level
optional string protection_level = 3 [json_name = "protectionLevel"];- Returns:
- The bytes for protectionLevel.
-
getRestrictionsList
DRM restrictions
repeated string restrictions = 4 [json_name = "restrictions"];- Returns:
- A list containing the restrictions.
-
getRestrictionsCount
int getRestrictionsCount()DRM restrictions
repeated string restrictions = 4 [json_name = "restrictions"];- Returns:
- The count of restrictions.
-
getRestrictions
DRM restrictions
repeated string restrictions = 4 [json_name = "restrictions"];- Parameters:
index- The index of the element to return.- Returns:
- The restrictions at the given index.
-
getRestrictionsBytes
com.google.protobuf.ByteString getRestrictionsBytes(int index) DRM restrictions
repeated string restrictions = 4 [json_name = "restrictions"];- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the restrictions at the given index.
-
hasExpirationDate
boolean hasExpirationDate()DRM expiration date
optional .google.protobuf.Timestamp expiration_date = 5 [json_name = "expirationDate"];- Returns:
- Whether the expirationDate field is set.
-
getExpirationDate
com.google.protobuf.Timestamp getExpirationDate()DRM expiration date
optional .google.protobuf.Timestamp expiration_date = 5 [json_name = "expirationDate"];- Returns:
- The expirationDate.
-
getExpirationDateOrBuilder
com.google.protobuf.TimestampOrBuilder getExpirationDateOrBuilder()DRM expiration date
optional .google.protobuf.Timestamp expiration_date = 5 [json_name = "expirationDate"];
-