com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of google-ads-stubs-v17 Show documentation
Show all versions of google-ads-stubs-v17 Show documentation
Stubs for GAAPI version google-ads-stubs-v17
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/ads/googleads/v17/resources/offline_conversion_upload_client_summary.proto
// Protobuf Java Version: 3.25.3
package com.google.ads.googleads.v17.resources;
/**
*
* Offline conversion upload summary at customer level.
*
*
* Protobuf type {@code google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary}
*/
public final class OfflineConversionUploadClientSummary extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary)
OfflineConversionUploadClientSummaryOrBuilder {
private static final long serialVersionUID = 0L;
// Use OfflineConversionUploadClientSummary.newBuilder() to construct.
private OfflineConversionUploadClientSummary(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private OfflineConversionUploadClientSummary() {
resourceName_ = "";
client_ = 0;
status_ = 0;
lastUploadDateTime_ = "";
dailySummaries_ = java.util.Collections.emptyList();
jobSummaries_ = java.util.Collections.emptyList();
alerts_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new OfflineConversionUploadClientSummary();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionUploadClientSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionUploadClientSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.class, com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.Builder.class);
}
public static final int RESOURCE_NAME_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object resourceName_ = "";
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The resourceName.
*/
@java.lang.Override
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
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();
resourceName_ = s;
return s;
}
}
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for resourceName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResourceNameBytes() {
java.lang.Object ref = resourceName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLIENT_FIELD_NUMBER = 2;
private int client_ = 0;
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for client.
*/
@java.lang.Override public int getClientValue() {
return client_;
}
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The client.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient getClient() {
com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient result = com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.forNumber(client_);
return result == null ? com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.UNRECOGNIZED : result;
}
public static final int STATUS_FIELD_NUMBER = 3;
private int status_ = 0;
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The status.
*/
@java.lang.Override public com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus getStatus() {
com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus result = com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.forNumber(status_);
return result == null ? com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.UNRECOGNIZED : result;
}
public static final int TOTAL_EVENT_COUNT_FIELD_NUMBER = 4;
private long totalEventCount_ = 0L;
/**
*
* Output only. Total count of uploaded events.
*
*
* int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The totalEventCount.
*/
@java.lang.Override
public long getTotalEventCount() {
return totalEventCount_;
}
public static final int SUCCESSFUL_EVENT_COUNT_FIELD_NUMBER = 5;
private long successfulEventCount_ = 0L;
/**
*
* Output only. Total count of successful uploaded events.
*
*
* int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The successfulEventCount.
*/
@java.lang.Override
public long getSuccessfulEventCount() {
return successfulEventCount_;
}
public static final int SUCCESS_RATE_FIELD_NUMBER = 6;
private double successRate_ = 0D;
/**
*
* Output only. Successful rate.
*
*
* double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The successRate.
*/
@java.lang.Override
public double getSuccessRate() {
return successRate_;
}
public static final int PENDING_EVENT_COUNT_FIELD_NUMBER = 11;
private long pendingEventCount_ = 0L;
/**
*
* Output only. Total count of pending uploaded events.
*
*
* int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The pendingEventCount.
*/
@java.lang.Override
public long getPendingEventCount() {
return pendingEventCount_;
}
public static final int PENDING_RATE_FIELD_NUMBER = 12;
private double pendingRate_ = 0D;
/**
*
* Output only. The ratio of total pending events to total events.
*
*
* double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The pendingRate.
*/
@java.lang.Override
public double getPendingRate() {
return pendingRate_;
}
public static final int LAST_UPLOAD_DATE_TIME_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object lastUploadDateTime_ = "";
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The lastUploadDateTime.
*/
@java.lang.Override
public java.lang.String getLastUploadDateTime() {
java.lang.Object ref = lastUploadDateTime_;
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();
lastUploadDateTime_ = s;
return s;
}
}
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The bytes for lastUploadDateTime.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLastUploadDateTimeBytes() {
java.lang.Object ref = lastUploadDateTime_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastUploadDateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DAILY_SUMMARIES_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private java.util.List dailySummaries_;
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List getDailySummariesList() {
return dailySummaries_;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getDailySummariesOrBuilderList() {
return dailySummaries_;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public int getDailySummariesCount() {
return dailySummaries_.size();
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionSummary getDailySummaries(int index) {
return dailySummaries_.get(index);
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder getDailySummariesOrBuilder(
int index) {
return dailySummaries_.get(index);
}
public static final int JOB_SUMMARIES_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private java.util.List jobSummaries_;
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List getJobSummariesList() {
return jobSummaries_;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getJobSummariesOrBuilderList() {
return jobSummaries_;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public int getJobSummariesCount() {
return jobSummaries_.size();
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionSummary getJobSummaries(int index) {
return jobSummaries_.get(index);
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder getJobSummariesOrBuilder(
int index) {
return jobSummaries_.get(index);
}
public static final int ALERTS_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private java.util.List alerts_;
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List getAlertsList() {
return alerts_;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder>
getAlertsOrBuilderList() {
return alerts_;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public int getAlertsCount() {
return alerts_.size();
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionAlert getAlerts(int index) {
return alerts_.get(index);
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder getAlertsOrBuilder(
int index) {
return alerts_.get(index);
}
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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, resourceName_);
}
if (client_ != com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.UNSPECIFIED.getNumber()) {
output.writeEnum(2, client_);
}
if (status_ != com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.UNSPECIFIED.getNumber()) {
output.writeEnum(3, status_);
}
if (totalEventCount_ != 0L) {
output.writeInt64(4, totalEventCount_);
}
if (successfulEventCount_ != 0L) {
output.writeInt64(5, successfulEventCount_);
}
if (java.lang.Double.doubleToRawLongBits(successRate_) != 0) {
output.writeDouble(6, successRate_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUploadDateTime_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, lastUploadDateTime_);
}
for (int i = 0; i < dailySummaries_.size(); i++) {
output.writeMessage(8, dailySummaries_.get(i));
}
for (int i = 0; i < jobSummaries_.size(); i++) {
output.writeMessage(9, jobSummaries_.get(i));
}
for (int i = 0; i < alerts_.size(); i++) {
output.writeMessage(10, alerts_.get(i));
}
if (pendingEventCount_ != 0L) {
output.writeInt64(11, pendingEventCount_);
}
if (java.lang.Double.doubleToRawLongBits(pendingRate_) != 0) {
output.writeDouble(12, pendingRate_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(resourceName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, resourceName_);
}
if (client_ != com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, client_);
}
if (status_ != com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(3, status_);
}
if (totalEventCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, totalEventCount_);
}
if (successfulEventCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(5, successfulEventCount_);
}
if (java.lang.Double.doubleToRawLongBits(successRate_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(6, successRate_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(lastUploadDateTime_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, lastUploadDateTime_);
}
for (int i = 0; i < dailySummaries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, dailySummaries_.get(i));
}
for (int i = 0; i < jobSummaries_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, jobSummaries_.get(i));
}
for (int i = 0; i < alerts_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(10, alerts_.get(i));
}
if (pendingEventCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(11, pendingEventCount_);
}
if (java.lang.Double.doubleToRawLongBits(pendingRate_) != 0) {
size += com.google.protobuf.CodedOutputStream
.computeDoubleSize(12, pendingRate_);
}
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.resources.OfflineConversionUploadClientSummary)) {
return super.equals(obj);
}
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary other = (com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary) obj;
if (!getResourceName()
.equals(other.getResourceName())) return false;
if (client_ != other.client_) return false;
if (status_ != other.status_) return false;
if (getTotalEventCount()
!= other.getTotalEventCount()) return false;
if (getSuccessfulEventCount()
!= other.getSuccessfulEventCount()) return false;
if (java.lang.Double.doubleToLongBits(getSuccessRate())
!= java.lang.Double.doubleToLongBits(
other.getSuccessRate())) return false;
if (getPendingEventCount()
!= other.getPendingEventCount()) return false;
if (java.lang.Double.doubleToLongBits(getPendingRate())
!= java.lang.Double.doubleToLongBits(
other.getPendingRate())) return false;
if (!getLastUploadDateTime()
.equals(other.getLastUploadDateTime())) return false;
if (!getDailySummariesList()
.equals(other.getDailySummariesList())) return false;
if (!getJobSummariesList()
.equals(other.getJobSummariesList())) return false;
if (!getAlertsList()
.equals(other.getAlertsList())) 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();
hash = (37 * hash) + RESOURCE_NAME_FIELD_NUMBER;
hash = (53 * hash) + getResourceName().hashCode();
hash = (37 * hash) + CLIENT_FIELD_NUMBER;
hash = (53 * hash) + client_;
hash = (37 * hash) + STATUS_FIELD_NUMBER;
hash = (53 * hash) + status_;
hash = (37 * hash) + TOTAL_EVENT_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTotalEventCount());
hash = (37 * hash) + SUCCESSFUL_EVENT_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSuccessfulEventCount());
hash = (37 * hash) + SUCCESS_RATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getSuccessRate()));
hash = (37 * hash) + PENDING_EVENT_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPendingEventCount());
hash = (37 * hash) + PENDING_RATE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
java.lang.Double.doubleToLongBits(getPendingRate()));
hash = (37 * hash) + LAST_UPLOAD_DATE_TIME_FIELD_NUMBER;
hash = (53 * hash) + getLastUploadDateTime().hashCode();
if (getDailySummariesCount() > 0) {
hash = (37 * hash) + DAILY_SUMMARIES_FIELD_NUMBER;
hash = (53 * hash) + getDailySummariesList().hashCode();
}
if (getJobSummariesCount() > 0) {
hash = (37 * hash) + JOB_SUMMARIES_FIELD_NUMBER;
hash = (53 * hash) + getJobSummariesList().hashCode();
}
if (getAlertsCount() > 0) {
hash = (37 * hash) + ALERTS_FIELD_NUMBER;
hash = (53 * hash) + getAlertsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary 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;
}
/**
*
* Offline conversion upload summary at customer level.
*
*
* Protobuf type {@code google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary)
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionUploadClientSummary_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionUploadClientSummary_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.class, com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.Builder.class);
}
// Construct using com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
resourceName_ = "";
client_ = 0;
status_ = 0;
totalEventCount_ = 0L;
successfulEventCount_ = 0L;
successRate_ = 0D;
pendingEventCount_ = 0L;
pendingRate_ = 0D;
lastUploadDateTime_ = "";
if (dailySummariesBuilder_ == null) {
dailySummaries_ = java.util.Collections.emptyList();
} else {
dailySummaries_ = null;
dailySummariesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000200);
if (jobSummariesBuilder_ == null) {
jobSummaries_ = java.util.Collections.emptyList();
} else {
jobSummaries_ = null;
jobSummariesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000400);
if (alertsBuilder_ == null) {
alerts_ = java.util.Collections.emptyList();
} else {
alerts_ = null;
alertsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000800);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummaryProto.internal_static_google_ads_googleads_v17_resources_OfflineConversionUploadClientSummary_descriptor;
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary getDefaultInstanceForType() {
return com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.getDefaultInstance();
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary build() {
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary buildPartial() {
com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary result = new com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary result) {
if (dailySummariesBuilder_ == null) {
if (((bitField0_ & 0x00000200) != 0)) {
dailySummaries_ = java.util.Collections.unmodifiableList(dailySummaries_);
bitField0_ = (bitField0_ & ~0x00000200);
}
result.dailySummaries_ = dailySummaries_;
} else {
result.dailySummaries_ = dailySummariesBuilder_.build();
}
if (jobSummariesBuilder_ == null) {
if (((bitField0_ & 0x00000400) != 0)) {
jobSummaries_ = java.util.Collections.unmodifiableList(jobSummaries_);
bitField0_ = (bitField0_ & ~0x00000400);
}
result.jobSummaries_ = jobSummaries_;
} else {
result.jobSummaries_ = jobSummariesBuilder_.build();
}
if (alertsBuilder_ == null) {
if (((bitField0_ & 0x00000800) != 0)) {
alerts_ = java.util.Collections.unmodifiableList(alerts_);
bitField0_ = (bitField0_ & ~0x00000800);
}
result.alerts_ = alerts_;
} else {
result.alerts_ = alertsBuilder_.build();
}
}
private void buildPartial0(com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.resourceName_ = resourceName_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.client_ = client_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.totalEventCount_ = totalEventCount_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.successfulEventCount_ = successfulEventCount_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.successRate_ = successRate_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.pendingEventCount_ = pendingEventCount_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.pendingRate_ = pendingRate_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.lastUploadDateTime_ = lastUploadDateTime_;
}
}
@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.resources.OfflineConversionUploadClientSummary) {
return mergeFrom((com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary other) {
if (other == com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary.getDefaultInstance()) return this;
if (!other.getResourceName().isEmpty()) {
resourceName_ = other.resourceName_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.client_ != 0) {
setClientValue(other.getClientValue());
}
if (other.status_ != 0) {
setStatusValue(other.getStatusValue());
}
if (other.getTotalEventCount() != 0L) {
setTotalEventCount(other.getTotalEventCount());
}
if (other.getSuccessfulEventCount() != 0L) {
setSuccessfulEventCount(other.getSuccessfulEventCount());
}
if (other.getSuccessRate() != 0D) {
setSuccessRate(other.getSuccessRate());
}
if (other.getPendingEventCount() != 0L) {
setPendingEventCount(other.getPendingEventCount());
}
if (other.getPendingRate() != 0D) {
setPendingRate(other.getPendingRate());
}
if (!other.getLastUploadDateTime().isEmpty()) {
lastUploadDateTime_ = other.lastUploadDateTime_;
bitField0_ |= 0x00000100;
onChanged();
}
if (dailySummariesBuilder_ == null) {
if (!other.dailySummaries_.isEmpty()) {
if (dailySummaries_.isEmpty()) {
dailySummaries_ = other.dailySummaries_;
bitField0_ = (bitField0_ & ~0x00000200);
} else {
ensureDailySummariesIsMutable();
dailySummaries_.addAll(other.dailySummaries_);
}
onChanged();
}
} else {
if (!other.dailySummaries_.isEmpty()) {
if (dailySummariesBuilder_.isEmpty()) {
dailySummariesBuilder_.dispose();
dailySummariesBuilder_ = null;
dailySummaries_ = other.dailySummaries_;
bitField0_ = (bitField0_ & ~0x00000200);
dailySummariesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDailySummariesFieldBuilder() : null;
} else {
dailySummariesBuilder_.addAllMessages(other.dailySummaries_);
}
}
}
if (jobSummariesBuilder_ == null) {
if (!other.jobSummaries_.isEmpty()) {
if (jobSummaries_.isEmpty()) {
jobSummaries_ = other.jobSummaries_;
bitField0_ = (bitField0_ & ~0x00000400);
} else {
ensureJobSummariesIsMutable();
jobSummaries_.addAll(other.jobSummaries_);
}
onChanged();
}
} else {
if (!other.jobSummaries_.isEmpty()) {
if (jobSummariesBuilder_.isEmpty()) {
jobSummariesBuilder_.dispose();
jobSummariesBuilder_ = null;
jobSummaries_ = other.jobSummaries_;
bitField0_ = (bitField0_ & ~0x00000400);
jobSummariesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getJobSummariesFieldBuilder() : null;
} else {
jobSummariesBuilder_.addAllMessages(other.jobSummaries_);
}
}
}
if (alertsBuilder_ == null) {
if (!other.alerts_.isEmpty()) {
if (alerts_.isEmpty()) {
alerts_ = other.alerts_;
bitField0_ = (bitField0_ & ~0x00000800);
} else {
ensureAlertsIsMutable();
alerts_.addAll(other.alerts_);
}
onChanged();
}
} else {
if (!other.alerts_.isEmpty()) {
if (alertsBuilder_.isEmpty()) {
alertsBuilder_.dispose();
alertsBuilder_ = null;
alerts_ = other.alerts_;
bitField0_ = (bitField0_ & ~0x00000800);
alertsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getAlertsFieldBuilder() : null;
} else {
alertsBuilder_.addAllMessages(other.alerts_);
}
}
}
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 10: {
resourceName_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 16: {
client_ = input.readEnum();
bitField0_ |= 0x00000002;
break;
} // case 16
case 24: {
status_ = input.readEnum();
bitField0_ |= 0x00000004;
break;
} // case 24
case 32: {
totalEventCount_ = input.readInt64();
bitField0_ |= 0x00000008;
break;
} // case 32
case 40: {
successfulEventCount_ = input.readInt64();
bitField0_ |= 0x00000010;
break;
} // case 40
case 49: {
successRate_ = input.readDouble();
bitField0_ |= 0x00000020;
break;
} // case 49
case 58: {
lastUploadDateTime_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 58
case 66: {
com.google.ads.googleads.v17.resources.OfflineConversionSummary m =
input.readMessage(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.parser(),
extensionRegistry);
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
dailySummaries_.add(m);
} else {
dailySummariesBuilder_.addMessage(m);
}
break;
} // case 66
case 74: {
com.google.ads.googleads.v17.resources.OfflineConversionSummary m =
input.readMessage(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.parser(),
extensionRegistry);
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
jobSummaries_.add(m);
} else {
jobSummariesBuilder_.addMessage(m);
}
break;
} // case 74
case 82: {
com.google.ads.googleads.v17.resources.OfflineConversionAlert m =
input.readMessage(
com.google.ads.googleads.v17.resources.OfflineConversionAlert.parser(),
extensionRegistry);
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
alerts_.add(m);
} else {
alertsBuilder_.addMessage(m);
}
break;
} // case 82
case 88: {
pendingEventCount_ = input.readInt64();
bitField0_ |= 0x00000040;
break;
} // case 88
case 97: {
pendingRate_ = input.readDouble();
bitField0_ |= 0x00000080;
break;
} // case 97
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 resourceName_ = "";
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The resourceName.
*/
public java.lang.String getResourceName() {
java.lang.Object ref = resourceName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
resourceName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return The bytes for resourceName.
*/
public com.google.protobuf.ByteString
getResourceNameBytes() {
java.lang.Object ref = resourceName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
resourceName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The resourceName to set.
* @return This builder for chaining.
*/
public Builder setResourceName(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
resourceName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @return This builder for chaining.
*/
public Builder clearResourceName() {
resourceName_ = getDefaultInstance().getResourceName();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
*
* Output only. The resource name of the offline conversion upload summary at
* customer level. Offline conversion upload client summary resource names
* have the form:
*
* `customers/{customer_id}/offlineConversionUploadClientSummaries/{client}`
*
*
* string resource_name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }
* @param value The bytes for resourceName to set.
* @return This builder for chaining.
*/
public Builder setResourceNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
resourceName_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private int client_ = 0;
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for client.
*/
@java.lang.Override public int getClientValue() {
return client_;
}
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for client to set.
* @return This builder for chaining.
*/
public Builder setClientValue(int value) {
client_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The client.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient getClient() {
com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient result = com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.forNumber(client_);
return result == null ? com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient.UNRECOGNIZED : result;
}
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The client to set.
* @return This builder for chaining.
*/
public Builder setClient(com.google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
client_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Client type of the upload event.
*
*
* .google.ads.googleads.v17.enums.OfflineEventUploadClientEnum.OfflineEventUploadClient client = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearClient() {
bitField0_ = (bitField0_ & ~0x00000002);
client_ = 0;
onChanged();
return this;
}
private int status_ = 0;
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The enum numeric value on the wire for status.
*/
@java.lang.Override public int getStatusValue() {
return status_;
}
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The enum numeric value on the wire for status to set.
* @return This builder for chaining.
*/
public Builder setStatusValue(int value) {
status_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The status.
*/
@java.lang.Override
public com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus getStatus() {
com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus result = com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.forNumber(status_);
return result == null ? com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus.UNRECOGNIZED : result;
}
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The status to set.
* @return This builder for chaining.
*/
public Builder setStatus(com.google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
status_ = value.getNumber();
onChanged();
return this;
}
/**
*
* Output only. Overall status for offline conversion client summary. Status
* is generated from most recent calendar day with upload stats.
*
*
* .google.ads.googleads.v17.enums.OfflineConversionDiagnosticStatusEnum.OfflineConversionDiagnosticStatus status = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearStatus() {
bitField0_ = (bitField0_ & ~0x00000004);
status_ = 0;
onChanged();
return this;
}
private long totalEventCount_ ;
/**
*
* Output only. Total count of uploaded events.
*
*
* int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The totalEventCount.
*/
@java.lang.Override
public long getTotalEventCount() {
return totalEventCount_;
}
/**
*
* Output only. Total count of uploaded events.
*
*
* int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The totalEventCount to set.
* @return This builder for chaining.
*/
public Builder setTotalEventCount(long value) {
totalEventCount_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
*
* Output only. Total count of uploaded events.
*
*
* int64 total_event_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearTotalEventCount() {
bitField0_ = (bitField0_ & ~0x00000008);
totalEventCount_ = 0L;
onChanged();
return this;
}
private long successfulEventCount_ ;
/**
*
* Output only. Total count of successful uploaded events.
*
*
* int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The successfulEventCount.
*/
@java.lang.Override
public long getSuccessfulEventCount() {
return successfulEventCount_;
}
/**
*
* Output only. Total count of successful uploaded events.
*
*
* int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The successfulEventCount to set.
* @return This builder for chaining.
*/
public Builder setSuccessfulEventCount(long value) {
successfulEventCount_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
*
* Output only. Total count of successful uploaded events.
*
*
* int64 successful_event_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearSuccessfulEventCount() {
bitField0_ = (bitField0_ & ~0x00000010);
successfulEventCount_ = 0L;
onChanged();
return this;
}
private double successRate_ ;
/**
*
* Output only. Successful rate.
*
*
* double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The successRate.
*/
@java.lang.Override
public double getSuccessRate() {
return successRate_;
}
/**
*
* Output only. Successful rate.
*
*
* double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The successRate to set.
* @return This builder for chaining.
*/
public Builder setSuccessRate(double value) {
successRate_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
*
* Output only. Successful rate.
*
*
* double success_rate = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearSuccessRate() {
bitField0_ = (bitField0_ & ~0x00000020);
successRate_ = 0D;
onChanged();
return this;
}
private long pendingEventCount_ ;
/**
*
* Output only. Total count of pending uploaded events.
*
*
* int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The pendingEventCount.
*/
@java.lang.Override
public long getPendingEventCount() {
return pendingEventCount_;
}
/**
*
* Output only. Total count of pending uploaded events.
*
*
* int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The pendingEventCount to set.
* @return This builder for chaining.
*/
public Builder setPendingEventCount(long value) {
pendingEventCount_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
*
* Output only. Total count of pending uploaded events.
*
*
* int64 pending_event_count = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearPendingEventCount() {
bitField0_ = (bitField0_ & ~0x00000040);
pendingEventCount_ = 0L;
onChanged();
return this;
}
private double pendingRate_ ;
/**
*
* Output only. The ratio of total pending events to total events.
*
*
* double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The pendingRate.
*/
@java.lang.Override
public double getPendingRate() {
return pendingRate_;
}
/**
*
* Output only. The ratio of total pending events to total events.
*
*
* double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The pendingRate to set.
* @return This builder for chaining.
*/
public Builder setPendingRate(double value) {
pendingRate_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
*
* Output only. The ratio of total pending events to total events.
*
*
* double pending_rate = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearPendingRate() {
bitField0_ = (bitField0_ & ~0x00000080);
pendingRate_ = 0D;
onChanged();
return this;
}
private java.lang.Object lastUploadDateTime_ = "";
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The lastUploadDateTime.
*/
public java.lang.String getLastUploadDateTime() {
java.lang.Object ref = lastUploadDateTime_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
lastUploadDateTime_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return The bytes for lastUploadDateTime.
*/
public com.google.protobuf.ByteString
getLastUploadDateTimeBytes() {
java.lang.Object ref = lastUploadDateTime_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
lastUploadDateTime_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The lastUploadDateTime to set.
* @return This builder for chaining.
*/
public Builder setLastUploadDateTime(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
lastUploadDateTime_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @return This builder for chaining.
*/
public Builder clearLastUploadDateTime() {
lastUploadDateTime_ = getDefaultInstance().getLastUploadDateTime();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
*
* Output only. Date for the latest upload batch. The format is "yyyy-mm-dd
* hh:mm:ss", and it's in the time zone of the Google Ads account.
*
*
* string last_upload_date_time = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];
* @param value The bytes for lastUploadDateTime to set.
* @return This builder for chaining.
*/
public Builder setLastUploadDateTimeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
lastUploadDateTime_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.util.List dailySummaries_ =
java.util.Collections.emptyList();
private void ensureDailySummariesIsMutable() {
if (!((bitField0_ & 0x00000200) != 0)) {
dailySummaries_ = new java.util.ArrayList(dailySummaries_);
bitField0_ |= 0x00000200;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder> dailySummariesBuilder_;
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List getDailySummariesList() {
if (dailySummariesBuilder_ == null) {
return java.util.Collections.unmodifiableList(dailySummaries_);
} else {
return dailySummariesBuilder_.getMessageList();
}
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public int getDailySummariesCount() {
if (dailySummariesBuilder_ == null) {
return dailySummaries_.size();
} else {
return dailySummariesBuilder_.getCount();
}
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary getDailySummaries(int index) {
if (dailySummariesBuilder_ == null) {
return dailySummaries_.get(index);
} else {
return dailySummariesBuilder_.getMessage(index);
}
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setDailySummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (dailySummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDailySummariesIsMutable();
dailySummaries_.set(index, value);
onChanged();
} else {
dailySummariesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setDailySummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
dailySummaries_.set(index, builderForValue.build());
onChanged();
} else {
dailySummariesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addDailySummaries(com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (dailySummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDailySummariesIsMutable();
dailySummaries_.add(value);
onChanged();
} else {
dailySummariesBuilder_.addMessage(value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addDailySummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (dailySummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDailySummariesIsMutable();
dailySummaries_.add(index, value);
onChanged();
} else {
dailySummariesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addDailySummaries(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
dailySummaries_.add(builderForValue.build());
onChanged();
} else {
dailySummariesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addDailySummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
dailySummaries_.add(index, builderForValue.build());
onChanged();
} else {
dailySummariesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAllDailySummaries(
java.lang.Iterable extends com.google.ads.googleads.v17.resources.OfflineConversionSummary> values) {
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, dailySummaries_);
onChanged();
} else {
dailySummariesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearDailySummaries() {
if (dailySummariesBuilder_ == null) {
dailySummaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
} else {
dailySummariesBuilder_.clear();
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder removeDailySummaries(int index) {
if (dailySummariesBuilder_ == null) {
ensureDailySummariesIsMutable();
dailySummaries_.remove(index);
onChanged();
} else {
dailySummariesBuilder_.remove(index);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder getDailySummariesBuilder(
int index) {
return getDailySummariesFieldBuilder().getBuilder(index);
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder getDailySummariesOrBuilder(
int index) {
if (dailySummariesBuilder_ == null) {
return dailySummaries_.get(index); } else {
return dailySummariesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getDailySummariesOrBuilderList() {
if (dailySummariesBuilder_ != null) {
return dailySummariesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(dailySummaries_);
}
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder addDailySummariesBuilder() {
return getDailySummariesFieldBuilder().addBuilder(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.getDefaultInstance());
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder addDailySummariesBuilder(
int index) {
return getDailySummariesFieldBuilder().addBuilder(
index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.getDefaultInstance());
}
/**
*
* Output only. Summary of history stats by last N days.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary daily_summaries = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List
getDailySummariesBuilderList() {
return getDailySummariesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getDailySummariesFieldBuilder() {
if (dailySummariesBuilder_ == null) {
dailySummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>(
dailySummaries_,
((bitField0_ & 0x00000200) != 0),
getParentForChildren(),
isClean());
dailySummaries_ = null;
}
return dailySummariesBuilder_;
}
private java.util.List jobSummaries_ =
java.util.Collections.emptyList();
private void ensureJobSummariesIsMutable() {
if (!((bitField0_ & 0x00000400) != 0)) {
jobSummaries_ = new java.util.ArrayList(jobSummaries_);
bitField0_ |= 0x00000400;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder> jobSummariesBuilder_;
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List getJobSummariesList() {
if (jobSummariesBuilder_ == null) {
return java.util.Collections.unmodifiableList(jobSummaries_);
} else {
return jobSummariesBuilder_.getMessageList();
}
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public int getJobSummariesCount() {
if (jobSummariesBuilder_ == null) {
return jobSummaries_.size();
} else {
return jobSummariesBuilder_.getCount();
}
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary getJobSummaries(int index) {
if (jobSummariesBuilder_ == null) {
return jobSummaries_.get(index);
} else {
return jobSummariesBuilder_.getMessage(index);
}
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setJobSummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (jobSummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureJobSummariesIsMutable();
jobSummaries_.set(index, value);
onChanged();
} else {
jobSummariesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setJobSummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
jobSummaries_.set(index, builderForValue.build());
onChanged();
} else {
jobSummariesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addJobSummaries(com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (jobSummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureJobSummariesIsMutable();
jobSummaries_.add(value);
onChanged();
} else {
jobSummariesBuilder_.addMessage(value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addJobSummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary value) {
if (jobSummariesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureJobSummariesIsMutable();
jobSummaries_.add(index, value);
onChanged();
} else {
jobSummariesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addJobSummaries(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
jobSummaries_.add(builderForValue.build());
onChanged();
} else {
jobSummariesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addJobSummaries(
int index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder builderForValue) {
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
jobSummaries_.add(index, builderForValue.build());
onChanged();
} else {
jobSummariesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAllJobSummaries(
java.lang.Iterable extends com.google.ads.googleads.v17.resources.OfflineConversionSummary> values) {
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, jobSummaries_);
onChanged();
} else {
jobSummariesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearJobSummaries() {
if (jobSummariesBuilder_ == null) {
jobSummaries_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
} else {
jobSummariesBuilder_.clear();
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder removeJobSummaries(int index) {
if (jobSummariesBuilder_ == null) {
ensureJobSummariesIsMutable();
jobSummaries_.remove(index);
onChanged();
} else {
jobSummariesBuilder_.remove(index);
}
return this;
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder getJobSummariesBuilder(
int index) {
return getJobSummariesFieldBuilder().getBuilder(index);
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder getJobSummariesOrBuilder(
int index) {
if (jobSummariesBuilder_ == null) {
return jobSummaries_.get(index); } else {
return jobSummariesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getJobSummariesOrBuilderList() {
if (jobSummariesBuilder_ != null) {
return jobSummariesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(jobSummaries_);
}
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder addJobSummariesBuilder() {
return getJobSummariesFieldBuilder().addBuilder(
com.google.ads.googleads.v17.resources.OfflineConversionSummary.getDefaultInstance());
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder addJobSummariesBuilder(
int index) {
return getJobSummariesFieldBuilder().addBuilder(
index, com.google.ads.googleads.v17.resources.OfflineConversionSummary.getDefaultInstance());
}
/**
*
* Output only. Summary of history stats by last N jobs.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionSummary job_summaries = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List
getJobSummariesBuilderList() {
return getJobSummariesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>
getJobSummariesFieldBuilder() {
if (jobSummariesBuilder_ == null) {
jobSummariesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionSummary, com.google.ads.googleads.v17.resources.OfflineConversionSummary.Builder, com.google.ads.googleads.v17.resources.OfflineConversionSummaryOrBuilder>(
jobSummaries_,
((bitField0_ & 0x00000400) != 0),
getParentForChildren(),
isClean());
jobSummaries_ = null;
}
return jobSummariesBuilder_;
}
private java.util.List alerts_ =
java.util.Collections.emptyList();
private void ensureAlertsIsMutable() {
if (!((bitField0_ & 0x00000800) != 0)) {
alerts_ = new java.util.ArrayList(alerts_);
bitField0_ |= 0x00000800;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionAlert, com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder, com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder> alertsBuilder_;
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List getAlertsList() {
if (alertsBuilder_ == null) {
return java.util.Collections.unmodifiableList(alerts_);
} else {
return alertsBuilder_.getMessageList();
}
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public int getAlertsCount() {
if (alertsBuilder_ == null) {
return alerts_.size();
} else {
return alertsBuilder_.getCount();
}
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionAlert getAlerts(int index) {
if (alertsBuilder_ == null) {
return alerts_.get(index);
} else {
return alertsBuilder_.getMessage(index);
}
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setAlerts(
int index, com.google.ads.googleads.v17.resources.OfflineConversionAlert value) {
if (alertsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlertsIsMutable();
alerts_.set(index, value);
onChanged();
} else {
alertsBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder setAlerts(
int index, com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder builderForValue) {
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
alerts_.set(index, builderForValue.build());
onChanged();
} else {
alertsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAlerts(com.google.ads.googleads.v17.resources.OfflineConversionAlert value) {
if (alertsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlertsIsMutable();
alerts_.add(value);
onChanged();
} else {
alertsBuilder_.addMessage(value);
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAlerts(
int index, com.google.ads.googleads.v17.resources.OfflineConversionAlert value) {
if (alertsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureAlertsIsMutable();
alerts_.add(index, value);
onChanged();
} else {
alertsBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAlerts(
com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder builderForValue) {
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
alerts_.add(builderForValue.build());
onChanged();
} else {
alertsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAlerts(
int index, com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder builderForValue) {
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
alerts_.add(index, builderForValue.build());
onChanged();
} else {
alertsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder addAllAlerts(
java.lang.Iterable extends com.google.ads.googleads.v17.resources.OfflineConversionAlert> values) {
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, alerts_);
onChanged();
} else {
alertsBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder clearAlerts() {
if (alertsBuilder_ == null) {
alerts_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
} else {
alertsBuilder_.clear();
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public Builder removeAlerts(int index) {
if (alertsBuilder_ == null) {
ensureAlertsIsMutable();
alerts_.remove(index);
onChanged();
} else {
alertsBuilder_.remove(index);
}
return this;
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder getAlertsBuilder(
int index) {
return getAlertsFieldBuilder().getBuilder(index);
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder getAlertsOrBuilder(
int index) {
if (alertsBuilder_ == null) {
return alerts_.get(index); } else {
return alertsBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List extends com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder>
getAlertsOrBuilderList() {
if (alertsBuilder_ != null) {
return alertsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(alerts_);
}
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder addAlertsBuilder() {
return getAlertsFieldBuilder().addBuilder(
com.google.ads.googleads.v17.resources.OfflineConversionAlert.getDefaultInstance());
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder addAlertsBuilder(
int index) {
return getAlertsFieldBuilder().addBuilder(
index, com.google.ads.googleads.v17.resources.OfflineConversionAlert.getDefaultInstance());
}
/**
*
* Output only. Details for each error code. Alerts are generated from most
* recent calendar day with upload stats.
*
*
* repeated .google.ads.googleads.v17.resources.OfflineConversionAlert alerts = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];
*/
public java.util.List
getAlertsBuilderList() {
return getAlertsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionAlert, com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder, com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder>
getAlertsFieldBuilder() {
if (alertsBuilder_ == null) {
alertsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.google.ads.googleads.v17.resources.OfflineConversionAlert, com.google.ads.googleads.v17.resources.OfflineConversionAlert.Builder, com.google.ads.googleads.v17.resources.OfflineConversionAlertOrBuilder>(
alerts_,
((bitField0_ & 0x00000800) != 0),
getParentForChildren(),
isClean());
alerts_ = null;
}
return alertsBuilder_;
}
@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.resources.OfflineConversionUploadClientSummary)
}
// @@protoc_insertion_point(class_scope:google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary)
private static final com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary();
}
public static com.google.ads.googleads.v17.resources.OfflineConversionUploadClientSummary getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public OfflineConversionUploadClientSummary 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.resources.OfflineConversionUploadClientSummary getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy