All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.google.ads.googleads.v17.services.CallConversionResult Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/ads/googleads/v17/services/conversion_upload_service.proto

// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.services;

/**
 * 
 * Identifying information for a successfully processed CallConversionUpload.
 * 
* * Protobuf type {@code google.ads.googleads.v17.services.CallConversionResult} */ public final class CallConversionResult extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:google.ads.googleads.v17.services.CallConversionResult) CallConversionResultOrBuilder { private static final long serialVersionUID = 0L; // Use CallConversionResult.newBuilder() to construct. private CallConversionResult(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CallConversionResult() { callerId_ = ""; callStartDateTime_ = ""; conversionAction_ = ""; conversionDateTime_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new CallConversionResult(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.ConversionUploadServiceProto.internal_static_google_ads_googleads_v17_services_CallConversionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.ConversionUploadServiceProto.internal_static_google_ads_googleads_v17_services_CallConversionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.CallConversionResult.class, com.google.ads.googleads.v17.services.CallConversionResult.Builder.class); } private int bitField0_; public static final int CALLER_ID_FIELD_NUMBER = 5; @SuppressWarnings("serial") private volatile java.lang.Object callerId_ = ""; /** *
   * The caller id from which this call was placed. Caller id is expected to be
   * in E.164 format with preceding '+' sign.
   * 
* * optional string caller_id = 5; * @return Whether the callerId field is set. */ @java.lang.Override public boolean hasCallerId() { return ((bitField0_ & 0x00000001) != 0); } /** *
   * The caller id from which this call was placed. Caller id is expected to be
   * in E.164 format with preceding '+' sign.
   * 
* * optional string caller_id = 5; * @return The callerId. */ @java.lang.Override public java.lang.String getCallerId() { java.lang.Object ref = callerId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callerId_ = s; return s; } } /** *
   * The caller id from which this call was placed. Caller id is expected to be
   * in E.164 format with preceding '+' sign.
   * 
* * optional string caller_id = 5; * @return The bytes for callerId. */ @java.lang.Override public com.google.protobuf.ByteString getCallerIdBytes() { java.lang.Object ref = callerId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CALL_START_DATE_TIME_FIELD_NUMBER = 6; @SuppressWarnings("serial") private volatile java.lang.Object callStartDateTime_ = ""; /** *
   * The date time at which the call occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string call_start_date_time = 6; * @return Whether the callStartDateTime field is set. */ @java.lang.Override public boolean hasCallStartDateTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
   * The date time at which the call occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string call_start_date_time = 6; * @return The callStartDateTime. */ @java.lang.Override public java.lang.String getCallStartDateTime() { java.lang.Object ref = callStartDateTime_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callStartDateTime_ = s; return s; } } /** *
   * The date time at which the call occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string call_start_date_time = 6; * @return The bytes for callStartDateTime. */ @java.lang.Override public com.google.protobuf.ByteString getCallStartDateTimeBytes() { java.lang.Object ref = callStartDateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callStartDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONVERSION_ACTION_FIELD_NUMBER = 7; @SuppressWarnings("serial") private volatile java.lang.Object conversionAction_ = ""; /** *
   * Resource name of the conversion action associated with this conversion.
   * 
* * optional string conversion_action = 7; * @return Whether the conversionAction field is set. */ @java.lang.Override public boolean hasConversionAction() { return ((bitField0_ & 0x00000004) != 0); } /** *
   * Resource name of the conversion action associated with this conversion.
   * 
* * optional string conversion_action = 7; * @return The conversionAction. */ @java.lang.Override public java.lang.String getConversionAction() { java.lang.Object ref = conversionAction_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversionAction_ = s; return s; } } /** *
   * Resource name of the conversion action associated with this conversion.
   * 
* * optional string conversion_action = 7; * @return The bytes for conversionAction. */ @java.lang.Override public com.google.protobuf.ByteString getConversionActionBytes() { java.lang.Object ref = conversionAction_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); conversionAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int CONVERSION_DATE_TIME_FIELD_NUMBER = 8; @SuppressWarnings("serial") private volatile java.lang.Object conversionDateTime_ = ""; /** *
   * The date time at which the conversion occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string conversion_date_time = 8; * @return Whether the conversionDateTime field is set. */ @java.lang.Override public boolean hasConversionDateTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
   * The date time at which the conversion occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string conversion_date_time = 8; * @return The conversionDateTime. */ @java.lang.Override public java.lang.String getConversionDateTime() { java.lang.Object ref = conversionDateTime_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversionDateTime_ = s; return s; } } /** *
   * The date time at which the conversion occurred. The format is
   * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
   * 
* * optional string conversion_date_time = 8; * @return The bytes for conversionDateTime. */ @java.lang.Override public com.google.protobuf.ByteString getConversionDateTimeBytes() { java.lang.Object ref = conversionDateTime_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); conversionDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, callerId_); } if (((bitField0_ & 0x00000002) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 6, callStartDateTime_); } if (((bitField0_ & 0x00000004) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, conversionAction_); } if (((bitField0_ & 0x00000008) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 8, conversionDateTime_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, callerId_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, callStartDateTime_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, conversionAction_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, conversionDateTime_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.ads.googleads.v17.services.CallConversionResult)) { return super.equals(obj); } com.google.ads.googleads.v17.services.CallConversionResult other = (com.google.ads.googleads.v17.services.CallConversionResult) obj; if (hasCallerId() != other.hasCallerId()) return false; if (hasCallerId()) { if (!getCallerId() .equals(other.getCallerId())) return false; } if (hasCallStartDateTime() != other.hasCallStartDateTime()) return false; if (hasCallStartDateTime()) { if (!getCallStartDateTime() .equals(other.getCallStartDateTime())) return false; } if (hasConversionAction() != other.hasConversionAction()) return false; if (hasConversionAction()) { if (!getConversionAction() .equals(other.getConversionAction())) return false; } if (hasConversionDateTime() != other.hasConversionDateTime()) return false; if (hasConversionDateTime()) { if (!getConversionDateTime() .equals(other.getConversionDateTime())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCallerId()) { hash = (37 * hash) + CALLER_ID_FIELD_NUMBER; hash = (53 * hash) + getCallerId().hashCode(); } if (hasCallStartDateTime()) { hash = (37 * hash) + CALL_START_DATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getCallStartDateTime().hashCode(); } if (hasConversionAction()) { hash = (37 * hash) + CONVERSION_ACTION_FIELD_NUMBER; hash = (53 * hash) + getConversionAction().hashCode(); } if (hasConversionDateTime()) { hash = (37 * hash) + CONVERSION_DATE_TIME_FIELD_NUMBER; hash = (53 * hash) + getConversionDateTime().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.services.CallConversionResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.CallConversionResult parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static com.google.ads.googleads.v17.services.CallConversionResult parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(com.google.ads.googleads.v17.services.CallConversionResult prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Identifying information for a successfully processed CallConversionUpload.
   * 
* * Protobuf type {@code google.ads.googleads.v17.services.CallConversionResult} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.services.CallConversionResult) com.google.ads.googleads.v17.services.CallConversionResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return com.google.ads.googleads.v17.services.ConversionUploadServiceProto.internal_static_google_ads_googleads_v17_services_CallConversionResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return com.google.ads.googleads.v17.services.ConversionUploadServiceProto.internal_static_google_ads_googleads_v17_services_CallConversionResult_fieldAccessorTable .ensureFieldAccessorsInitialized( com.google.ads.googleads.v17.services.CallConversionResult.class, com.google.ads.googleads.v17.services.CallConversionResult.Builder.class); } // Construct using com.google.ads.googleads.v17.services.CallConversionResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; callerId_ = ""; callStartDateTime_ = ""; conversionAction_ = ""; conversionDateTime_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return com.google.ads.googleads.v17.services.ConversionUploadServiceProto.internal_static_google_ads_googleads_v17_services_CallConversionResult_descriptor; } @java.lang.Override public com.google.ads.googleads.v17.services.CallConversionResult getDefaultInstanceForType() { return com.google.ads.googleads.v17.services.CallConversionResult.getDefaultInstance(); } @java.lang.Override public com.google.ads.googleads.v17.services.CallConversionResult build() { com.google.ads.googleads.v17.services.CallConversionResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public com.google.ads.googleads.v17.services.CallConversionResult buildPartial() { com.google.ads.googleads.v17.services.CallConversionResult result = new com.google.ads.googleads.v17.services.CallConversionResult(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(com.google.ads.googleads.v17.services.CallConversionResult result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.callerId_ = callerId_; to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.callStartDateTime_ = callStartDateTime_; to_bitField0_ |= 0x00000002; } if (((from_bitField0_ & 0x00000004) != 0)) { result.conversionAction_ = conversionAction_; to_bitField0_ |= 0x00000004; } if (((from_bitField0_ & 0x00000008) != 0)) { result.conversionDateTime_ = conversionDateTime_; to_bitField0_ |= 0x00000008; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof com.google.ads.googleads.v17.services.CallConversionResult) { return mergeFrom((com.google.ads.googleads.v17.services.CallConversionResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(com.google.ads.googleads.v17.services.CallConversionResult other) { if (other == com.google.ads.googleads.v17.services.CallConversionResult.getDefaultInstance()) return this; if (other.hasCallerId()) { callerId_ = other.callerId_; bitField0_ |= 0x00000001; onChanged(); } if (other.hasCallStartDateTime()) { callStartDateTime_ = other.callStartDateTime_; bitField0_ |= 0x00000002; onChanged(); } if (other.hasConversionAction()) { conversionAction_ = other.conversionAction_; bitField0_ |= 0x00000004; onChanged(); } if (other.hasConversionDateTime()) { conversionDateTime_ = other.conversionDateTime_; bitField0_ |= 0x00000008; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 42: { callerId_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 42 case 50: { callStartDateTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 50 case 58: { conversionAction_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 58 case 66: { conversionDateTime_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 66 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object callerId_ = ""; /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @return Whether the callerId field is set. */ public boolean hasCallerId() { return ((bitField0_ & 0x00000001) != 0); } /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @return The callerId. */ public java.lang.String getCallerId() { java.lang.Object ref = callerId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callerId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @return The bytes for callerId. */ public com.google.protobuf.ByteString getCallerIdBytes() { java.lang.Object ref = callerId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callerId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @param value The callerId to set. * @return This builder for chaining. */ public Builder setCallerId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callerId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @return This builder for chaining. */ public Builder clearCallerId() { callerId_ = getDefaultInstance().getCallerId(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
     * The caller id from which this call was placed. Caller id is expected to be
     * in E.164 format with preceding '+' sign.
     * 
* * optional string caller_id = 5; * @param value The bytes for callerId to set. * @return This builder for chaining. */ public Builder setCallerIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callerId_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private java.lang.Object callStartDateTime_ = ""; /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @return Whether the callStartDateTime field is set. */ public boolean hasCallStartDateTime() { return ((bitField0_ & 0x00000002) != 0); } /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @return The callStartDateTime. */ public java.lang.String getCallStartDateTime() { java.lang.Object ref = callStartDateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); callStartDateTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @return The bytes for callStartDateTime. */ public com.google.protobuf.ByteString getCallStartDateTimeBytes() { java.lang.Object ref = callStartDateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); callStartDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @param value The callStartDateTime to set. * @return This builder for chaining. */ public Builder setCallStartDateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } callStartDateTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @return This builder for chaining. */ public Builder clearCallStartDateTime() { callStartDateTime_ = getDefaultInstance().getCallStartDateTime(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } /** *
     * The date time at which the call occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string call_start_date_time = 6; * @param value The bytes for callStartDateTime to set. * @return This builder for chaining. */ public Builder setCallStartDateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); callStartDateTime_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } private java.lang.Object conversionAction_ = ""; /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @return Whether the conversionAction field is set. */ public boolean hasConversionAction() { return ((bitField0_ & 0x00000004) != 0); } /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @return The conversionAction. */ public java.lang.String getConversionAction() { java.lang.Object ref = conversionAction_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversionAction_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @return The bytes for conversionAction. */ public com.google.protobuf.ByteString getConversionActionBytes() { java.lang.Object ref = conversionAction_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); conversionAction_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @param value The conversionAction to set. * @return This builder for chaining. */ public Builder setConversionAction( java.lang.String value) { if (value == null) { throw new NullPointerException(); } conversionAction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @return This builder for chaining. */ public Builder clearConversionAction() { conversionAction_ = getDefaultInstance().getConversionAction(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** *
     * Resource name of the conversion action associated with this conversion.
     * 
* * optional string conversion_action = 7; * @param value The bytes for conversionAction to set. * @return This builder for chaining. */ public Builder setConversionActionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); conversionAction_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } private java.lang.Object conversionDateTime_ = ""; /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @return Whether the conversionDateTime field is set. */ public boolean hasConversionDateTime() { return ((bitField0_ & 0x00000008) != 0); } /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @return The conversionDateTime. */ public java.lang.String getConversionDateTime() { java.lang.Object ref = conversionDateTime_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); conversionDateTime_ = s; return s; } else { return (java.lang.String) ref; } } /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @return The bytes for conversionDateTime. */ public com.google.protobuf.ByteString getConversionDateTimeBytes() { java.lang.Object ref = conversionDateTime_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); conversionDateTime_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @param value The conversionDateTime to set. * @return This builder for chaining. */ public Builder setConversionDateTime( java.lang.String value) { if (value == null) { throw new NullPointerException(); } conversionDateTime_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @return This builder for chaining. */ public Builder clearConversionDateTime() { conversionDateTime_ = getDefaultInstance().getConversionDateTime(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } /** *
     * The date time at which the conversion occurred. The format is
     * "yyyy-mm-dd hh:mm:ss+|-hh:mm", for example, "2019-01-01 12:32:45-08:00".
     * 
* * optional string conversion_date_time = 8; * @param value The bytes for conversionDateTime to set. * @return This builder for chaining. */ public Builder setConversionDateTimeBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); conversionDateTime_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:google.ads.googleads.v17.services.CallConversionResult) } // @@protoc_insertion_point(class_scope:google.ads.googleads.v17.services.CallConversionResult) private static final com.google.ads.googleads.v17.services.CallConversionResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new com.google.ads.googleads.v17.services.CallConversionResult(); } public static com.google.ads.googleads.v17.services.CallConversionResult getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CallConversionResult parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public com.google.ads.googleads.v17.services.CallConversionResult getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy