Class SyntheticContentAttestation.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<SyntheticContentAttestation.Builder>
com.google.ads.googleads.v24.common.SyntheticContentAttestation.Builder
All Implemented Interfaces:
SyntheticContentAttestationOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
SyntheticContentAttestation

public static final class SyntheticContentAttestation.Builder extends com.google.protobuf.GeneratedMessage.Builder<SyntheticContentAttestation.Builder> implements SyntheticContentAttestationOrBuilder
 Represents an attestation about synthetic content from a single source.
 
Protobuf type google.ads.googleads.v24.common.SyntheticContentAttestation
  • 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<SyntheticContentAttestation.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<SyntheticContentAttestation.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<SyntheticContentAttestation.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

      public SyntheticContentAttestation.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<SyntheticContentAttestation.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<SyntheticContentAttestation.Builder>
    • mergeFrom

      public SyntheticContentAttestation.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<SyntheticContentAttestation.Builder>
      Throws:
      IOException
    • getStatusValue

      public int getStatusValue()
       Indicates whether the content is considered synthetic by this source.
       
      .google.ads.googleads.v24.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;
      Specified by:
      getStatusValue in interface SyntheticContentAttestationOrBuilder
      Returns:
      The enum numeric value on the wire for status.
    • setStatusValue

      public SyntheticContentAttestation.Builder setStatusValue(int value)
       Indicates whether the content is considered synthetic by this source.
       
      .google.ads.googleads.v24.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;
      Parameters:
      value - The enum numeric value on the wire for status to set.
      Returns:
      This builder for chaining.
    • getStatus

       Indicates whether the content is considered synthetic by this source.
       
      .google.ads.googleads.v24.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;
      Specified by:
      getStatus in interface SyntheticContentAttestationOrBuilder
      Returns:
      The status.
    • setStatus

       Indicates whether the content is considered synthetic by this source.
       
      .google.ads.googleads.v24.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;
      Parameters:
      value - The status to set.
      Returns:
      This builder for chaining.
    • clearStatus

       Indicates whether the content is considered synthetic by this source.
       
      .google.ads.googleads.v24.enums.SyntheticContentAttestationStatusEnum.SyntheticContentAttestationStatus status = 1;
      Returns:
      This builder for chaining.
    • getSourceValue

      public int getSourceValue()
       The source of the synthetic content attestation.
       
      .google.ads.googleads.v24.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;
      Specified by:
      getSourceValue in interface SyntheticContentAttestationOrBuilder
      Returns:
      The enum numeric value on the wire for source.
    • setSourceValue

      public SyntheticContentAttestation.Builder setSourceValue(int value)
       The source of the synthetic content attestation.
       
      .google.ads.googleads.v24.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;
      Parameters:
      value - The enum numeric value on the wire for source to set.
      Returns:
      This builder for chaining.
    • getSource

       The source of the synthetic content attestation.
       
      .google.ads.googleads.v24.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;
      Specified by:
      getSource in interface SyntheticContentAttestationOrBuilder
      Returns:
      The source.
    • setSource

       The source of the synthetic content attestation.
       
      .google.ads.googleads.v24.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;
      Parameters:
      value - The source to set.
      Returns:
      This builder for chaining.
    • clearSource

       The source of the synthetic content attestation.
       
      .google.ads.googleads.v24.enums.SyntheticContentSourceEnum.SyntheticContentSource source = 2;
      Returns:
      This builder for chaining.