Class ConversionAction.GoogleAnalytics4Settings

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
com.google.protobuf.GeneratedMessageV3
com.google.ads.googleads.v21.resources.ConversionAction.GoogleAnalytics4Settings
All Implemented Interfaces:
ConversionAction.GoogleAnalytics4SettingsOrBuilder, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
ConversionAction

public static final class ConversionAction.GoogleAnalytics4Settings extends com.google.protobuf.GeneratedMessageV3 implements ConversionAction.GoogleAnalytics4SettingsOrBuilder
 Settings related to a Google Analytics 4 conversion action.
 
Protobuf type google.ads.googleads.v21.resources.ConversionAction.GoogleAnalytics4Settings
See Also:
  • Field Details

    • EVENT_NAME_FIELD_NUMBER

      public static final int EVENT_NAME_FIELD_NUMBER
      See Also:
    • PROPERTY_NAME_FIELD_NUMBER

      public static final int PROPERTY_NAME_FIELD_NUMBER
      See Also:
    • PROPERTY_ID_FIELD_NUMBER

      public static final int PROPERTY_ID_FIELD_NUMBER
      See Also:
  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Overrides:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3
    • getEventName

      public String getEventName()
       Output only. The name of the GA 4 event.
       
      string event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEventName in interface ConversionAction.GoogleAnalytics4SettingsOrBuilder
      Returns:
      The eventName.
    • getEventNameBytes

      public com.google.protobuf.ByteString getEventNameBytes()
       Output only. The name of the GA 4 event.
       
      string event_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getEventNameBytes in interface ConversionAction.GoogleAnalytics4SettingsOrBuilder
      Returns:
      The bytes for eventName.
    • getPropertyName

      public String getPropertyName()
       Output only. The name of the GA 4 property.
       
      string property_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPropertyName in interface ConversionAction.GoogleAnalytics4SettingsOrBuilder
      Returns:
      The propertyName.
    • getPropertyNameBytes

      public com.google.protobuf.ByteString getPropertyNameBytes()
       Output only. The name of the GA 4 property.
       
      string property_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPropertyNameBytes in interface ConversionAction.GoogleAnalytics4SettingsOrBuilder
      Returns:
      The bytes for propertyName.
    • getPropertyId

      public long getPropertyId()
       Output only. The ID of the GA 4 property.
       
      int64 property_id = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getPropertyId in interface ConversionAction.GoogleAnalytics4SettingsOrBuilder
      Returns:
      The propertyId.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage.ExtendableMessage<com.google.protobuf.GeneratedMessageV3>
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConversionAction.GoogleAnalytics4Settings parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ConversionAction.GoogleAnalytics4Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ConversionAction.GoogleAnalytics4Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

    • newBuilder

    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ConversionAction.GoogleAnalytics4Settings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static ConversionAction.GoogleAnalytics4Settings getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ConversionAction.GoogleAnalytics4Settings> parser()
    • getParserForType

      public com.google.protobuf.Parser<ConversionAction.GoogleAnalytics4Settings> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ConversionAction.GoogleAnalytics4Settings getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<com.google.protobuf.GeneratedMessageV3>
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder