Interface CcLicensePermissionOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
CcLicensePermission, CcLicensePermission.Builder

@Generated public interface CcLicensePermissionOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    getConditions(int index)
    Conditions under which this permission applies
    com.google.protobuf.ByteString
    getConditionsBytes(int index)
    Conditions under which this permission applies
    int
    Conditions under which this permission applies
    Conditions under which this permission applies
    Permission description
    com.google.protobuf.ByteString
    Permission description
    Permission type (e.g., "reproduce", "distribute", "display", "perform")
    com.google.protobuf.ByteString
    Permission type (e.g., "reproduce", "distribute", "display", "perform")
    boolean
    Permission description

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getPermissionType

      String getPermissionType()
       Permission type (e.g., "reproduce", "distribute", "display", "perform")
       
      string permission_type = 1 [json_name = "permissionType"];
      Returns:
      The permissionType.
    • getPermissionTypeBytes

      com.google.protobuf.ByteString getPermissionTypeBytes()
       Permission type (e.g., "reproduce", "distribute", "display", "perform")
       
      string permission_type = 1 [json_name = "permissionType"];
      Returns:
      The bytes for permissionType.
    • hasDescription

      boolean hasDescription()
       Permission description
       
      optional string description = 2 [json_name = "description"];
      Returns:
      Whether the description field is set.
    • getDescription

      String getDescription()
       Permission description
       
      optional string description = 2 [json_name = "description"];
      Returns:
      The description.
    • getDescriptionBytes

      com.google.protobuf.ByteString getDescriptionBytes()
       Permission description
       
      optional string description = 2 [json_name = "description"];
      Returns:
      The bytes for description.
    • getConditionsList

      List<String> getConditionsList()
       Conditions under which this permission applies
       
      repeated string conditions = 3 [json_name = "conditions"];
      Returns:
      A list containing the conditions.
    • getConditionsCount

      int getConditionsCount()
       Conditions under which this permission applies
       
      repeated string conditions = 3 [json_name = "conditions"];
      Returns:
      The count of conditions.
    • getConditions

      String getConditions(int index)
       Conditions under which this permission applies
       
      repeated string conditions = 3 [json_name = "conditions"];
      Parameters:
      index - The index of the element to return.
      Returns:
      The conditions at the given index.
    • getConditionsBytes

      com.google.protobuf.ByteString getConditionsBytes(int index)
       Conditions under which this permission applies
       
      repeated string conditions = 3 [json_name = "conditions"];
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the conditions at the given index.