Interface CcLicenseRestrictionOrBuilder

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

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

    Modifier and Type
    Method
    Description
    Restriction description
    com.google.protobuf.ByteString
    Restriction description
    Restriction type (e.g., "no_commercial", "no_derivatives", "share_alike")
    com.google.protobuf.ByteString
    Restriction type (e.g., "no_commercial", "no_derivatives", "share_alike")
    Consequences of violating this restriction
    com.google.protobuf.ByteString
    Consequences of violating this restriction
    boolean
    Restriction description
    boolean
    Consequences of violating this restriction

    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

    • getRestrictionType

      String getRestrictionType()
       Restriction type (e.g., "no_commercial", "no_derivatives", "share_alike")
       
      string restriction_type = 1 [json_name = "restrictionType"];
      Returns:
      The restrictionType.
    • getRestrictionTypeBytes

      com.google.protobuf.ByteString getRestrictionTypeBytes()
       Restriction type (e.g., "no_commercial", "no_derivatives", "share_alike")
       
      string restriction_type = 1 [json_name = "restrictionType"];
      Returns:
      The bytes for restrictionType.
    • hasDescription

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

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

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

      boolean hasViolationConsequences()
       Consequences of violating this restriction
       
      optional string violation_consequences = 3 [json_name = "violationConsequences"];
      Returns:
      Whether the violationConsequences field is set.
    • getViolationConsequences

      String getViolationConsequences()
       Consequences of violating this restriction
       
      optional string violation_consequences = 3 [json_name = "violationConsequences"];
      Returns:
      The violationConsequences.
    • getViolationConsequencesBytes

      com.google.protobuf.ByteString getViolationConsequencesBytes()
       Consequences of violating this restriction
       
      optional string violation_consequences = 3 [json_name = "violationConsequences"];
      Returns:
      The bytes for violationConsequences.