Class CcLicenseCondition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<CcLicenseCondition.Builder>
com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder>
ai.pipestream.parsed.data.creative_commons.v1.CcLicenseCondition.Builder
All Implemented Interfaces:
CcLicenseConditionOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
CcLicenseCondition

public static final class CcLicenseCondition.Builder extends com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder> implements CcLicenseConditionOrBuilder
 Represents a Creative Commons license condition
 
Protobuf type ai.pipestream.parsed.data.creative_commons.v1.CcLicenseCondition
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder>
    • clear

      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder>
    • getDefaultInstanceForType

      public CcLicenseCondition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public CcLicenseCondition build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public CcLicenseCondition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

      public CcLicenseCondition.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CcLicenseCondition.Builder>
    • mergeFrom

    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.Builder<CcLicenseCondition.Builder>
    • mergeFrom

      public CcLicenseCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<CcLicenseCondition.Builder>
      Throws:
      IOException
    • getConditionType

      public String getConditionType()
       Condition type (e.g., "by", "sa", "nc", "nd")
       
      string condition_type = 1 [json_name = "conditionType"];
      Specified by:
      getConditionType in interface CcLicenseConditionOrBuilder
      Returns:
      The conditionType.
    • getConditionTypeBytes

      public com.google.protobuf.ByteString getConditionTypeBytes()
       Condition type (e.g., "by", "sa", "nc", "nd")
       
      string condition_type = 1 [json_name = "conditionType"];
      Specified by:
      getConditionTypeBytes in interface CcLicenseConditionOrBuilder
      Returns:
      The bytes for conditionType.
    • setConditionType

      public CcLicenseCondition.Builder setConditionType(String value)
       Condition type (e.g., "by", "sa", "nc", "nd")
       
      string condition_type = 1 [json_name = "conditionType"];
      Parameters:
      value - The conditionType to set.
      Returns:
      This builder for chaining.
    • clearConditionType

      public CcLicenseCondition.Builder clearConditionType()
       Condition type (e.g., "by", "sa", "nc", "nd")
       
      string condition_type = 1 [json_name = "conditionType"];
      Returns:
      This builder for chaining.
    • setConditionTypeBytes

      public CcLicenseCondition.Builder setConditionTypeBytes(com.google.protobuf.ByteString value)
       Condition type (e.g., "by", "sa", "nc", "nd")
       
      string condition_type = 1 [json_name = "conditionType"];
      Parameters:
      value - The bytes for conditionType to set.
      Returns:
      This builder for chaining.
    • hasDescription

      public boolean hasDescription()
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Specified by:
      hasDescription in interface CcLicenseConditionOrBuilder
      Returns:
      Whether the description field is set.
    • getDescription

      public String getDescription()
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Specified by:
      getDescription in interface CcLicenseConditionOrBuilder
      Returns:
      The description.
    • getDescriptionBytes

      public com.google.protobuf.ByteString getDescriptionBytes()
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Specified by:
      getDescriptionBytes in interface CcLicenseConditionOrBuilder
      Returns:
      The bytes for description.
    • setDescription

      public CcLicenseCondition.Builder setDescription(String value)
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Parameters:
      value - The description to set.
      Returns:
      This builder for chaining.
    • clearDescription

      public CcLicenseCondition.Builder clearDescription()
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Returns:
      This builder for chaining.
    • setDescriptionBytes

      public CcLicenseCondition.Builder setDescriptionBytes(com.google.protobuf.ByteString value)
       Condition description
       
      optional string description = 2 [json_name = "description"];
      Parameters:
      value - The bytes for description to set.
      Returns:
      This builder for chaining.
    • hasInfoUrl

      public boolean hasInfoUrl()
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Specified by:
      hasInfoUrl in interface CcLicenseConditionOrBuilder
      Returns:
      Whether the infoUrl field is set.
    • getInfoUrl

      public String getInfoUrl()
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Specified by:
      getInfoUrl in interface CcLicenseConditionOrBuilder
      Returns:
      The infoUrl.
    • getInfoUrlBytes

      public com.google.protobuf.ByteString getInfoUrlBytes()
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Specified by:
      getInfoUrlBytes in interface CcLicenseConditionOrBuilder
      Returns:
      The bytes for infoUrl.
    • setInfoUrl

      public CcLicenseCondition.Builder setInfoUrl(String value)
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Parameters:
      value - The infoUrl to set.
      Returns:
      This builder for chaining.
    • clearInfoUrl

      public CcLicenseCondition.Builder clearInfoUrl()
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Returns:
      This builder for chaining.
    • setInfoUrlBytes

      public CcLicenseCondition.Builder setInfoUrlBytes(com.google.protobuf.ByteString value)
       Condition URL for more information
       
      optional string info_url = 3 [json_name = "infoUrl"];
      Parameters:
      value - The bytes for infoUrl to set.
      Returns:
      This builder for chaining.