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 TypeMethodDescriptionRestriction descriptioncom.google.protobuf.ByteStringRestriction descriptionRestriction type (e.g., "no_commercial", "no_derivatives", "share_alike")com.google.protobuf.ByteStringRestriction type (e.g., "no_commercial", "no_derivatives", "share_alike")Consequences of violating this restrictioncom.google.protobuf.ByteStringConsequences of violating this restrictionbooleanRestriction descriptionbooleanConsequences of violating this restrictionMethods 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
-
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.
-