diff --git a/java-shopping-merchant-reports/README.md b/java-shopping-merchant-reports/README.md
index f2b1474347e5..261ec09be180 100644
--- a/java-shopping-merchant-reports/README.md
+++ b/java-shopping-merchant-reports/README.md
@@ -23,7 +23,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
* Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. @@ -16,85 +33,100 @@ public final class ReportServiceGrpc { private ReportServiceGrpc() {} - public static final java.lang.String SERVICE_NAME = "google.shopping.merchant.reports.v1beta.ReportService"; + public static final java.lang.String SERVICE_NAME = + "google.shopping.merchant.reports.v1beta.ReportService"; // Static method descriptors that strictly reflect the proto. - private static volatile io.grpc.MethodDescriptorgetSearchMethod; + private static volatile io.grpc.MethodDescriptor< + com.google.shopping.merchant.reports.v1beta.SearchRequest, + com.google.shopping.merchant.reports.v1beta.SearchResponse> + getSearchMethod; @io.grpc.stub.annotations.RpcMethod( fullMethodName = SERVICE_NAME + '/' + "Search", requestType = com.google.shopping.merchant.reports.v1beta.SearchRequest.class, responseType = com.google.shopping.merchant.reports.v1beta.SearchResponse.class, methodType = io.grpc.MethodDescriptor.MethodType.UNARY) - public static io.grpc.MethodDescriptor getSearchMethod() { - io.grpc.MethodDescriptor getSearchMethod; + public static io.grpc.MethodDescriptor< + com.google.shopping.merchant.reports.v1beta.SearchRequest, + com.google.shopping.merchant.reports.v1beta.SearchResponse> + getSearchMethod() { + io.grpc.MethodDescriptor< + com.google.shopping.merchant.reports.v1beta.SearchRequest, + com.google.shopping.merchant.reports.v1beta.SearchResponse> + getSearchMethod; if ((getSearchMethod = ReportServiceGrpc.getSearchMethod) == null) { synchronized (ReportServiceGrpc.class) { if ((getSearchMethod = ReportServiceGrpc.getSearchMethod) == null) { - ReportServiceGrpc.getSearchMethod = getSearchMethod = - io.grpc.MethodDescriptor. newBuilder() - .setType(io.grpc.MethodDescriptor.MethodType.UNARY) - .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Search")) - .setSampledToLocalTracing(true) - .setRequestMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.reports.v1beta.SearchRequest.getDefaultInstance())) - .setResponseMarshaller(io.grpc.protobuf.ProtoUtils.marshaller( - com.google.shopping.merchant.reports.v1beta.SearchResponse.getDefaultInstance())) - .setSchemaDescriptor(new ReportServiceMethodDescriptorSupplier("Search")) - .build(); + ReportServiceGrpc.getSearchMethod = + getSearchMethod = + io.grpc.MethodDescriptor + . + newBuilder() + .setType(io.grpc.MethodDescriptor.MethodType.UNARY) + .setFullMethodName(generateFullMethodName(SERVICE_NAME, "Search")) + .setSampledToLocalTracing(true) + .setRequestMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.reports.v1beta.SearchRequest + .getDefaultInstance())) + .setResponseMarshaller( + io.grpc.protobuf.ProtoUtils.marshaller( + com.google.shopping.merchant.reports.v1beta.SearchResponse + .getDefaultInstance())) + .setSchemaDescriptor(new ReportServiceMethodDescriptorSupplier("Search")) + .build(); } } } return getSearchMethod; } - /** - * Creates a new async stub that supports all call types for the service - */ + /** Creates a new async stub that supports all call types for the service */ public static ReportServiceStub newStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public ReportServiceStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReportServiceStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public ReportServiceStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReportServiceStub(channel, callOptions); + } + }; return ReportServiceStub.newStub(factory, channel); } /** * Creates a new blocking-style stub that supports unary and streaming output calls on the service */ - public static ReportServiceBlockingStub newBlockingStub( - io.grpc.Channel channel) { + public static ReportServiceBlockingStub newBlockingStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public ReportServiceBlockingStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReportServiceBlockingStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public ReportServiceBlockingStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReportServiceBlockingStub(channel, callOptions); + } + }; return ReportServiceBlockingStub.newStub(factory, channel); } - /** - * Creates a new ListenableFuture-style stub that supports unary calls on the service - */ - public static ReportServiceFutureStub newFutureStub( - io.grpc.Channel channel) { + /** Creates a new ListenableFuture-style stub that supports unary calls on the service */ + public static ReportServiceFutureStub newFutureStub(io.grpc.Channel channel) { io.grpc.stub.AbstractStub.StubFactory factory = - new io.grpc.stub.AbstractStub.StubFactory () { - @java.lang.Override - public ReportServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { - return new ReportServiceFutureStub(channel, callOptions); - } - }; + new io.grpc.stub.AbstractStub.StubFactory () { + @java.lang.Override + public ReportServiceFutureStub newStub( + io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + return new ReportServiceFutureStub(channel, callOptions); + } + }; return ReportServiceFutureStub.newStub(factory, channel); } /** + * + * * * Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. @@ -103,35 +135,42 @@ public ReportServiceFutureStub newStub(io.grpc.Channel channel, io.grpc.CallOpti public interface AsyncService { /** + * + * ** Retrieves a report defined by a search query. The response might contain * fewer rows than specified by `page_size`. Rely on `next_page_token` to * determine if there are more rows to be requested. **/ - default void search(com.google.shopping.merchant.reports.v1beta.SearchRequest request, - io.grpc.stub.StreamObserverresponseObserver) { + default void search( + com.google.shopping.merchant.reports.v1beta.SearchRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ServerCalls.asyncUnimplementedUnaryCall(getSearchMethod(), responseObserver); } } /** * Base class for the server implementation of the service ReportService. + * * * Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. **/ - public static abstract class ReportServiceImplBase + public abstract static class ReportServiceImplBase implements io.grpc.BindableService, AsyncService { - @java.lang.Override public final io.grpc.ServerServiceDefinition bindService() { + @java.lang.Override + public final io.grpc.ServerServiceDefinition bindService() { return ReportServiceGrpc.bindService(this); } } /** * A stub to allow clients to do asynchronous rpc calls to service ReportService. + * ** Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. @@ -139,26 +178,28 @@ public static abstract class ReportServiceImplBase */ public static final class ReportServiceStub extends io.grpc.stub.AbstractAsyncStub{ - private ReportServiceStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ReportServiceStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @java.lang.Override - protected ReportServiceStub build( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + protected ReportServiceStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { return new ReportServiceStub(channel, callOptions); } /** + * + * * * Retrieves a report defined by a search query. The response might contain * fewer rows than specified by `page_size`. Rely on `next_page_token` to * determine if there are more rows to be requested. **/ - public void search(com.google.shopping.merchant.reports.v1beta.SearchRequest request, - io.grpc.stub.StreamObserverresponseObserver) { + public void search( + com.google.shopping.merchant.reports.v1beta.SearchRequest request, + io.grpc.stub.StreamObserver + responseObserver) { io.grpc.stub.ClientCalls.asyncUnaryCall( getChannel().newCall(getSearchMethod(), getCallOptions()), request, responseObserver); } @@ -166,6 +207,7 @@ public void search(com.google.shopping.merchant.reports.v1beta.SearchRequest req /** * A stub to allow clients to do synchronous rpc calls to service ReportService. + * * * Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. @@ -173,8 +215,7 @@ public void search(com.google.shopping.merchant.reports.v1beta.SearchRequest req */ public static final class ReportServiceBlockingStub extends io.grpc.stub.AbstractBlockingStub{ - private ReportServiceBlockingStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ReportServiceBlockingStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -185,13 +226,16 @@ protected ReportServiceBlockingStub build( } /** + * + * * * Retrieves a report defined by a search query. The response might contain * fewer rows than specified by `page_size`. Rely on `next_page_token` to * determine if there are more rows to be requested. **/ - public com.google.shopping.merchant.reports.v1beta.SearchResponse search(com.google.shopping.merchant.reports.v1beta.SearchRequest request) { + public com.google.shopping.merchant.reports.v1beta.SearchResponse search( + com.google.shopping.merchant.reports.v1beta.SearchRequest request) { return io.grpc.stub.ClientCalls.blockingUnaryCall( getChannel(), getSearchMethod(), getCallOptions(), request); } @@ -199,6 +243,7 @@ public com.google.shopping.merchant.reports.v1beta.SearchResponse search(com.goo /** * A stub to allow clients to do ListenableFuture-style rpc calls to service ReportService. + * ** Service for retrieving reports and insights about your products, their * performance, and their competitive environment on Google. @@ -206,8 +251,7 @@ public com.google.shopping.merchant.reports.v1beta.SearchResponse search(com.goo */ public static final class ReportServiceFutureStub extends io.grpc.stub.AbstractFutureStub{ - private ReportServiceFutureStub( - io.grpc.Channel channel, io.grpc.CallOptions callOptions) { + private ReportServiceFutureStub(io.grpc.Channel channel, io.grpc.CallOptions callOptions) { super(channel, callOptions); } @@ -218,14 +262,17 @@ protected ReportServiceFutureStub build( } /** + * + * * * Retrieves a report defined by a search query. The response might contain * fewer rows than specified by `page_size`. Rely on `next_page_token` to * determine if there are more rows to be requested. **/ - public com.google.common.util.concurrent.ListenableFuturesearch( - com.google.shopping.merchant.reports.v1beta.SearchRequest request) { + public com.google.common.util.concurrent.ListenableFuture< + com.google.shopping.merchant.reports.v1beta.SearchResponse> + search(com.google.shopping.merchant.reports.v1beta.SearchRequest request) { return io.grpc.stub.ClientCalls.futureUnaryCall( getChannel().newCall(getSearchMethod(), getCallOptions()), request); } @@ -233,11 +280,11 @@ public com.google.common.util.concurrent.ListenableFuture implements - io.grpc.stub.ServerCalls.UnaryMethod , - io.grpc.stub.ServerCalls.ServerStreamingMethod , - io.grpc.stub.ServerCalls.ClientStreamingMethod , - io.grpc.stub.ServerCalls.BidiStreamingMethod { + private static final class MethodHandlers + implements io.grpc.stub.ServerCalls.UnaryMethod , + io.grpc.stub.ServerCalls.ServerStreamingMethod , + io.grpc.stub.ServerCalls.ClientStreamingMethod , + io.grpc.stub.ServerCalls.BidiStreamingMethod { private final AsyncService serviceImpl; private final int methodId; @@ -251,8 +298,11 @@ private static final class MethodHandlers implements public void invoke(Req request, io.grpc.stub.StreamObserver responseObserver) { switch (methodId) { case METHODID_SEARCH: - serviceImpl.search((com.google.shopping.merchant.reports.v1beta.SearchRequest) request, - (io.grpc.stub.StreamObserver ) responseObserver); + serviceImpl.search( + (com.google.shopping.merchant.reports.v1beta.SearchRequest) request, + (io.grpc.stub.StreamObserver< + com.google.shopping.merchant.reports.v1beta.SearchResponse>) + responseObserver); break; default: throw new AssertionError(); @@ -273,17 +323,18 @@ public io.grpc.stub.StreamObserver invoke( public static final io.grpc.ServerServiceDefinition bindService(AsyncService service) { return io.grpc.ServerServiceDefinition.builder(getServiceDescriptor()) .addMethod( - getSearchMethod(), - io.grpc.stub.ServerCalls.asyncUnaryCall( - new MethodHandlers< - com.google.shopping.merchant.reports.v1beta.SearchRequest, - com.google.shopping.merchant.reports.v1beta.SearchResponse>( - service, METHODID_SEARCH))) + getSearchMethod(), + io.grpc.stub.ServerCalls.asyncUnaryCall( + new MethodHandlers< + com.google.shopping.merchant.reports.v1beta.SearchRequest, + com.google.shopping.merchant.reports.v1beta.SearchResponse>( + service, METHODID_SEARCH))) .build(); } - private static abstract class ReportServiceBaseDescriptorSupplier - implements io.grpc.protobuf.ProtoFileDescriptorSupplier, io.grpc.protobuf.ProtoServiceDescriptorSupplier { + private abstract static class ReportServiceBaseDescriptorSupplier + implements io.grpc.protobuf.ProtoFileDescriptorSupplier, + io.grpc.protobuf.ProtoServiceDescriptorSupplier { ReportServiceBaseDescriptorSupplier() {} @java.lang.Override @@ -325,10 +376,12 @@ public static io.grpc.ServiceDescriptor getServiceDescriptor() { synchronized (ReportServiceGrpc.class) { result = serviceDescriptor; if (result == null) { - serviceDescriptor = result = io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) - .setSchemaDescriptor(new ReportServiceFileDescriptorSupplier()) - .addMethod(getSearchMethod()) - .build(); + serviceDescriptor = + result = + io.grpc.ServiceDescriptor.newBuilder(SERVICE_NAME) + .setSchemaDescriptor(new ReportServiceFileDescriptorSupplier()) + .addMethod(getSearchMethod()) + .build(); } } } diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java similarity index 70% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java index 05545104ea58..6cd01c655fe9 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * * * Fields available for query in `best_sellers_brand_view` table. * @@ -16,15 +33,16 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.BestSellersBrandView} */ -public final class BestSellersBrandView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BestSellersBrandView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.BestSellersBrandView) BestSellersBrandViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BestSellersBrandView.newBuilder() to construct. private BestSellersBrandView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private BestSellersBrandView() { reportGranularity_ = 0; reportCountryCode_ = ""; @@ -37,28 +55,31 @@ private BestSellersBrandView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BestSellersBrandView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.class, com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.Builder.class); + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.class, + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.Builder.class); } private int bitField0_; public static final int REPORT_DATE_FIELD_NUMBER = 1; private com.google.type.Date reportDate_; /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -71,6 +92,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ @java.lang.Override @@ -78,6 +100,8 @@ public boolean hasReportDate() { return reportDate_ != null; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -90,6 +114,7 @@ public boolean hasReportDate() { ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ @java.lang.Override @@ -97,6 +122,8 @@ public com.google.type.Date getReportDate() { return reportDate_ == null ? com.google.type.Date.getDefaultInstance() : reportDate_; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -118,6 +145,8 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { public static final int REPORT_GRANULARITY_FIELD_NUMBER = 2; private int reportGranularity_ = 0; /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -126,13 +155,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ - @java.lang.Override public boolean hasReportGranularity() { + @java.lang.Override + public boolean hasReportGranularity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -141,13 +176,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ - @java.lang.Override public int getReportGranularityValue() { + @java.lang.Override + public int getReportGranularityValue() { return reportGranularity_; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -156,18 +197,31 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity() { - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.forNumber(reportGranularity_); - return result == null ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity() { + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .forNumber(reportGranularity_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .UNRECOGNIZED + : result; } public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -177,6 +231,7 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -184,6 +239,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -193,6 +250,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -201,14 +259,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -218,16 +277,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -238,6 +296,8 @@ public java.lang.String getReportCountryCode() { public static final int REPORT_CATEGORY_ID_FIELD_NUMBER = 4; private long reportCategoryId_ = 0L; /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -249,6 +309,7 @@ public java.lang.String getReportCountryCode() { ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -256,6 +317,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -267,6 +330,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -275,14 +339,18 @@ public long getReportCategoryId() { } public static final int ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ @java.lang.Override @@ -290,11 +358,14 @@ public boolean hasId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The id. */ @java.lang.Override @@ -303,29 +374,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -334,14 +405,18 @@ public java.lang.String getId() { } public static final int BRAND_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object brand_ = ""; /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return Whether the brand field is set. */ @java.lang.Override @@ -349,11 +424,14 @@ public boolean hasBrand() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The brand. */ @java.lang.Override @@ -362,29 +440,29 @@ public java.lang.String getBrand() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; } } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The bytes for brand. */ @java.lang.Override - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -395,12 +473,15 @@ public java.lang.String getBrand() { public static final int RANK_FIELD_NUMBER = 7; private long rank_ = 0L; /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -408,12 +489,15 @@ public boolean hasRank() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -424,11 +508,14 @@ public long getRank() { public static final int PREVIOUS_RANK_FIELD_NUMBER = 8; private long previousRank_ = 0L; /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return Whether the previousRank field is set. */ @java.lang.Override @@ -436,11 +523,14 @@ public boolean hasPreviousRank() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return The previousRank. */ @java.lang.Override @@ -451,121 +541,195 @@ public long getPreviousRank() { public static final int RELATIVE_DEMAND_FIELD_NUMBER = 9; private int relativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return Whether the relativeDemand field is set. */ - @java.lang.Override public boolean hasRelativeDemand() { + @java.lang.Override + public boolean hasRelativeDemand() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ - @java.lang.Override public int getRelativeDemandValue() { + @java.lang.Override + public int getRelativeDemandValue() { return relativeDemand_; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The relativeDemand. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(relativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + relativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED + : result; } public static final int PREVIOUS_RELATIVE_DEMAND_FIELD_NUMBER = 10; private int previousRelativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return Whether the previousRelativeDemand field is set. */ - @java.lang.Override public boolean hasPreviousRelativeDemand() { + @java.lang.Override + public boolean hasPreviousRelativeDemand() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ - @java.lang.Override public int getPreviousRelativeDemandValue() { + @java.lang.Override + public int getPreviousRelativeDemandValue() { return previousRelativeDemand_; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The previousRelativeDemand. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(previousRelativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + previousRelativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED + : result; } public static final int RELATIVE_DEMAND_CHANGE_FIELD_NUMBER = 11; private int relativeDemandChange_ = 0; /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return Whether the relativeDemandChange field is set. */ - @java.lang.Override public boolean hasRelativeDemandChange() { + @java.lang.Override + public boolean hasRelativeDemandChange() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ - @java.lang.Override public int getRelativeDemandChangeValue() { + @java.lang.Override + public int getRelativeDemandChangeValue() { return relativeDemandChange_; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The relativeDemandChange. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange() { - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + getRelativeDemandChange() { + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + result = + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -577,8 +741,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (reportDate_ != null) { output.writeMessage(1, getReportDate()); } @@ -622,19 +785,16 @@ public int getSerializedSize() { size = 0; if (reportDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReportDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportDate()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportGranularity_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reportGranularity_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reportCountryCode_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, reportCategoryId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, reportCategoryId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_); @@ -643,24 +803,19 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(6, brand_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, rank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, rank_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(8, previousRank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(8, previousRank_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(9, relativeDemand_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(9, relativeDemand_); } if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(10, previousRelativeDemand_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(10, previousRelativeDemand_); } if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(11, relativeDemandChange_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(11, relativeDemandChange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -670,17 +825,17 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.BestSellersBrandView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.BestSellersBrandView other = (com.google.shopping.merchant.reports.v1beta.BestSellersBrandView) obj; + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView other = + (com.google.shopping.merchant.reports.v1beta.BestSellersBrandView) obj; if (hasReportDate() != other.hasReportDate()) return false; if (hasReportDate()) { - if (!getReportDate() - .equals(other.getReportDate())) return false; + if (!getReportDate().equals(other.getReportDate())) return false; } if (hasReportGranularity() != other.hasReportGranularity()) return false; if (hasReportGranularity()) { @@ -688,33 +843,27 @@ public boolean equals(final java.lang.Object obj) { } if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasReportCategoryId() != other.hasReportCategoryId()) return false; if (hasReportCategoryId()) { - if (getReportCategoryId() - != other.getReportCategoryId()) return false; + if (getReportCategoryId() != other.getReportCategoryId()) return false; } if (hasId() != other.hasId()) return false; if (hasId()) { - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; } if (hasBrand() != other.hasBrand()) return false; if (hasBrand()) { - if (!getBrand() - .equals(other.getBrand())) return false; + if (!getBrand().equals(other.getBrand())) return false; } if (hasRank() != other.hasRank()) return false; if (hasRank()) { - if (getRank() - != other.getRank()) return false; + if (getRank() != other.getRank()) return false; } if (hasPreviousRank() != other.hasPreviousRank()) return false; if (hasPreviousRank()) { - if (getPreviousRank() - != other.getPreviousRank()) return false; + if (getPreviousRank() != other.getPreviousRank()) return false; } if (hasRelativeDemand() != other.hasRelativeDemand()) return false; if (hasRelativeDemand()) { @@ -753,8 +902,7 @@ public int hashCode() { } if (hasReportCategoryId()) { hash = (37 * hash) + REPORT_CATEGORY_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReportCategoryId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReportCategoryId()); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; @@ -766,13 +914,11 @@ public int hashCode() { } if (hasRank()) { hash = (37 * hash) + RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRank()); } if (hasPreviousRank()) { hash = (37 * hash) + PREVIOUS_RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPreviousRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPreviousRank()); } if (hasRelativeDemand()) { hash = (37 * hash) + RELATIVE_DEMAND_FIELD_NUMBER; @@ -792,98 +938,104 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView 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.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.BestSellersBrandView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `best_sellers_brand_view` table. * @@ -896,33 +1048,32 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.BestSellersBrandView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.BestSellersBrandView) com.google.shopping.merchant.reports.v1beta.BestSellersBrandViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.class, com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.Builder.class); + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.class, + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.Builder.class); } // Construct using com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -946,13 +1097,14 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersBrandView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView + getDefaultInstanceForType() { return com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.getDefaultInstance(); } @@ -967,18 +1119,20 @@ public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView build() @java.lang.Override public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView buildPartial() { - com.google.shopping.merchant.reports.v1beta.BestSellersBrandView result = new com.google.shopping.merchant.reports.v1beta.BestSellersBrandView(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView result = + new com.google.shopping.merchant.reports.v1beta.BestSellersBrandView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.BestSellersBrandView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.reportDate_ = reportDateBuilder_ == null - ? reportDate_ - : reportDateBuilder_.build(); + result.reportDate_ = reportDateBuilder_ == null ? reportDate_ : reportDateBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { @@ -1028,46 +1182,50 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.BestSelle public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.BestSellersBrandView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.BestSellersBrandView)other); + return mergeFrom((com.google.shopping.merchant.reports.v1beta.BestSellersBrandView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.BestSellersBrandView other) { - if (other == com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.BestSellersBrandView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.BestSellersBrandView.getDefaultInstance()) + return this; if (other.hasReportDate()) { mergeReportDate(other.getReportDate()); } @@ -1133,69 +1291,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReportDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - reportGranularity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - reportCategoryId_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - brand_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 56: { - rank_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 64: { - previousRank_ = input.readInt64(); - bitField0_ |= 0x00000080; - break; - } // case 64 - case 72: { - relativeDemand_ = input.readEnum(); - bitField0_ |= 0x00000100; - break; - } // case 72 - case 80: { - previousRelativeDemand_ = input.readEnum(); - bitField0_ |= 0x00000200; - break; - } // case 80 - case 88: { - relativeDemandChange_ = input.readEnum(); - bitField0_ |= 0x00000400; - break; - } // case 88 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReportDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + reportGranularity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + reportCategoryId_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + brand_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 56: + { + rank_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 64: + { + previousRank_ = input.readInt64(); + bitField0_ |= 0x00000080; + break; + } // case 64 + case 72: + { + relativeDemand_ = input.readEnum(); + bitField0_ |= 0x00000100; + break; + } // case 72 + case 80: + { + previousRelativeDemand_ = input.readEnum(); + bitField0_ |= 0x00000200; + break; + } // case 80 + case 88: + { + relativeDemandChange_ = input.readEnum(); + bitField0_ |= 0x00000400; + break; + } // case 88 + 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) { @@ -1205,12 +1373,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date reportDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> reportDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + reportDateBuilder_; /** + * + * * * Report date. The value of this field can only be one of the following: * @@ -1223,12 +1395,15 @@ public Builder mergeFrom( ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ public boolean hasReportDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1241,6 +1416,7 @@ public boolean hasReportDate() { ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ public com.google.type.Date getReportDate() { @@ -1251,6 +1427,8 @@ public com.google.type.Date getReportDate() { } } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1278,6 +1456,8 @@ public Builder setReportDate(com.google.type.Date value) { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1291,8 +1471,7 @@ public Builder setReportDate(com.google.type.Date value) { * *.google.type.Date report_date = 1;
*/ - public Builder setReportDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReportDate(com.google.type.Date.Builder builderForValue) { if (reportDateBuilder_ == null) { reportDate_ = builderForValue.build(); } else { @@ -1303,6 +1482,8 @@ public Builder setReportDate( return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1318,9 +1499,9 @@ public Builder setReportDate( */ public Builder mergeReportDate(com.google.type.Date value) { if (reportDateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - reportDate_ != null && - reportDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && reportDate_ != null + && reportDate_ != com.google.type.Date.getDefaultInstance()) { getReportDateBuilder().mergeFrom(value); } else { reportDate_ = value; @@ -1333,6 +1514,8 @@ public Builder mergeReportDate(com.google.type.Date value) { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1357,6 +1540,8 @@ public Builder clearReportDate() { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1376,6 +1561,8 @@ public com.google.type.Date.Builder getReportDateBuilder() { return getReportDateFieldBuilder().getBuilder(); } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1393,11 +1580,12 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { if (reportDateBuilder_ != null) { return reportDateBuilder_.getMessageOrBuilder(); } else { - return reportDate_ == null ? - com.google.type.Date.getDefaultInstance() : reportDate_; + return reportDate_ == null ? com.google.type.Date.getDefaultInstance() : reportDate_; } } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -1412,14 +1600,13 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { *.google.type.Date report_date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReportDateFieldBuilder() { if (reportDateBuilder_ == null) { - reportDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReportDate(), - getParentForChildren(), - isClean()); + reportDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReportDate(), getParentForChildren(), isClean()); reportDate_ = null; } return reportDateBuilder_; @@ -1427,6 +1614,8 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { private int reportGranularity_ = 0; /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1435,13 +1624,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ - @java.lang.Override public boolean hasReportGranularity() { + @java.lang.Override + public boolean hasReportGranularity() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1450,13 +1645,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ - @java.lang.Override public int getReportGranularityValue() { + @java.lang.Override + public int getReportGranularityValue() { return reportGranularity_; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1465,7 +1666,10 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @param value The enum numeric value on the wire for reportGranularity to set. * @return This builder for chaining. */ @@ -1476,6 +1680,8 @@ public Builder setReportGranularityValue(int value) { return this; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1484,15 +1690,26 @@ public Builder setReportGranularityValue(int value) { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity() { - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.forNumber(reportGranularity_); - return result == null ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity() { + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .forNumber(reportGranularity_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .UNRECOGNIZED + : result; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1501,11 +1718,15 @@ public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranu * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @param value The reportGranularity to set. * @return This builder for chaining. */ - public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum value) { + public Builder setReportGranularity( + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum value) { if (value == null) { throw new NullPointerException(); } @@ -1515,6 +1736,8 @@ public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta. return this; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -1523,7 +1746,10 @@ public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta. * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return This builder for chaining. */ public Builder clearReportGranularity() { @@ -1535,6 +1761,8 @@ public Builder clearReportGranularity() { private java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1544,12 +1772,15 @@ public Builder clearReportGranularity() { ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1559,13 +1790,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -1574,6 +1805,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1583,15 +1816,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -1599,6 +1831,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1608,18 +1842,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1629,6 +1867,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 3;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -1638,6 +1877,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -1647,12 +1888,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000004; @@ -1660,8 +1903,10 @@ public Builder setReportCountryCodeBytes( return this; } - private long reportCategoryId_ ; + private long reportCategoryId_; /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -1673,6 +1918,7 @@ public Builder setReportCountryCodeBytes( ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -1680,6 +1926,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -1691,6 +1939,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -1698,6 +1947,8 @@ public long getReportCategoryId() { return reportCategoryId_; } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -1709,6 +1960,7 @@ public long getReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @param value The reportCategoryId to set. * @return This builder for chaining. */ @@ -1720,6 +1972,8 @@ public Builder setReportCategoryId(long value) { return this; } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -1731,6 +1985,7 @@ public Builder setReportCategoryId(long value) { ** *optional int64 report_category_id = 4;
+ * * @return This builder for chaining. */ public Builder clearReportCategoryId() { @@ -1742,29 +1997,34 @@ public Builder clearReportCategoryId() { private java.lang.Object id_ = ""; /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -1773,20 +2033,21 @@ public java.lang.String getId() { } } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -1794,28 +2055,35 @@ public java.lang.String getId() { } } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return This builder for chaining. */ public Builder clearId() { @@ -1825,17 +2093,21 @@ public Builder clearId() { return this; } /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000010; @@ -1845,29 +2117,34 @@ public Builder setIdBytes( private java.lang.Object brand_ = ""; /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return Whether the brand field is set. */ public boolean hasBrand() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The brand. */ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; @@ -1876,20 +2153,21 @@ public java.lang.String getBrand() { } } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The bytes for brand. */ - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -1897,28 +2175,35 @@ public java.lang.String getBrand() { } } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @param value The brand to set. * @return This builder for chaining. */ - public Builder setBrand( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } brand_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return This builder for chaining. */ public Builder clearBrand() { @@ -1928,17 +2213,21 @@ public Builder clearBrand() { return this; } /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); brand_ = value; bitField0_ |= 0x00000020; @@ -1946,14 +2235,17 @@ public Builder setBrandBytes( return this; } - private long rank_ ; + private long rank_; /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -1961,12 +2253,15 @@ public boolean hasRank() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -1974,12 +2269,15 @@ public long getRank() { return rank_; } /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @param value The rank to set. * @return This builder for chaining. */ @@ -1991,12 +2289,15 @@ public Builder setRank(long value) { return this; } /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return This builder for chaining. */ public Builder clearRank() { @@ -2006,13 +2307,16 @@ public Builder clearRank() { return this; } - private long previousRank_ ; + private long previousRank_; /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return Whether the previousRank field is set. */ @java.lang.Override @@ -2020,11 +2324,14 @@ public boolean hasPreviousRank() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return The previousRank. */ @java.lang.Override @@ -2032,11 +2339,14 @@ public long getPreviousRank() { return previousRank_; } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @param value The previousRank to set. * @return This builder for chaining. */ @@ -2048,11 +2358,14 @@ public Builder setPreviousRank(long value) { return this; } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return This builder for chaining. */ public Builder clearPreviousRank() { @@ -2064,36 +2377,53 @@ public Builder clearPreviousRank() { private int relativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return Whether the relativeDemand field is set. */ - @java.lang.Override public boolean hasRelativeDemand() { + @java.lang.Override + public boolean hasRelativeDemand() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ - @java.lang.Override public int getRelativeDemandValue() { + @java.lang.Override + public int getRelativeDemandValue() { return relativeDemand_; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @param value The enum numeric value on the wire for relativeDemand to set. * @return This builder for chaining. */ @@ -2104,30 +2434,47 @@ public Builder setRelativeDemandValue(int value) { return this; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The relativeDemand. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(relativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + relativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + .UNRECOGNIZED + : result; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @param value The relativeDemand to set. * @return This builder for chaining. */ - public Builder setRelativeDemand(com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { + public Builder setRelativeDemand( + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { if (value == null) { throw new NullPointerException(); } @@ -2137,12 +2484,17 @@ public Builder setRelativeDemand(com.google.shopping.merchant.reports.v1beta.Rel return this; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return This builder for chaining. */ public Builder clearRelativeDemand() { @@ -2154,36 +2506,53 @@ public Builder clearRelativeDemand() { private int previousRelativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return Whether the previousRelativeDemand field is set. */ - @java.lang.Override public boolean hasPreviousRelativeDemand() { + @java.lang.Override + public boolean hasPreviousRelativeDemand() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ - @java.lang.Override public int getPreviousRelativeDemandValue() { + @java.lang.Override + public int getPreviousRelativeDemandValue() { return previousRelativeDemand_; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @param value The enum numeric value on the wire for previousRelativeDemand to set. * @return This builder for chaining. */ @@ -2194,30 +2563,47 @@ public Builder setPreviousRelativeDemandValue(int value) { return this; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The previousRelativeDemand. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(previousRelativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + previousRelativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + .UNRECOGNIZED + : result; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @param value The previousRelativeDemand to set. * @return This builder for chaining. */ - public Builder setPreviousRelativeDemand(com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { + public Builder setPreviousRelativeDemand( + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { if (value == null) { throw new NullPointerException(); } @@ -2227,12 +2613,17 @@ public Builder setPreviousRelativeDemand(com.google.shopping.merchant.reports.v1 return this; } /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return This builder for chaining. */ public Builder clearPreviousRelativeDemand() { @@ -2244,33 +2635,50 @@ public Builder clearPreviousRelativeDemand() { private int relativeDemandChange_ = 0; /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return Whether the relativeDemandChange field is set. */ - @java.lang.Override public boolean hasRelativeDemandChange() { + @java.lang.Override + public boolean hasRelativeDemandChange() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ - @java.lang.Override public int getRelativeDemandChangeValue() { + @java.lang.Override + public int getRelativeDemandChangeValue() { return relativeDemandChange_; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @param value The enum numeric value on the wire for relativeDemandChange to set. * @return This builder for chaining. */ @@ -2281,28 +2689,50 @@ public Builder setRelativeDemandChangeValue(int value) { return this; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The relativeDemandChange. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange() { - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + getRelativeDemandChange() { + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + result = + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.UNRECOGNIZED + : result; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @param value The relativeDemandChange to set. * @return This builder for chaining. */ - public Builder setRelativeDemandChange(com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum value) { + public Builder setRelativeDemandChange( + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + value) { if (value == null) { throw new NullPointerException(); } @@ -2312,11 +2742,16 @@ public Builder setRelativeDemandChange(com.google.shopping.merchant.reports.v1be return this; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return This builder for chaining. */ public Builder clearRelativeDemandChange() { @@ -2325,9 +2760,9 @@ public Builder clearRelativeDemandChange() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2337,41 +2772,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.BestSellersBrandView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.BestSellersBrandView) - private static final com.google.shopping.merchant.reports.v1beta.BestSellersBrandView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.BestSellersBrandView + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.BestSellersBrandView(); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.BestSellersBrandView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public BestSellersBrandView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public BestSellersBrandView 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; @@ -2383,9 +2820,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.BestSellersBrandView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java similarity index 74% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java index 080f1891d450..ab5950e4d922 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersBrandViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface BestSellersBrandViewOrBuilder extends +public interface BestSellersBrandViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.BestSellersBrandView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Report date. The value of this field can only be one of the following: * @@ -20,10 +38,13 @@ public interface BestSellersBrandViewOrBuilder extends ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ boolean hasReportDate(); /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -36,10 +57,13 @@ public interface BestSellersBrandViewOrBuilder extends ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ com.google.type.Date getReportDate(); /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -56,6 +80,8 @@ public interface BestSellersBrandViewOrBuilder extends com.google.type.DateOrBuilder getReportDateOrBuilder(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -64,11 +90,16 @@ public interface BestSellersBrandViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ boolean hasReportGranularity(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -77,11 +108,16 @@ public interface BestSellersBrandViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ int getReportGranularityValue(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -90,12 +126,18 @@ public interface BestSellersBrandViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity(); + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -105,10 +147,13 @@ public interface BestSellersBrandViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -118,10 +163,13 @@ public interface BestSellersBrandViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -131,12 +179,14 @@ public interface BestSellersBrandViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -148,10 +198,13 @@ public interface BestSellersBrandViewOrBuilder extends ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ boolean hasReportCategoryId(); /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -163,195 +216,271 @@ public interface BestSellersBrandViewOrBuilder extends ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ long getReportCategoryId(); /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ boolean hasId(); /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The id. */ java.lang.String getId(); /** + * + * ** Google-assigned id of the brand. ** *optional string id = 5;
+ * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return Whether the brand field is set. */ boolean hasBrand(); /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The brand. */ java.lang.String getBrand(); /** + * + * ** Name of the brand. ** *optional string brand = 6;
+ * * @return The bytes for brand. */ - com.google.protobuf.ByteString - getBrandBytes(); + com.google.protobuf.ByteString getBrandBytes(); /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ boolean hasRank(); /** + * + * ** Popularity of the brand on Ads and organic surfaces, in the selected * category and country, based on the estimated number of units sold. ** *optional int64 rank = 7;
+ * * @return The rank. */ long getRank(); /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return Whether the previousRank field is set. */ boolean hasPreviousRank(); /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 8;
+ * * @return The previousRank. */ long getPreviousRank(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return Whether the relativeDemand field is set. */ boolean hasRelativeDemand(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ int getRelativeDemandValue(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 9; + *
+ * * @return The relativeDemand. */ com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return Whether the previousRelativeDemand field is set. */ boolean hasPreviousRelativeDemand(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ int getPreviousRelativeDemandValue(); /** + * + * ** Estimated demand in relation to the brand with the highest popularity rank * in the same category and country in the previous week or month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 10; + *
+ * * @return The previousRelativeDemand. */ - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand(); + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return Whether the relativeDemandChange field is set. */ boolean hasRelativeDemandChange(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ int getRelativeDemandChangeValue(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 11; + *
+ * * @return The relativeDemandChange. */ - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange(); + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum + getRelativeDemandChange(); } diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java similarity index 72% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java index 15843bd2bc31..64c689b08bbf 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `best_sellers_product_cluster_view` table. * @@ -18,15 +35,16 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.BestSellersProductClusterView} */ -public final class BestSellersProductClusterView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class BestSellersProductClusterView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) BestSellersProductClusterViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use BestSellersProductClusterView.newBuilder() to construct. private BestSellersProductClusterView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private BestSellersProductClusterView() { reportGranularity_ = 0; reportCountryCode_ = ""; @@ -38,8 +56,7 @@ private BestSellersProductClusterView() { categoryL3_ = ""; categoryL4_ = ""; categoryL5_ = ""; - variantGtins_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + variantGtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); inventoryStatus_ = 0; brandInventoryStatus_ = 0; relativeDemand_ = 0; @@ -49,34 +66,40 @@ private BestSellersProductClusterView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new BestSellersProductClusterView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.class, com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.Builder.class); + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.class, + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.Builder + .class); } /** + * + * ** Status of the product cluster or brand in your inventory. ** - * Protobuf enum {@code google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus} + * Protobuf enum {@code + * google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus} */ - public enum InventoryStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum InventoryStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * ** Not specified. *@@ -85,6 +108,8 @@ public enum InventoryStatus */ INVENTORY_STATUS_UNSPECIFIED(0), /** + * + * ** You have a product for this product cluster or brand in stock. *@@ -93,6 +118,8 @@ public enum InventoryStatus */ IN_STOCK(1), /** + * + * ** You have a product for this product cluster or brand in inventory but it * is currently out of stock. @@ -102,6 +129,8 @@ public enum InventoryStatus */ OUT_OF_STOCK(2), /** + * + * ** You do not have a product for this product cluster or brand in inventory. *@@ -113,6 +142,8 @@ public enum InventoryStatus ; /** + * + * ** Not specified. *@@ -121,6 +152,8 @@ public enum InventoryStatus */ public static final int INVENTORY_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * ** You have a product for this product cluster or brand in stock. *@@ -129,6 +162,8 @@ public enum InventoryStatus */ public static final int IN_STOCK_VALUE = 1; /** + * + * ** You have a product for this product cluster or brand in inventory but it * is currently out of stock. @@ -138,6 +173,8 @@ public enum InventoryStatus */ public static final int OUT_OF_STOCK_VALUE = 2; /** + * + * ** You do not have a product for this product cluster or brand in inventory. *@@ -146,7 +183,6 @@ public enum InventoryStatus */ public static final int NOT_IN_INVENTORY_VALUE = 3; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -171,41 +207,48 @@ public static InventoryStatus valueOf(int value) { */ public static InventoryStatus forNumber(int value) { switch (value) { - case 0: return INVENTORY_STATUS_UNSPECIFIED; - case 1: return IN_STOCK; - case 2: return OUT_OF_STOCK; - case 3: return NOT_IN_INVENTORY; - default: return null; + case 0: + return INVENTORY_STATUS_UNSPECIFIED; + case 1: + return IN_STOCK; + case 2: + return OUT_OF_STOCK; + case 3: + return NOT_IN_INVENTORY; + default: + return null; } } - public static com.google.protobuf.Internal.EnumLiteMap- internalGetValueMap() { + public static com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - InventoryStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap () { - public InventoryStatus findValueByNumber(int number) { - return InventoryStatus.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap () { + public InventoryStatus findValueByNumber(int number) { + return InventoryStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .getDescriptor() + .getEnumTypes() + .get(0); } private static final InventoryStatus[] VALUES = values(); @@ -213,8 +256,7 @@ public InventoryStatus findValueByNumber(int number) { public static InventoryStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -235,6 +277,8 @@ private InventoryStatus(int value) { public static final int REPORT_DATE_FIELD_NUMBER = 1; private com.google.type.Date reportDate_; /** + * + * * * Report date. The value of this field can only be one of the following: * @@ -247,6 +291,7 @@ private InventoryStatus(int value) { ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ @java.lang.Override @@ -254,6 +299,8 @@ public boolean hasReportDate() { return reportDate_ != null; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -266,6 +313,7 @@ public boolean hasReportDate() { ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ @java.lang.Override @@ -273,6 +321,8 @@ public com.google.type.Date getReportDate() { return reportDate_ == null ? com.google.type.Date.getDefaultInstance() : reportDate_; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -294,6 +344,8 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { public static final int REPORT_GRANULARITY_FIELD_NUMBER = 2; private int reportGranularity_ = 0; /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -302,13 +354,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ - @java.lang.Override public boolean hasReportGranularity() { + @java.lang.Override + public boolean hasReportGranularity() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -317,13 +375,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ - @java.lang.Override public int getReportGranularityValue() { + @java.lang.Override + public int getReportGranularityValue() { return reportGranularity_; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -332,18 +396,31 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity() { - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.forNumber(reportGranularity_); - return result == null ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity() { + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .forNumber(reportGranularity_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .UNRECOGNIZED + : result; } public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -353,6 +430,7 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -360,6 +438,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -369,6 +449,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -377,14 +458,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -394,16 +476,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -414,6 +495,8 @@ public java.lang.String getReportCountryCode() { public static final int REPORT_CATEGORY_ID_FIELD_NUMBER = 4; private long reportCategoryId_ = 0L; /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -425,6 +508,7 @@ public java.lang.String getReportCountryCode() { ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -432,6 +516,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -443,6 +529,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -451,14 +538,18 @@ public long getReportCategoryId() { } public static final int ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ @java.lang.Override @@ -466,11 +557,14 @@ public boolean hasId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The id. */ @java.lang.Override @@ -479,29 +573,29 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -510,14 +604,18 @@ public java.lang.String getId() { } public static final int TITLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ @java.lang.Override @@ -525,11 +623,14 @@ public boolean hasTitle() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The title. */ @java.lang.Override @@ -538,29 +639,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -569,14 +670,18 @@ public java.lang.String getTitle() { } public static final int BRAND_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object brand_ = ""; /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ @java.lang.Override @@ -584,11 +689,14 @@ public boolean hasBrand() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The brand. */ @java.lang.Override @@ -597,29 +705,29 @@ public java.lang.String getBrand() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; } } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ @java.lang.Override - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -628,9 +736,12 @@ public java.lang.String getBrand() { } public static final int CATEGORY_L1_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -638,6 +749,7 @@ public java.lang.String getBrand() { ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ @java.lang.Override @@ -645,6 +757,8 @@ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -652,6 +766,7 @@ public boolean hasCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ @java.lang.Override @@ -660,14 +775,15 @@ public java.lang.String getCategoryL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; } } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -675,16 +791,15 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -693,9 +808,12 @@ public java.lang.String getCategoryL1() { } public static final int CATEGORY_L2_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -703,6 +821,7 @@ public java.lang.String getCategoryL1() { ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ @java.lang.Override @@ -710,6 +829,8 @@ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -717,6 +838,7 @@ public boolean hasCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ @java.lang.Override @@ -725,14 +847,15 @@ public java.lang.String getCategoryL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; } } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -740,16 +863,15 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -758,9 +880,12 @@ public java.lang.String getCategoryL2() { } public static final int CATEGORY_L3_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -768,6 +893,7 @@ public java.lang.String getCategoryL2() { ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ @java.lang.Override @@ -775,6 +901,8 @@ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -782,6 +910,7 @@ public boolean hasCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ @java.lang.Override @@ -790,14 +919,15 @@ public java.lang.String getCategoryL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; } } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -805,16 +935,15 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -823,9 +952,12 @@ public java.lang.String getCategoryL3() { } public static final int CATEGORY_L4_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -833,6 +965,7 @@ public java.lang.String getCategoryL3() { ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ @java.lang.Override @@ -840,6 +973,8 @@ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -847,6 +982,7 @@ public boolean hasCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ @java.lang.Override @@ -855,14 +991,15 @@ public java.lang.String getCategoryL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; } } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -870,16 +1007,15 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -888,9 +1024,12 @@ public java.lang.String getCategoryL4() { } public static final int CATEGORY_L5_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -898,6 +1037,7 @@ public java.lang.String getCategoryL4() { ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ @java.lang.Override @@ -905,6 +1045,8 @@ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -912,6 +1054,7 @@ public boolean hasCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ @java.lang.Override @@ -920,14 +1063,15 @@ public java.lang.String getCategoryL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; } } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -935,16 +1079,15 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -953,38 +1096,47 @@ public java.lang.String getCategoryL5() { } public static final int VARIANT_GTINS_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private com.google.protobuf.LazyStringArrayList variantGtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return A list containing the variantGtins. */ - public com.google.protobuf.ProtocolStringList - getVariantGtinsList() { + public com.google.protobuf.ProtocolStringList getVariantGtinsList() { return variantGtins_; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return The count of variantGtins. */ public int getVariantGtinsCount() { return variantGtins_.size(); } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the element to return. * @return The variantGtins at the given index. */ @@ -992,22 +1144,26 @@ public java.lang.String getVariantGtins(int index) { return variantGtins_.get(index); } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the value to return. * @return The bytes of the variantGtins at the given index. */ - public com.google.protobuf.ByteString - getVariantGtinsBytes(int index) { + public com.google.protobuf.ByteString getVariantGtinsBytes(int index) { return variantGtins_.getByteString(index); } public static final int INVENTORY_STATUS_FIELD_NUMBER = 14; private int inventoryStatus_ = 0; /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -1016,13 +1172,19 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return Whether the inventoryStatus field is set. */ - @java.lang.Override public boolean hasInventoryStatus() { + @java.lang.Override + public boolean hasInventoryStatus() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -1031,13 +1193,19 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The enum numeric value on the wire for inventoryStatus. */ - @java.lang.Override public int getInventoryStatusValue() { + @java.lang.Override + public int getInventoryStatusValue() { return inventoryStatus_; } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -1046,17 +1214,30 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The inventoryStatus. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getInventoryStatus() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus result = com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.forNumber(inventoryStatus_); - return result == null ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getInventoryStatus() { + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + result = + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.forNumber(inventoryStatus_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + .UNRECOGNIZED + : result; } public static final int BRAND_INVENTORY_STATUS_FIELD_NUMBER = 15; private int brandInventoryStatus_ = 0; /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -1066,13 +1247,19 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return Whether the brandInventoryStatus field is set. */ - @java.lang.Override public boolean hasBrandInventoryStatus() { + @java.lang.Override + public boolean hasBrandInventoryStatus() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -1082,13 +1269,19 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The enum numeric value on the wire for brandInventoryStatus. */ - @java.lang.Override public int getBrandInventoryStatusValue() { + @java.lang.Override + public int getBrandInventoryStatusValue() { return brandInventoryStatus_; } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -1098,23 +1291,37 @@ public java.lang.String getVariantGtins(int index) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The brandInventoryStatus. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getBrandInventoryStatus() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus result = com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.forNumber(brandInventoryStatus_); - return result == null ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getBrandInventoryStatus() { + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + result = + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.forNumber(brandInventoryStatus_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + .UNRECOGNIZED + : result; } public static final int RANK_FIELD_NUMBER = 16; private long rank_ = 0L; /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -1122,12 +1329,15 @@ public boolean hasRank() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return The rank. */ @java.lang.Override @@ -1138,11 +1348,14 @@ public long getRank() { public static final int PREVIOUS_RANK_FIELD_NUMBER = 17; private long previousRank_ = 0L; /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return Whether the previousRank field is set. */ @java.lang.Override @@ -1150,11 +1363,14 @@ public boolean hasPreviousRank() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return The previousRank. */ @java.lang.Override @@ -1165,124 +1381,198 @@ public long getPreviousRank() { public static final int RELATIVE_DEMAND_FIELD_NUMBER = 18; private int relativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return Whether the relativeDemand field is set. */ - @java.lang.Override public boolean hasRelativeDemand() { + @java.lang.Override + public boolean hasRelativeDemand() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ - @java.lang.Override public int getRelativeDemandValue() { + @java.lang.Override + public int getRelativeDemandValue() { return relativeDemand_; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The relativeDemand. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(relativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + relativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED + : result; } public static final int PREVIOUS_RELATIVE_DEMAND_FIELD_NUMBER = 19; private int previousRelativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return Whether the previousRelativeDemand field is set. */ - @java.lang.Override public boolean hasPreviousRelativeDemand() { + @java.lang.Override + public boolean hasPreviousRelativeDemand() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ - @java.lang.Override public int getPreviousRelativeDemandValue() { + @java.lang.Override + public int getPreviousRelativeDemandValue() { return previousRelativeDemand_; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The previousRelativeDemand. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(previousRelativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + previousRelativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED + : result; } public static final int RELATIVE_DEMAND_CHANGE_FIELD_NUMBER = 20; private int relativeDemandChange_ = 0; /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return Whether the relativeDemandChange field is set. */ - @java.lang.Override public boolean hasRelativeDemandChange() { + @java.lang.Override + public boolean hasRelativeDemandChange() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ - @java.lang.Override public int getRelativeDemandChangeValue() { + @java.lang.Override + public int getRelativeDemandChangeValue() { return relativeDemandChange_; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The relativeDemandChange. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange() { - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + getRelativeDemandChange() { + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + result = + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.UNRECOGNIZED + : result; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1294,8 +1584,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (reportDate_ != null) { output.writeMessage(1, getReportDate()); } @@ -1366,19 +1655,16 @@ public int getSerializedSize() { size = 0; if (reportDate_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getReportDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getReportDate()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(2, reportGranularity_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(2, reportGranularity_); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, reportCountryCode_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, reportCategoryId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, reportCategoryId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, id_); @@ -1413,32 +1699,25 @@ public int getSerializedSize() { size += 1 * getVariantGtinsList().size(); } if (((bitField0_ & 0x00000800) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(14, inventoryStatus_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(14, inventoryStatus_); } if (((bitField0_ & 0x00001000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(15, brandInventoryStatus_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(15, brandInventoryStatus_); } if (((bitField0_ & 0x00002000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(16, rank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(16, rank_); } if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(17, previousRank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(17, previousRank_); } if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(18, relativeDemand_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(18, relativeDemand_); } if (((bitField0_ & 0x00010000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(19, previousRelativeDemand_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(19, previousRelativeDemand_); } if (((bitField0_ & 0x00020000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(20, relativeDemandChange_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(20, relativeDemandChange_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1448,17 +1727,18 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView)) { + if (!(obj + instanceof com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView other = (com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) obj; + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView other = + (com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) obj; if (hasReportDate() != other.hasReportDate()) return false; if (hasReportDate()) { - if (!getReportDate() - .equals(other.getReportDate())) return false; + if (!getReportDate().equals(other.getReportDate())) return false; } if (hasReportGranularity() != other.hasReportGranularity()) return false; if (hasReportGranularity()) { @@ -1466,56 +1746,45 @@ public boolean equals(final java.lang.Object obj) { } if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasReportCategoryId() != other.hasReportCategoryId()) return false; if (hasReportCategoryId()) { - if (getReportCategoryId() - != other.getReportCategoryId()) return false; + if (getReportCategoryId() != other.getReportCategoryId()) return false; } if (hasId() != other.hasId()) return false; if (hasId()) { - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { - if (!getTitle() - .equals(other.getTitle())) return false; + if (!getTitle().equals(other.getTitle())) return false; } if (hasBrand() != other.hasBrand()) return false; if (hasBrand()) { - if (!getBrand() - .equals(other.getBrand())) return false; + if (!getBrand().equals(other.getBrand())) return false; } if (hasCategoryL1() != other.hasCategoryL1()) return false; if (hasCategoryL1()) { - if (!getCategoryL1() - .equals(other.getCategoryL1())) return false; + if (!getCategoryL1().equals(other.getCategoryL1())) return false; } if (hasCategoryL2() != other.hasCategoryL2()) return false; if (hasCategoryL2()) { - if (!getCategoryL2() - .equals(other.getCategoryL2())) return false; + if (!getCategoryL2().equals(other.getCategoryL2())) return false; } if (hasCategoryL3() != other.hasCategoryL3()) return false; if (hasCategoryL3()) { - if (!getCategoryL3() - .equals(other.getCategoryL3())) return false; + if (!getCategoryL3().equals(other.getCategoryL3())) return false; } if (hasCategoryL4() != other.hasCategoryL4()) return false; if (hasCategoryL4()) { - if (!getCategoryL4() - .equals(other.getCategoryL4())) return false; + if (!getCategoryL4().equals(other.getCategoryL4())) return false; } if (hasCategoryL5() != other.hasCategoryL5()) return false; if (hasCategoryL5()) { - if (!getCategoryL5() - .equals(other.getCategoryL5())) return false; + if (!getCategoryL5().equals(other.getCategoryL5())) return false; } - if (!getVariantGtinsList() - .equals(other.getVariantGtinsList())) return false; + if (!getVariantGtinsList().equals(other.getVariantGtinsList())) return false; if (hasInventoryStatus() != other.hasInventoryStatus()) return false; if (hasInventoryStatus()) { if (inventoryStatus_ != other.inventoryStatus_) return false; @@ -1526,13 +1795,11 @@ public boolean equals(final java.lang.Object obj) { } if (hasRank() != other.hasRank()) return false; if (hasRank()) { - if (getRank() - != other.getRank()) return false; + if (getRank() != other.getRank()) return false; } if (hasPreviousRank() != other.hasPreviousRank()) return false; if (hasPreviousRank()) { - if (getPreviousRank() - != other.getPreviousRank()) return false; + if (getPreviousRank() != other.getPreviousRank()) return false; } if (hasRelativeDemand() != other.hasRelativeDemand()) return false; if (hasRelativeDemand()) { @@ -1571,8 +1838,7 @@ public int hashCode() { } if (hasReportCategoryId()) { hash = (37 * hash) + REPORT_CATEGORY_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReportCategoryId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReportCategoryId()); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; @@ -1620,13 +1886,11 @@ public int hashCode() { } if (hasRank()) { hash = (37 * hash) + RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRank()); } if (hasPreviousRank()) { hash = (37 * hash) + PREVIOUS_RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getPreviousRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getPreviousRank()); } if (hasRelativeDemand()) { hash = (37 * hash) + RELATIVE_DEMAND_FIELD_NUMBER; @@ -1646,98 +1910,105 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView 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.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView 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.shopping.merchant.reports.v1beta.BestSellersProductClusterView + 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.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `best_sellers_product_cluster_view` table. * @@ -1752,33 +2023,34 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.BestSellersProductClusterView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.class, com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.Builder.class); + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.class, + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.Builder + .class); } - // Construct using com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1799,8 +2071,7 @@ public Builder clear() { categoryL3_ = ""; categoryL4_ = ""; categoryL5_ = ""; - variantGtins_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + variantGtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); inventoryStatus_ = 0; brandInventoryStatus_ = 0; rank_ = 0L; @@ -1812,19 +2083,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_BestSellersProductClusterView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView build() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result = buildPartial(); + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1832,19 +2106,22 @@ public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView buildPartial() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result = new com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + buildPartial() { + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result = + new com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.reportDate_ = reportDateBuilder_ == null - ? reportDate_ - : reportDateBuilder_.build(); + result.reportDate_ = reportDateBuilder_ == null ? reportDate_ : reportDateBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { @@ -1930,46 +2207,52 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.BestSelle public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.BestSellersProductClusterView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView)other); + if (other + instanceof com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) { + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView other) { - if (other == com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .getDefaultInstance()) return this; if (other.hasReportDate()) { mergeReportDate(other.getReportDate()); } @@ -2081,115 +2364,134 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getReportDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 16: { - reportGranularity_ = input.readEnum(); - bitField0_ |= 0x00000002; - break; - } // case 16 - case 26: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 32: { - reportCategoryId_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 42: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - brand_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - categoryL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - categoryL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - categoryL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - categoryL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - categoryL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - java.lang.String s = input.readStringRequireUtf8(); - ensureVariantGtinsIsMutable(); - variantGtins_.add(s); - break; - } // case 106 - case 112: { - inventoryStatus_ = input.readEnum(); - bitField0_ |= 0x00002000; - break; - } // case 112 - case 120: { - brandInventoryStatus_ = input.readEnum(); - bitField0_ |= 0x00004000; - break; - } // case 120 - case 128: { - rank_ = input.readInt64(); - bitField0_ |= 0x00008000; - break; - } // case 128 - case 136: { - previousRank_ = input.readInt64(); - bitField0_ |= 0x00010000; - break; - } // case 136 - case 144: { - relativeDemand_ = input.readEnum(); - bitField0_ |= 0x00020000; - break; - } // case 144 - case 152: { - previousRelativeDemand_ = input.readEnum(); - bitField0_ |= 0x00040000; - break; - } // case 152 - case 160: { - relativeDemandChange_ = input.readEnum(); - bitField0_ |= 0x00080000; - break; - } // case 160 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getReportDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 16: + { + reportGranularity_ = input.readEnum(); + bitField0_ |= 0x00000002; + break; + } // case 16 + case 26: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 32: + { + reportCategoryId_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 42: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + brand_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + categoryL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + categoryL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + categoryL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + categoryL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + categoryL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + java.lang.String s = input.readStringRequireUtf8(); + ensureVariantGtinsIsMutable(); + variantGtins_.add(s); + break; + } // case 106 + case 112: + { + inventoryStatus_ = input.readEnum(); + bitField0_ |= 0x00002000; + break; + } // case 112 + case 120: + { + brandInventoryStatus_ = input.readEnum(); + bitField0_ |= 0x00004000; + break; + } // case 120 + case 128: + { + rank_ = input.readInt64(); + bitField0_ |= 0x00008000; + break; + } // case 128 + case 136: + { + previousRank_ = input.readInt64(); + bitField0_ |= 0x00010000; + break; + } // case 136 + case 144: + { + relativeDemand_ = input.readEnum(); + bitField0_ |= 0x00020000; + break; + } // case 144 + case 152: + { + previousRelativeDemand_ = input.readEnum(); + bitField0_ |= 0x00040000; + break; + } // case 152 + case 160: + { + relativeDemandChange_ = input.readEnum(); + bitField0_ |= 0x00080000; + break; + } // case 160 + 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) { @@ -2199,12 +2501,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date reportDate_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> reportDateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + reportDateBuilder_; /** + * + * * * Report date. The value of this field can only be one of the following: * @@ -2217,12 +2523,15 @@ public Builder mergeFrom( ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ public boolean hasReportDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2235,6 +2544,7 @@ public boolean hasReportDate() { ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ public com.google.type.Date getReportDate() { @@ -2245,6 +2555,8 @@ public com.google.type.Date getReportDate() { } } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2272,6 +2584,8 @@ public Builder setReportDate(com.google.type.Date value) { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2285,8 +2599,7 @@ public Builder setReportDate(com.google.type.Date value) { * *.google.type.Date report_date = 1;
*/ - public Builder setReportDate( - com.google.type.Date.Builder builderForValue) { + public Builder setReportDate(com.google.type.Date.Builder builderForValue) { if (reportDateBuilder_ == null) { reportDate_ = builderForValue.build(); } else { @@ -2297,6 +2610,8 @@ public Builder setReportDate( return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2312,9 +2627,9 @@ public Builder setReportDate( */ public Builder mergeReportDate(com.google.type.Date value) { if (reportDateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - reportDate_ != null && - reportDate_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && reportDate_ != null + && reportDate_ != com.google.type.Date.getDefaultInstance()) { getReportDateBuilder().mergeFrom(value); } else { reportDate_ = value; @@ -2327,6 +2642,8 @@ public Builder mergeReportDate(com.google.type.Date value) { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2351,6 +2668,8 @@ public Builder clearReportDate() { return this; } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2370,6 +2689,8 @@ public com.google.type.Date.Builder getReportDateBuilder() { return getReportDateFieldBuilder().getBuilder(); } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2387,11 +2708,12 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { if (reportDateBuilder_ != null) { return reportDateBuilder_.getMessageOrBuilder(); } else { - return reportDate_ == null ? - com.google.type.Date.getDefaultInstance() : reportDate_; + return reportDate_ == null ? com.google.type.Date.getDefaultInstance() : reportDate_; } } /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -2406,14 +2728,13 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { *.google.type.Date report_date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getReportDateFieldBuilder() { if (reportDateBuilder_ == null) { - reportDateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getReportDate(), - getParentForChildren(), - isClean()); + reportDateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getReportDate(), getParentForChildren(), isClean()); reportDate_ = null; } return reportDateBuilder_; @@ -2421,6 +2742,8 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { private int reportGranularity_ = 0; /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2429,13 +2752,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ - @java.lang.Override public boolean hasReportGranularity() { + @java.lang.Override + public boolean hasReportGranularity() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2444,13 +2773,19 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ - @java.lang.Override public int getReportGranularityValue() { + @java.lang.Override + public int getReportGranularityValue() { return reportGranularity_; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2459,7 +2794,10 @@ public com.google.type.DateOrBuilder getReportDateOrBuilder() { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @param value The enum numeric value on the wire for reportGranularity to set. * @return This builder for chaining. */ @@ -2470,6 +2808,8 @@ public Builder setReportGranularityValue(int value) { return this; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2478,15 +2818,26 @@ public Builder setReportGranularityValue(int value) { * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity() { - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.forNumber(reportGranularity_); - return result == null ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity() { + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum result = + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .forNumber(reportGranularity_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + .UNRECOGNIZED + : result; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2495,11 +2846,15 @@ public com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranu * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @param value The reportGranularity to set. * @return This builder for chaining. */ - public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum value) { + public Builder setReportGranularity( + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum value) { if (value == null) { throw new NullPointerException(); } @@ -2509,6 +2864,8 @@ public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta. return this; } /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -2517,7 +2874,10 @@ public Builder setReportGranularity(com.google.shopping.merchant.reports.v1beta. * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return This builder for chaining. */ public Builder clearReportGranularity() { @@ -2529,6 +2889,8 @@ public Builder clearReportGranularity() { private java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2538,12 +2900,15 @@ public Builder clearReportGranularity() { ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2553,13 +2918,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -2568,6 +2933,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2577,15 +2944,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -2593,6 +2959,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2602,18 +2970,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2623,6 +2995,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 3;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -2632,6 +3005,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -2641,12 +3016,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 3;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000004; @@ -2654,8 +3031,10 @@ public Builder setReportCountryCodeBytes( return this; } - private long reportCategoryId_ ; + private long reportCategoryId_; /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -2667,6 +3046,7 @@ public Builder setReportCountryCodeBytes( ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -2674,6 +3054,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -2685,6 +3067,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -2692,6 +3075,8 @@ public long getReportCategoryId() { return reportCategoryId_; } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -2703,6 +3088,7 @@ public long getReportCategoryId() { ** *optional int64 report_category_id = 4;
+ * * @param value The reportCategoryId to set. * @return This builder for chaining. */ @@ -2714,6 +3100,8 @@ public Builder setReportCategoryId(long value) { return this; } /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -2725,6 +3113,7 @@ public Builder setReportCategoryId(long value) { ** *optional int64 report_category_id = 4;
+ * * @return This builder for chaining. */ public Builder clearReportCategoryId() { @@ -2736,29 +3125,34 @@ public Builder clearReportCategoryId() { private java.lang.Object id_ = ""; /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2767,20 +3161,21 @@ public java.lang.String getId() { } } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2788,28 +3183,35 @@ public java.lang.String getId() { } } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return This builder for chaining. */ public Builder clearId() { @@ -2819,17 +3221,21 @@ public Builder clearId() { return this; } /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000010; @@ -2839,29 +3245,34 @@ public Builder setIdBytes( private java.lang.Object title_ = ""; /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -2870,20 +3281,21 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -2891,28 +3303,35 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } title_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return This builder for chaining. */ public Builder clearTitle() { @@ -2922,17 +3341,21 @@ public Builder clearTitle() { return this; } /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000020; @@ -2942,29 +3365,34 @@ public Builder setTitleBytes( private java.lang.Object brand_ = ""; /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ public boolean hasBrand() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The brand. */ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; @@ -2973,20 +3401,21 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -2994,28 +3423,35 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @param value The brand to set. * @return This builder for chaining. */ - public Builder setBrand( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } brand_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return This builder for chaining. */ public Builder clearBrand() { @@ -3025,17 +3461,21 @@ public Builder clearBrand() { return this; } /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); brand_ = value; bitField0_ |= 0x00000040; @@ -3045,6 +3485,8 @@ public Builder setBrandBytes( private java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3052,12 +3494,15 @@ public Builder setBrandBytes( ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3065,13 +3510,13 @@ public boolean hasCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ public java.lang.String getCategoryL1() { java.lang.Object ref = categoryL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; @@ -3080,6 +3525,8 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3087,15 +3534,14 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -3103,6 +3549,8 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3110,18 +3558,22 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @param value The categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL1_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3129,6 +3581,7 @@ public Builder setCategoryL1( ** *optional string category_l1 = 8;
+ * * @return This builder for chaining. */ public Builder clearCategoryL1() { @@ -3138,6 +3591,8 @@ public Builder clearCategoryL1() { return this; } /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -3145,12 +3600,14 @@ public Builder clearCategoryL1() { ** *optional string category_l1 = 8;
+ * * @param value The bytes for categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL1_ = value; bitField0_ |= 0x00000080; @@ -3160,6 +3617,8 @@ public Builder setCategoryL1Bytes( private java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3167,12 +3626,15 @@ public Builder setCategoryL1Bytes( ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3180,13 +3642,13 @@ public boolean hasCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ public java.lang.String getCategoryL2() { java.lang.Object ref = categoryL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; @@ -3195,6 +3657,8 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3202,15 +3666,14 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -3218,6 +3681,8 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3225,18 +3690,22 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @param value The categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL2_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3244,6 +3713,7 @@ public Builder setCategoryL2( ** *optional string category_l2 = 9;
+ * * @return This builder for chaining. */ public Builder clearCategoryL2() { @@ -3253,6 +3723,8 @@ public Builder clearCategoryL2() { return this; } /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -3260,12 +3732,14 @@ public Builder clearCategoryL2() { ** *optional string category_l2 = 9;
+ * * @param value The bytes for categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL2_ = value; bitField0_ |= 0x00000100; @@ -3275,6 +3749,8 @@ public Builder setCategoryL2Bytes( private java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3282,12 +3758,15 @@ public Builder setCategoryL2Bytes( ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3295,13 +3774,13 @@ public boolean hasCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ public java.lang.String getCategoryL3() { java.lang.Object ref = categoryL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; @@ -3310,6 +3789,8 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3317,15 +3798,14 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -3333,6 +3813,8 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3340,18 +3822,22 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @param value The categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL3_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3359,6 +3845,7 @@ public Builder setCategoryL3( ** *optional string category_l3 = 10;
+ * * @return This builder for chaining. */ public Builder clearCategoryL3() { @@ -3368,6 +3855,8 @@ public Builder clearCategoryL3() { return this; } /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -3375,12 +3864,14 @@ public Builder clearCategoryL3() { ** *optional string category_l3 = 10;
+ * * @param value The bytes for categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL3_ = value; bitField0_ |= 0x00000200; @@ -3390,6 +3881,8 @@ public Builder setCategoryL3Bytes( private java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3397,12 +3890,15 @@ public Builder setCategoryL3Bytes( ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3410,13 +3906,13 @@ public boolean hasCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ public java.lang.String getCategoryL4() { java.lang.Object ref = categoryL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; @@ -3425,6 +3921,8 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3432,15 +3930,14 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -3448,6 +3945,8 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3455,18 +3954,22 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @param value The categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL4_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3474,6 +3977,7 @@ public Builder setCategoryL4( ** *optional string category_l4 = 11;
+ * * @return This builder for chaining. */ public Builder clearCategoryL4() { @@ -3483,6 +3987,8 @@ public Builder clearCategoryL4() { return this; } /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -3490,12 +3996,14 @@ public Builder clearCategoryL4() { ** *optional string category_l4 = 11;
+ * * @param value The bytes for categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL4_ = value; bitField0_ |= 0x00000400; @@ -3505,6 +4013,8 @@ public Builder setCategoryL4Bytes( private java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3512,12 +4022,15 @@ public Builder setCategoryL4Bytes( ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3525,13 +4038,13 @@ public boolean hasCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ public java.lang.String getCategoryL5() { java.lang.Object ref = categoryL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; @@ -3540,6 +4053,8 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3547,15 +4062,14 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -3563,6 +4077,8 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3570,18 +4086,22 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @param value The categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL5_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3589,6 +4109,7 @@ public Builder setCategoryL5( ** *optional string category_l5 = 12;
+ * * @return This builder for chaining. */ public Builder clearCategoryL5() { @@ -3598,6 +4119,8 @@ public Builder clearCategoryL5() { return this; } /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -3605,12 +4128,14 @@ public Builder clearCategoryL5() { ** *optional string category_l5 = 12;
+ * * @param value The bytes for categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL5_ = value; bitField0_ |= 0x00000800; @@ -3620,6 +4145,7 @@ public Builder setCategoryL5Bytes( private com.google.protobuf.LazyStringArrayList variantGtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); + private void ensureVariantGtinsIsMutable() { if (!variantGtins_.isModifiable()) { variantGtins_ = new com.google.protobuf.LazyStringArrayList(variantGtins_); @@ -3627,35 +4153,43 @@ private void ensureVariantGtinsIsMutable() { bitField0_ |= 0x00001000; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return A list containing the variantGtins. */ - public com.google.protobuf.ProtocolStringList - getVariantGtinsList() { + public com.google.protobuf.ProtocolStringList getVariantGtinsList() { variantGtins_.makeImmutable(); return variantGtins_; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return The count of variantGtins. */ public int getVariantGtinsCount() { return variantGtins_.size(); } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the element to return. * @return The variantGtins at the given index. */ @@ -3663,31 +4197,37 @@ public java.lang.String getVariantGtins(int index) { return variantGtins_.get(index); } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the value to return. * @return The bytes of the variantGtins at the given index. */ - public com.google.protobuf.ByteString - getVariantGtinsBytes(int index) { + public com.google.protobuf.ByteString getVariantGtinsBytes(int index) { return variantGtins_.getByteString(index); } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index to set the value at. * @param value The variantGtins to set. * @return This builder for chaining. */ - public Builder setVariantGtins( - int index, java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setVariantGtins(int index, java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureVariantGtinsIsMutable(); variantGtins_.set(index, value); bitField0_ |= 0x00001000; @@ -3695,17 +4235,21 @@ public Builder setVariantGtins( return this; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param value The variantGtins to add. * @return This builder for chaining. */ - public Builder addVariantGtins( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder addVariantGtins(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } ensureVariantGtinsIsMutable(); variantGtins_.add(value); bitField0_ |= 0x00001000; @@ -3713,50 +4257,58 @@ public Builder addVariantGtins( return this; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param values The variantGtins to add. * @return This builder for chaining. */ - public Builder addAllVariantGtins( - java.lang.Iterablevalues) { + public Builder addAllVariantGtins(java.lang.Iterable values) { ensureVariantGtinsIsMutable(); - com.google.protobuf.AbstractMessageLite.Builder.addAll( - values, variantGtins_); + com.google.protobuf.AbstractMessageLite.Builder.addAll(values, variantGtins_); bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * * * GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return This builder for chaining. */ public Builder clearVariantGtins() { - variantGtins_ = - com.google.protobuf.LazyStringArrayList.emptyList(); - bitField0_ = (bitField0_ & ~0x00001000);; + variantGtins_ = com.google.protobuf.LazyStringArrayList.emptyList(); + bitField0_ = (bitField0_ & ~0x00001000); + ; onChanged(); return this; } /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param value The bytes of the variantGtins to add. * @return This builder for chaining. */ - public Builder addVariantGtinsBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder addVariantGtinsBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); ensureVariantGtinsIsMutable(); variantGtins_.add(value); @@ -3767,6 +4319,8 @@ public Builder addVariantGtinsBytes( private int inventoryStatus_ = 0; /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3775,13 +4329,19 @@ public Builder addVariantGtinsBytes( * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return Whether the inventoryStatus field is set. */ - @java.lang.Override public boolean hasInventoryStatus() { + @java.lang.Override + public boolean hasInventoryStatus() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3790,13 +4350,19 @@ public Builder addVariantGtinsBytes( * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The enum numeric value on the wire for inventoryStatus. */ - @java.lang.Override public int getInventoryStatusValue() { + @java.lang.Override + public int getInventoryStatusValue() { return inventoryStatus_; } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3805,7 +4371,10 @@ public Builder addVariantGtinsBytes( * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @param value The enum numeric value on the wire for inventoryStatus to set. * @return This builder for chaining. */ @@ -3816,6 +4385,8 @@ public Builder setInventoryStatusValue(int value) { return this; } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3824,15 +4395,27 @@ public Builder setInventoryStatusValue(int value) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The inventoryStatus. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getInventoryStatus() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus result = com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.forNumber(inventoryStatus_); - return result == null ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getInventoryStatus() { + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + result = + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.forNumber(inventoryStatus_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.UNRECOGNIZED + : result; } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3841,11 +4424,16 @@ public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @param value The inventoryStatus to set. * @return This builder for chaining. */ - public Builder setInventoryStatus(com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus value) { + public Builder setInventoryStatus( + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + value) { if (value == null) { throw new NullPointerException(); } @@ -3855,6 +4443,8 @@ public Builder setInventoryStatus(com.google.shopping.merchant.reports.v1beta.Be return this; } /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -3863,7 +4453,10 @@ public Builder setInventoryStatus(com.google.shopping.merchant.reports.v1beta.Be * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return This builder for chaining. */ public Builder clearInventoryStatus() { @@ -3875,6 +4468,8 @@ public Builder clearInventoryStatus() { private int brandInventoryStatus_ = 0; /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3884,13 +4479,19 @@ public Builder clearInventoryStatus() { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return Whether the brandInventoryStatus field is set. */ - @java.lang.Override public boolean hasBrandInventoryStatus() { + @java.lang.Override + public boolean hasBrandInventoryStatus() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3900,13 +4501,19 @@ public Builder clearInventoryStatus() { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The enum numeric value on the wire for brandInventoryStatus. */ - @java.lang.Override public int getBrandInventoryStatusValue() { + @java.lang.Override + public int getBrandInventoryStatusValue() { return brandInventoryStatus_; } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3916,7 +4523,10 @@ public Builder clearInventoryStatus() { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @param value The enum numeric value on the wire for brandInventoryStatus to set. * @return This builder for chaining. */ @@ -3927,6 +4537,8 @@ public Builder setBrandInventoryStatusValue(int value) { return this; } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3936,15 +4548,27 @@ public Builder setBrandInventoryStatusValue(int value) { * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The brandInventoryStatus. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getBrandInventoryStatus() { - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus result = com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.forNumber(brandInventoryStatus_); - return result == null ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getBrandInventoryStatus() { + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + result = + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.forNumber(brandInventoryStatus_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + .InventoryStatus.UNRECOGNIZED + : result; } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3954,11 +4578,16 @@ public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @param value The brandInventoryStatus to set. * @return This builder for chaining. */ - public Builder setBrandInventoryStatus(com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus value) { + public Builder setBrandInventoryStatus( + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + value) { if (value == null) { throw new NullPointerException(); } @@ -3968,6 +4597,8 @@ public Builder setBrandInventoryStatus(com.google.shopping.merchant.reports.v1be return this; } /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -3977,7 +4608,10 @@ public Builder setBrandInventoryStatus(com.google.shopping.merchant.reports.v1be * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return This builder for chaining. */ public Builder clearBrandInventoryStatus() { @@ -3987,14 +4621,17 @@ public Builder clearBrandInventoryStatus() { return this; } - private long rank_ ; + private long rank_; /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -4002,12 +4639,15 @@ public boolean hasRank() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return The rank. */ @java.lang.Override @@ -4015,12 +4655,15 @@ public long getRank() { return rank_; } /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @param value The rank to set. * @return This builder for chaining. */ @@ -4032,12 +4675,15 @@ public Builder setRank(long value) { return this; } /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return This builder for chaining. */ public Builder clearRank() { @@ -4047,13 +4693,16 @@ public Builder clearRank() { return this; } - private long previousRank_ ; + private long previousRank_; /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return Whether the previousRank field is set. */ @java.lang.Override @@ -4061,11 +4710,14 @@ public boolean hasPreviousRank() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return The previousRank. */ @java.lang.Override @@ -4073,11 +4725,14 @@ public long getPreviousRank() { return previousRank_; } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @param value The previousRank to set. * @return This builder for chaining. */ @@ -4089,11 +4744,14 @@ public Builder setPreviousRank(long value) { return this; } /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return This builder for chaining. */ public Builder clearPreviousRank() { @@ -4105,36 +4763,53 @@ public Builder clearPreviousRank() { private int relativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return Whether the relativeDemand field is set. */ - @java.lang.Override public boolean hasRelativeDemand() { + @java.lang.Override + public boolean hasRelativeDemand() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ - @java.lang.Override public int getRelativeDemandValue() { + @java.lang.Override + public int getRelativeDemandValue() { return relativeDemand_; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @param value The enum numeric value on the wire for relativeDemand to set. * @return This builder for chaining. */ @@ -4145,30 +4820,47 @@ public Builder setRelativeDemandValue(int value) { return this; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The relativeDemand. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(relativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + relativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + .UNRECOGNIZED + : result; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @param value The relativeDemand to set. * @return This builder for chaining. */ - public Builder setRelativeDemand(com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { + public Builder setRelativeDemand( + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { if (value == null) { throw new NullPointerException(); } @@ -4178,12 +4870,17 @@ public Builder setRelativeDemand(com.google.shopping.merchant.reports.v1beta.Rel return this; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return This builder for chaining. */ public Builder clearRelativeDemand() { @@ -4195,39 +4892,56 @@ public Builder clearRelativeDemand() { private int previousRelativeDemand_ = 0; /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return Whether the previousRelativeDemand field is set. */ - @java.lang.Override public boolean hasPreviousRelativeDemand() { + @java.lang.Override + public boolean hasPreviousRelativeDemand() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ - @java.lang.Override public int getPreviousRelativeDemandValue() { + @java.lang.Override + public int getPreviousRelativeDemandValue() { return previousRelativeDemand_; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @param value The enum numeric value on the wire for previousRelativeDemand to set. * @return This builder for chaining. */ @@ -4238,32 +4952,49 @@ public Builder setPreviousRelativeDemandValue(int value) { return this; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The previousRelativeDemand. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand() { - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber(previousRelativeDemand_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand() { + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum result = + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum.forNumber( + previousRelativeDemand_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + .UNRECOGNIZED + : result; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @param value The previousRelativeDemand to set. * @return This builder for chaining. */ - public Builder setPreviousRelativeDemand(com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { + public Builder setPreviousRelativeDemand( + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum value) { if (value == null) { throw new NullPointerException(); } @@ -4273,13 +5004,18 @@ public Builder setPreviousRelativeDemand(com.google.shopping.merchant.reports.v1 return this; } /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return This builder for chaining. */ public Builder clearPreviousRelativeDemand() { @@ -4291,33 +5027,50 @@ public Builder clearPreviousRelativeDemand() { private int relativeDemandChange_ = 0; /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return Whether the relativeDemandChange field is set. */ - @java.lang.Override public boolean hasRelativeDemandChange() { + @java.lang.Override + public boolean hasRelativeDemandChange() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ - @java.lang.Override public int getRelativeDemandChangeValue() { + @java.lang.Override + public int getRelativeDemandChangeValue() { return relativeDemandChange_; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @param value The enum numeric value on the wire for relativeDemandChange to set. * @return This builder for chaining. */ @@ -4328,28 +5081,50 @@ public Builder setRelativeDemandChangeValue(int value) { return this; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The relativeDemandChange. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange() { - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum result = com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); - return result == null ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + getRelativeDemandChange() { + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + result = + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.forNumber(relativeDemandChange_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum.UNRECOGNIZED + : result; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @param value The relativeDemandChange to set. * @return This builder for chaining. */ - public Builder setRelativeDemandChange(com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum value) { + public Builder setRelativeDemandChange( + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType + .RelativeDemandChangeTypeEnum + value) { if (value == null) { throw new NullPointerException(); } @@ -4359,11 +5134,16 @@ public Builder setRelativeDemandChange(com.google.shopping.merchant.reports.v1be return this; } /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return This builder for chaining. */ public Builder clearRelativeDemandChange() { @@ -4372,9 +5152,9 @@ public Builder clearRelativeDemandChange() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4384,41 +5164,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) - private static final com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView(); } - public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public BestSellersProductClusterView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public BestSellersProductClusterView 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; @@ -4430,9 +5213,8 @@ public com.google.protobuf.Parser getParserForTyp } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java similarity index 78% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java index c8f94ea76bc6..cd59bd44e06f 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/BestSellersProductClusterViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface BestSellersProductClusterViewOrBuilder extends +public interface BestSellersProductClusterViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.BestSellersProductClusterView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Report date. The value of this field can only be one of the following: * @@ -20,10 +38,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *.google.type.Date report_date = 1;
+ * * @return Whether the reportDate field is set. */ boolean hasReportDate(); /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -36,10 +57,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *.google.type.Date report_date = 1;
+ * * @return The reportDate. */ com.google.type.Date getReportDate(); /** + * + * ** Report date. The value of this field can only be one of the following: * @@ -56,6 +80,8 @@ public interface BestSellersProductClusterViewOrBuilder extends com.google.type.DateOrBuilder getReportDateOrBuilder(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -64,11 +90,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return Whether the reportGranularity field is set. */ boolean hasReportGranularity(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -77,11 +108,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The enum numeric value on the wire for reportGranularity. */ int getReportGranularityValue(); /** + * + * ** Granularity of the report. The ranking can be done over a week or a month * timeframe. @@ -90,12 +126,18 @@ public interface BestSellersProductClusterViewOrBuilder extends * required in the `WHERE` clause. ** - *optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum report_granularity = 2; + *
+ * * @return The reportGranularity. */ - com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum getReportGranularity(); + com.google.shopping.merchant.reports.v1beta.ReportGranularity.ReportGranularityEnum + getReportGranularity(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -105,10 +147,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -118,10 +163,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country where the ranking is calculated. Represented in the ISO 3166 * format. @@ -131,12 +179,14 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string report_country_code = 3;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -148,10 +198,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional int64 report_category_id = 4;
+ * * @return Whether the reportCategoryId field is set. */ boolean hasReportCategoryId(); /** + * + * ** Google product category ID to calculate the ranking for, represented in * [Google's product @@ -163,98 +216,125 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional int64 report_category_id = 4;
+ * * @return The reportCategoryId. */ long getReportCategoryId(); /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return Whether the id field is set. */ boolean hasId(); /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The id. */ java.lang.String getId(); /** + * + * ** Google-assigned id of the product cluster. ** *optional string id = 5;
+ * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ boolean hasTitle(); /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The title. */ java.lang.String getTitle(); /** + * + * ** Title of the product cluster. ** *optional string title = 6;
+ * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ boolean hasBrand(); /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The brand. */ java.lang.String getBrand(); /** + * + * ** Brand of the product cluster. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ - com.google.protobuf.ByteString - getBrandBytes(); + com.google.protobuf.ByteString getBrandBytes(); /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -262,10 +342,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ boolean hasCategoryL1(); /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -273,10 +356,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ java.lang.String getCategoryL1(); /** + * + * ** Product category (1st level) of the product cluster, represented in * [Google's product @@ -284,12 +370,14 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ - com.google.protobuf.ByteString - getCategoryL1Bytes(); + com.google.protobuf.ByteString getCategoryL1Bytes(); /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -297,10 +385,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ boolean hasCategoryL2(); /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -308,10 +399,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ java.lang.String getCategoryL2(); /** + * + * ** Product category (2nd level) of the product cluster, represented in * [Google's product @@ -319,12 +413,14 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ - com.google.protobuf.ByteString - getCategoryL2Bytes(); + com.google.protobuf.ByteString getCategoryL2Bytes(); /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -332,10 +428,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ boolean hasCategoryL3(); /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -343,10 +442,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ java.lang.String getCategoryL3(); /** + * + * ** Product category (3rd level) of the product cluster, represented in * [Google's product @@ -354,12 +456,14 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ - com.google.protobuf.ByteString - getCategoryL3Bytes(); + com.google.protobuf.ByteString getCategoryL3Bytes(); /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -367,10 +471,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ boolean hasCategoryL4(); /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -378,10 +485,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ java.lang.String getCategoryL4(); /** + * + * ** Product category (4th level) of the product cluster, represented in * [Google's product @@ -389,12 +499,14 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ - com.google.protobuf.ByteString - getCategoryL4Bytes(); + com.google.protobuf.ByteString getCategoryL4Bytes(); /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -402,10 +514,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ boolean hasCategoryL5(); /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -413,10 +528,13 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ java.lang.String getCategoryL5(); /** + * + * ** Product category (5th level) of the product cluster, represented in * [Google's product @@ -424,53 +542,65 @@ public interface BestSellersProductClusterViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ - com.google.protobuf.ByteString - getCategoryL5Bytes(); + com.google.protobuf.ByteString getCategoryL5Bytes(); /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return A list containing the variantGtins. */ - java.util.List- getVariantGtinsList(); + java.util.List getVariantGtinsList(); /** + * + * * * GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @return The count of variantGtins. */ int getVariantGtinsCount(); /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the element to return. * @return The variantGtins at the given index. */ java.lang.String getVariantGtins(int index); /** + * + * ** GTINs of example variants of the product cluster. ** *repeated string variant_gtins = 13;
+ * * @param index The index of the value to return. * @return The bytes of the variantGtins at the given index. */ - com.google.protobuf.ByteString - getVariantGtinsBytes(int index); + com.google.protobuf.ByteString getVariantGtinsBytes(int index); /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -479,11 +609,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return Whether the inventoryStatus field is set. */ boolean hasInventoryStatus(); /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -492,11 +627,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The enum numeric value on the wire for inventoryStatus. */ int getInventoryStatusValue(); /** + * + * ** Whether the product cluster is `IN_STOCK` in your product feed in at least * one of the countries, `OUT_OF_STOCK` in your product feed in all countries, @@ -505,12 +645,18 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus inventory_status = 14; + *
+ * * @return The inventoryStatus. */ - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getInventoryStatus(); + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getInventoryStatus(); /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -520,11 +666,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return Whether the brandInventoryStatus field is set. */ boolean hasBrandInventoryStatus(); /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -534,11 +685,16 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The enum numeric value on the wire for brandInventoryStatus. */ int getBrandInventoryStatusValue(); /** + * + * ** Whether there is at least one product of the brand currently `IN_STOCK` in * your product feed in at least one of the countries, all products are @@ -548,141 +704,204 @@ public interface BestSellersProductClusterViewOrBuilder extends * The field doesn't take the Best sellers report country filter into account. ** - *optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15;
+ *+ * optional .google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus brand_inventory_status = 15; + *
+ * * @return The brandInventoryStatus. */ - com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus getBrandInventoryStatus(); + com.google.shopping.merchant.reports.v1beta.BestSellersProductClusterView.InventoryStatus + getBrandInventoryStatus(); /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return Whether the rank field is set. */ boolean hasRank(); /** + * + * ** Popularity of the product cluster on Ads and organic surfaces, in the * selected category and country, based on the estimated number of units sold. ** *optional int64 rank = 16;
+ * * @return The rank. */ long getRank(); /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return Whether the previousRank field is set. */ boolean hasPreviousRank(); /** + * + * ** Popularity rank in the previous week or month. ** *optional int64 previous_rank = 17;
+ * * @return The previousRank. */ long getPreviousRank(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return Whether the relativeDemand field is set. */ boolean hasRelativeDemand(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The enum numeric value on the wire for relativeDemand. */ int getRelativeDemandValue(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum relative_demand = 18; + *
+ * * @return The relativeDemand. */ com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getRelativeDemand(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return Whether the previousRelativeDemand field is set. */ boolean hasPreviousRelativeDemand(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The enum numeric value on the wire for previousRelativeDemand. */ int getPreviousRelativeDemandValue(); /** + * + * ** Estimated demand in relation to the product cluster with the highest * popularity rank in the same category and country in the previous week or * month. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum previous_relative_demand = 19; + *
+ * * @return The previousRelativeDemand. */ - com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum getPreviousRelativeDemand(); + com.google.shopping.merchant.reports.v1beta.RelativeDemand.RelativeDemandEnum + getPreviousRelativeDemand(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return Whether the relativeDemandChange field is set. */ boolean hasRelativeDemandChange(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The enum numeric value on the wire for relativeDemandChange. */ int getRelativeDemandChangeValue(); /** + * + * ** Change in the estimated demand. Whether it rose, sank or remained flat. ** - *optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20;
+ *+ * optional .google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum relative_demand_change = 20; + *
+ * * @return The relativeDemandChange. */ - com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum getRelativeDemandChange(); + com.google.shopping.merchant.reports.v1beta.RelativeDemandChangeType.RelativeDemandChangeTypeEnum + getRelativeDemandChange(); } diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java similarity index 69% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java index c0f3135311c3..12ccb75a6a24 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `competitive_visibility_benchmark_view` table. * @@ -17,15 +34,17 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView} */ -public final class CompetitiveVisibilityBenchmarkView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompetitiveVisibilityBenchmarkView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) CompetitiveVisibilityBenchmarkViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompetitiveVisibilityBenchmarkView.newBuilder() to construct. - private CompetitiveVisibilityBenchmarkView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + private CompetitiveVisibilityBenchmarkView( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private CompetitiveVisibilityBenchmarkView() { reportCountryCode_ = ""; trafficSource_ = 0; @@ -33,28 +52,32 @@ private CompetitiveVisibilityBenchmarkView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompetitiveVisibilityBenchmarkView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.Builder + .class); } private int bitField0_; public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** + * + * ** Date of this row. * @@ -63,6 +86,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ @java.lang.Override @@ -70,6 +94,8 @@ public boolean hasDate() { return date_ != null; } /** + * + * ** Date of this row. * @@ -78,6 +104,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ @java.lang.Override @@ -85,6 +112,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * ** Date of this row. * @@ -100,9 +129,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { } public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -111,6 +143,7 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string report_country_code = 2;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -118,6 +151,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Country where impressions appeared. * @@ -126,6 +161,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -134,14 +170,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country where impressions appeared. * @@ -150,16 +187,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -170,6 +206,8 @@ public java.lang.String getReportCountryCode() { public static final int REPORT_CATEGORY_ID_FIELD_NUMBER = 3; private long reportCategoryId_ = 0L; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -180,6 +218,7 @@ public java.lang.String getReportCountryCode() { ** *optional int64 report_category_id = 3;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -187,6 +226,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -197,6 +238,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 3;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -207,49 +249,74 @@ public long getReportCategoryId() { public static final int TRAFFIC_SOURCE_FIELD_NUMBER = 4; private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The trafficSource. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } public static final int YOUR_DOMAIN_VISIBILITY_TREND_FIELD_NUMBER = 5; private double yourDomainVisibilityTrend_ = 0D; /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -259,6 +326,7 @@ public long getReportCategoryId() { ** *optional double your_domain_visibility_trend = 5;
+ * * @return Whether the yourDomainVisibilityTrend field is set. */ @java.lang.Override @@ -266,6 +334,8 @@ public boolean hasYourDomainVisibilityTrend() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -275,6 +345,7 @@ public boolean hasYourDomainVisibilityTrend() { ** *optional double your_domain_visibility_trend = 5;
+ * * @return The yourDomainVisibilityTrend. */ @java.lang.Override @@ -285,6 +356,8 @@ public double getYourDomainVisibilityTrend() { public static final int CATEGORY_BENCHMARK_VISIBILITY_TREND_FIELD_NUMBER = 6; private double categoryBenchmarkVisibilityTrend_ = 0D; /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -295,6 +368,7 @@ public double getYourDomainVisibilityTrend() { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return Whether the categoryBenchmarkVisibilityTrend field is set. */ @java.lang.Override @@ -302,6 +376,8 @@ public boolean hasCategoryBenchmarkVisibilityTrend() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -312,6 +388,7 @@ public boolean hasCategoryBenchmarkVisibilityTrend() { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return The categoryBenchmarkVisibilityTrend. */ @java.lang.Override @@ -320,6 +397,7 @@ public double getCategoryBenchmarkVisibilityTrend() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -331,8 +409,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -361,27 +438,25 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reportCountryCode_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, reportCategoryId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, reportCategoryId_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(4, trafficSource_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(4, trafficSource_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, yourDomainVisibilityTrend_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize(5, yourDomainVisibilityTrend_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(6, categoryBenchmarkVisibilityTrend_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 6, categoryBenchmarkVisibilityTrend_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -391,27 +466,27 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView)) { + if (!(obj + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView other = (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) obj; + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView other = + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) obj; if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasReportCategoryId() != other.hasReportCategoryId()) return false; if (hasReportCategoryId()) { - if (getReportCategoryId() - != other.getReportCategoryId()) return false; + if (getReportCategoryId() != other.getReportCategoryId()) return false; } if (hasTrafficSource() != other.hasTrafficSource()) return false; if (hasTrafficSource()) { @@ -420,14 +495,14 @@ public boolean equals(final java.lang.Object obj) { if (hasYourDomainVisibilityTrend() != other.hasYourDomainVisibilityTrend()) return false; if (hasYourDomainVisibilityTrend()) { if (java.lang.Double.doubleToLongBits(getYourDomainVisibilityTrend()) - != java.lang.Double.doubleToLongBits( - other.getYourDomainVisibilityTrend())) return false; + != java.lang.Double.doubleToLongBits(other.getYourDomainVisibilityTrend())) return false; } - if (hasCategoryBenchmarkVisibilityTrend() != other.hasCategoryBenchmarkVisibilityTrend()) return false; + if (hasCategoryBenchmarkVisibilityTrend() != other.hasCategoryBenchmarkVisibilityTrend()) + return false; if (hasCategoryBenchmarkVisibilityTrend()) { if (java.lang.Double.doubleToLongBits(getCategoryBenchmarkVisibilityTrend()) - != java.lang.Double.doubleToLongBits( - other.getCategoryBenchmarkVisibilityTrend())) return false; + != java.lang.Double.doubleToLongBits(other.getCategoryBenchmarkVisibilityTrend())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -450,8 +525,7 @@ public int hashCode() { } if (hasReportCategoryId()) { hash = (37 * hash) + REPORT_CATEGORY_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReportCategoryId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReportCategoryId()); } if (hasTrafficSource()) { hash = (37 * hash) + TRAFFIC_SOURCE_FIELD_NUMBER; @@ -459,112 +533,128 @@ public int hashCode() { } if (hasYourDomainVisibilityTrend()) { hash = (37 * hash) + YOUR_DOMAIN_VISIBILITY_TREND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getYourDomainVisibilityTrend())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getYourDomainVisibilityTrend())); } if (hasCategoryBenchmarkVisibilityTrend()) { hash = (37 * hash) + CATEGORY_BENCHMARK_VISIBILITY_TREND_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getCategoryBenchmarkVisibilityTrend())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getCategoryBenchmarkVisibilityTrend())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `competitive_visibility_benchmark_view` table. * @@ -576,35 +666,37 @@ protected Builder newBuilderForType( * query. ** - * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView} + * Protobuf type {@code + * google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.Builder + .class); } - // Construct using com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.newBuilder() - private Builder() { + // Construct using + // com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.newBuilder() + private Builder() {} - } - - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -623,19 +715,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityBenchmarkView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView build() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result = buildPartial(); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -643,19 +738,22 @@ public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmar } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView buildPartial() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + buildPartial() { + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.date_ = dateBuilder_ == null - ? date_ - : dateBuilder_.build(); + result.date_ = dateBuilder_ == null ? date_ : dateBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { @@ -685,46 +783,53 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.Competiti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView)other); + if (other + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) { + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView other) { - if (other == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + .getDefaultInstance()) return this; if (other.hasDate()) { mergeDate(other.getDate()); } @@ -771,44 +876,49 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - reportCategoryId_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - trafficSource_ = input.readEnum(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 41: { - yourDomainVisibilityTrend_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - case 49: { - categoryBenchmarkVisibilityTrend_ = input.readDouble(); - bitField0_ |= 0x00000020; - break; - } // case 49 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + reportCategoryId_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + trafficSource_ = input.readEnum(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 41: + { + yourDomainVisibilityTrend_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + case 49: + { + categoryBenchmarkVisibilityTrend_ = input.readDouble(); + bitField0_ |= 0x00000020; + break; + } // case 49 + 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) { @@ -818,12 +928,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date date_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateBuilder_; /** + * + * * * Date of this row. * @@ -832,12 +946,15 @@ public Builder mergeFrom( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Date of this row. * @@ -846,6 +963,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ public com.google.type.Date getDate() { @@ -856,6 +974,8 @@ public com.google.type.Date getDate() { } } /** + * + * ** Date of this row. * @@ -879,6 +999,8 @@ public Builder setDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -888,8 +1010,7 @@ public Builder setDate(com.google.type.Date value) { * *.google.type.Date date = 1;
*/ - public Builder setDate( - com.google.type.Date.Builder builderForValue) { + public Builder setDate(com.google.type.Date.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); } else { @@ -900,6 +1021,8 @@ public Builder setDate( return this; } /** + * + * ** Date of this row. * @@ -911,9 +1034,9 @@ public Builder setDate( */ public Builder mergeDate(com.google.type.Date value) { if (dateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - date_ != null && - date_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && date_ != null + && date_ != com.google.type.Date.getDefaultInstance()) { getDateBuilder().mergeFrom(value); } else { date_ = value; @@ -926,6 +1049,8 @@ public Builder mergeDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -946,6 +1071,8 @@ public Builder clearDate() { return this; } /** + * + * ** Date of this row. * @@ -961,6 +1088,8 @@ public com.google.type.Date.Builder getDateBuilder() { return getDateFieldBuilder().getBuilder(); } /** + * + * ** Date of this row. * @@ -974,11 +1103,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { - return date_ == null ? - com.google.type.Date.getDefaultInstance() : date_; + return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } } /** + * + * ** Date of this row. * @@ -989,14 +1119,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { *.google.type.Date date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { - dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getDate(), - getParentForChildren(), - isClean()); + dateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; @@ -1004,6 +1133,8 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { private java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -1012,12 +1143,15 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string report_country_code = 2;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Country where impressions appeared. * @@ -1026,13 +1160,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -1041,6 +1175,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1049,15 +1185,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -1065,6 +1200,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1073,18 +1210,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * ** Country where impressions appeared. * @@ -1093,6 +1234,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 2;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -1102,6 +1244,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country where impressions appeared. * @@ -1110,12 +1254,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 2;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000002; @@ -1123,8 +1269,10 @@ public Builder setReportCountryCodeBytes( return this; } - private long reportCategoryId_ ; + private long reportCategoryId_; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1135,6 +1283,7 @@ public Builder setReportCountryCodeBytes( ** *optional int64 report_category_id = 3;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -1142,6 +1291,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1152,6 +1303,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 3;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -1159,6 +1311,8 @@ public long getReportCategoryId() { return reportCategoryId_; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1169,6 +1323,7 @@ public long getReportCategoryId() { ** *optional int64 report_category_id = 3;
+ * * @param value The reportCategoryId to set. * @return This builder for chaining. */ @@ -1180,6 +1335,8 @@ public Builder setReportCategoryId(long value) { return this; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1190,6 +1347,7 @@ public Builder setReportCategoryId(long value) { ** *optional int64 report_category_id = 3;
+ * * @return This builder for chaining. */ public Builder clearReportCategoryId() { @@ -1201,39 +1359,56 @@ public Builder clearReportCategoryId() { private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @param value The enum numeric value on the wire for trafficSource to set. * @return This builder for chaining. */ @@ -1244,32 +1419,48 @@ public Builder setTrafficSourceValue(int value) { return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The trafficSource. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @param value The trafficSource to set. * @return This builder for chaining. */ - public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { + public Builder setTrafficSource( + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { if (value == null) { throw new NullPointerException(); } @@ -1279,13 +1470,18 @@ public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.Traf return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return This builder for chaining. */ public Builder clearTrafficSource() { @@ -1295,8 +1491,10 @@ public Builder clearTrafficSource() { return this; } - private double yourDomainVisibilityTrend_ ; + private double yourDomainVisibilityTrend_; /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -1306,6 +1504,7 @@ public Builder clearTrafficSource() { ** *optional double your_domain_visibility_trend = 5;
+ * * @return Whether the yourDomainVisibilityTrend field is set. */ @java.lang.Override @@ -1313,6 +1512,8 @@ public boolean hasYourDomainVisibilityTrend() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -1322,6 +1523,7 @@ public boolean hasYourDomainVisibilityTrend() { ** *optional double your_domain_visibility_trend = 5;
+ * * @return The yourDomainVisibilityTrend. */ @java.lang.Override @@ -1329,6 +1531,8 @@ public double getYourDomainVisibilityTrend() { return yourDomainVisibilityTrend_; } /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -1338,6 +1542,7 @@ public double getYourDomainVisibilityTrend() { ** *optional double your_domain_visibility_trend = 5;
+ * * @param value The yourDomainVisibilityTrend to set. * @return This builder for chaining. */ @@ -1349,6 +1554,8 @@ public Builder setYourDomainVisibilityTrend(double value) { return this; } /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -1358,6 +1565,7 @@ public Builder setYourDomainVisibilityTrend(double value) { ** *optional double your_domain_visibility_trend = 5;
+ * * @return This builder for chaining. */ public Builder clearYourDomainVisibilityTrend() { @@ -1367,8 +1575,10 @@ public Builder clearYourDomainVisibilityTrend() { return this; } - private double categoryBenchmarkVisibilityTrend_ ; + private double categoryBenchmarkVisibilityTrend_; /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -1379,6 +1589,7 @@ public Builder clearYourDomainVisibilityTrend() { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return Whether the categoryBenchmarkVisibilityTrend field is set. */ @java.lang.Override @@ -1386,6 +1597,8 @@ public boolean hasCategoryBenchmarkVisibilityTrend() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -1396,6 +1609,7 @@ public boolean hasCategoryBenchmarkVisibilityTrend() { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return The categoryBenchmarkVisibilityTrend. */ @java.lang.Override @@ -1403,6 +1617,8 @@ public double getCategoryBenchmarkVisibilityTrend() { return categoryBenchmarkVisibilityTrend_; } /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -1413,6 +1629,7 @@ public double getCategoryBenchmarkVisibilityTrend() { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @param value The categoryBenchmarkVisibilityTrend to set. * @return This builder for chaining. */ @@ -1424,6 +1641,8 @@ public Builder setCategoryBenchmarkVisibilityTrend(double value) { return this; } /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -1434,6 +1653,7 @@ public Builder setCategoryBenchmarkVisibilityTrend(double value) { ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return This builder for chaining. */ public Builder clearCategoryBenchmarkVisibilityTrend() { @@ -1442,9 +1662,9 @@ public Builder clearCategoryBenchmarkVisibilityTrend() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1454,41 +1674,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) - private static final com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta + .CompetitiveVisibilityBenchmarkView + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView(); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public CompetitiveVisibilityBenchmarkView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public CompetitiveVisibilityBenchmarkView 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; @@ -1500,9 +1724,8 @@ public com.google.protobuf.Parser getParserF } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java similarity index 80% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java index fc0c9d4c97a0..1a6e7d26933f 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityBenchmarkViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends +public interface CompetitiveVisibilityBenchmarkViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityBenchmarkView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Date of this row. * @@ -16,10 +34,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * ** Date of this row. * @@ -28,10 +49,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return The date. */ com.google.type.Date getDate(); /** + * + * ** Date of this row. * @@ -44,6 +68,8 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends com.google.type.DateOrBuilder getDateOrBuilder(); /** + * + * ** Country where impressions appeared. * @@ -52,10 +78,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional string report_country_code = 2;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -64,10 +93,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional string report_country_code = 2;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -76,12 +108,14 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional string report_country_code = 2;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -92,10 +126,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional int64 report_category_id = 3;
+ * * @return Whether the reportCategoryId field is set. */ boolean hasReportCategoryId(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -106,45 +143,63 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional int64 report_category_id = 3;
+ * * @return The reportCategoryId. */ long getReportCategoryId(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return Whether the trafficSource field is set. */ boolean hasTrafficSource(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ int getTrafficSourceValue(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 4; + *
+ * * @return The trafficSource. */ com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource(); /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -154,10 +209,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional double your_domain_visibility_trend = 5;
+ * * @return Whether the yourDomainVisibilityTrend field is set. */ boolean hasYourDomainVisibilityTrend(); /** + * + * ** Change in visibility based on impressions for your domain with respect to * the start of the selected time range (or first day with non-zero @@ -167,11 +225,14 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional double your_domain_visibility_trend = 5;
+ * * @return The yourDomainVisibilityTrend. */ double getYourDomainVisibilityTrend(); /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -182,10 +243,13 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return Whether the categoryBenchmarkVisibilityTrend field is set. */ boolean hasCategoryBenchmarkVisibilityTrend(); /** + * + * ** Change in visibility based on impressions with respect to the start of the * selected time range (or first day with non-zero impressions) for a @@ -196,6 +260,7 @@ public interface CompetitiveVisibilityBenchmarkViewOrBuilder extends ** *optional double category_benchmark_visibility_trend = 6;
+ * * @return The categoryBenchmarkVisibilityTrend. */ double getCategoryBenchmarkVisibilityTrend(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java similarity index 74% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java index 6b86549332e8..6bdac813b521 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `competitive_visibility_competitor_view` table. * @@ -17,15 +34,18 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView} */ -public final class CompetitiveVisibilityCompetitorView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompetitiveVisibilityCompetitorView + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) CompetitiveVisibilityCompetitorViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompetitiveVisibilityCompetitorView.newBuilder() to construct. - private CompetitiveVisibilityCompetitorView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + private CompetitiveVisibilityCompetitorView( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private CompetitiveVisibilityCompetitorView() { domain_ = ""; reportCountryCode_ = ""; @@ -34,28 +54,32 @@ private CompetitiveVisibilityCompetitorView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompetitiveVisibilityCompetitorView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.Builder + .class); } private int bitField0_; public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** + * + * ** Date of this row. * @@ -63,6 +87,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ @java.lang.Override @@ -70,6 +95,8 @@ public boolean hasDate() { return date_ != null; } /** + * + * ** Date of this row. * @@ -77,6 +104,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ @java.lang.Override @@ -84,6 +112,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * ** Date of this row. * @@ -98,9 +128,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { } public static final int DOMAIN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object domain_ = ""; /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -109,6 +142,7 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ @java.lang.Override @@ -116,6 +150,8 @@ public boolean hasDomain() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -124,6 +160,7 @@ public boolean hasDomain() { ** *optional string domain = 2;
+ * * @return The domain. */ @java.lang.Override @@ -132,14 +169,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -148,16 +186,15 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -168,6 +205,8 @@ public java.lang.String getDomain() { public static final int IS_YOUR_DOMAIN_FIELD_NUMBER = 3; private boolean isYourDomain_ = false; /** + * + * ** True if this row contains data for your domain. * @@ -175,6 +214,7 @@ public java.lang.String getDomain() { ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ @java.lang.Override @@ -182,6 +222,8 @@ public boolean hasIsYourDomain() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** True if this row contains data for your domain. * @@ -189,6 +231,7 @@ public boolean hasIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ @java.lang.Override @@ -197,9 +240,12 @@ public boolean getIsYourDomain() { } public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -208,6 +254,7 @@ public boolean getIsYourDomain() { ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -215,6 +262,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Country where impressions appeared. * @@ -223,6 +272,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -231,14 +281,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country where impressions appeared. * @@ -247,16 +298,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -267,6 +317,8 @@ public java.lang.String getReportCountryCode() { public static final int REPORT_CATEGORY_ID_FIELD_NUMBER = 5; private long reportCategoryId_ = 0L; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -277,6 +329,7 @@ public java.lang.String getReportCountryCode() { ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -284,6 +337,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -294,6 +349,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -304,49 +360,74 @@ public long getReportCategoryId() { public static final int TRAFFIC_SOURCE_FIELD_NUMBER = 6; private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } public static final int RANK_FIELD_NUMBER = 7; private long rank_ = 0L; /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -356,6 +437,7 @@ public long getReportCategoryId() { ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -363,6 +445,8 @@ public boolean hasRank() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -372,6 +456,7 @@ public boolean hasRank() { ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -382,6 +467,8 @@ public long getRank() { public static final int ADS_ORGANIC_RATIO_FIELD_NUMBER = 8; private double adsOrganicRatio_ = 0D; /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -392,6 +479,7 @@ public long getRank() { ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ @java.lang.Override @@ -399,6 +487,8 @@ public boolean hasAdsOrganicRatio() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -409,6 +499,7 @@ public boolean hasAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ @java.lang.Override @@ -419,6 +510,8 @@ public double getAdsOrganicRatio() { public static final int PAGE_OVERLAP_RATE_FIELD_NUMBER = 9; private double pageOverlapRate_ = 0D; /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -429,6 +522,7 @@ public double getAdsOrganicRatio() { ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ @java.lang.Override @@ -436,6 +530,8 @@ public boolean hasPageOverlapRate() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -446,6 +542,7 @@ public boolean hasPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ @java.lang.Override @@ -456,6 +553,8 @@ public double getPageOverlapRate() { public static final int HIGHER_POSITION_RATE_FIELD_NUMBER = 10; private double higherPositionRate_ = 0D; /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -466,6 +565,7 @@ public double getPageOverlapRate() { ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ @java.lang.Override @@ -473,6 +573,8 @@ public boolean hasHigherPositionRate() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -483,6 +585,7 @@ public boolean hasHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ @java.lang.Override @@ -493,6 +596,8 @@ public double getHigherPositionRate() { public static final int RELATIVE_VISIBILITY_FIELD_NUMBER = 11; private double relativeVisibility_ = 0D; /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -505,6 +610,7 @@ public double getHigherPositionRate() { ** *optional double relative_visibility = 11;
+ * * @return Whether the relativeVisibility field is set. */ @java.lang.Override @@ -512,6 +618,8 @@ public boolean hasRelativeVisibility() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -524,6 +632,7 @@ public boolean hasRelativeVisibility() { ** *optional double relative_visibility = 11;
+ * * @return The relativeVisibility. */ @java.lang.Override @@ -532,6 +641,7 @@ public double getRelativeVisibility() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -543,8 +653,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -588,46 +697,37 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isYourDomain_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isYourDomain_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reportCountryCode_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, reportCategoryId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, reportCategoryId_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, trafficSource_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, trafficSource_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, rank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, rank_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, adsOrganicRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, adsOrganicRatio_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(9, pageOverlapRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(9, pageOverlapRate_); } if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(10, higherPositionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(10, higherPositionRate_); } if (((bitField0_ & 0x00000200) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(11, relativeVisibility_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(11, relativeVisibility_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -637,37 +737,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView)) { + if (!(obj + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView other = (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) obj; + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView other = + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) obj; if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (hasDomain() != other.hasDomain()) return false; if (hasDomain()) { - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getDomain().equals(other.getDomain())) return false; } if (hasIsYourDomain() != other.hasIsYourDomain()) return false; if (hasIsYourDomain()) { - if (getIsYourDomain() - != other.getIsYourDomain()) return false; + if (getIsYourDomain() != other.getIsYourDomain()) return false; } if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasReportCategoryId() != other.hasReportCategoryId()) return false; if (hasReportCategoryId()) { - if (getReportCategoryId() - != other.getReportCategoryId()) return false; + if (getReportCategoryId() != other.getReportCategoryId()) return false; } if (hasTrafficSource() != other.hasTrafficSource()) return false; if (hasTrafficSource()) { @@ -675,32 +773,27 @@ public boolean equals(final java.lang.Object obj) { } if (hasRank() != other.hasRank()) return false; if (hasRank()) { - if (getRank() - != other.getRank()) return false; + if (getRank() != other.getRank()) return false; } if (hasAdsOrganicRatio() != other.hasAdsOrganicRatio()) return false; if (hasAdsOrganicRatio()) { if (java.lang.Double.doubleToLongBits(getAdsOrganicRatio()) - != java.lang.Double.doubleToLongBits( - other.getAdsOrganicRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getAdsOrganicRatio())) return false; } if (hasPageOverlapRate() != other.hasPageOverlapRate()) return false; if (hasPageOverlapRate()) { if (java.lang.Double.doubleToLongBits(getPageOverlapRate()) - != java.lang.Double.doubleToLongBits( - other.getPageOverlapRate())) return false; + != java.lang.Double.doubleToLongBits(other.getPageOverlapRate())) return false; } if (hasHigherPositionRate() != other.hasHigherPositionRate()) return false; if (hasHigherPositionRate()) { if (java.lang.Double.doubleToLongBits(getHigherPositionRate()) - != java.lang.Double.doubleToLongBits( - other.getHigherPositionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getHigherPositionRate())) return false; } if (hasRelativeVisibility() != other.hasRelativeVisibility()) return false; if (hasRelativeVisibility()) { if (java.lang.Double.doubleToLongBits(getRelativeVisibility()) - != java.lang.Double.doubleToLongBits( - other.getRelativeVisibility())) return false; + != java.lang.Double.doubleToLongBits(other.getRelativeVisibility())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -723,8 +816,7 @@ public int hashCode() { } if (hasIsYourDomain()) { hash = (37 * hash) + IS_YOUR_DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsYourDomain()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsYourDomain()); } if (hasReportCountryCode()) { hash = (37 * hash) + REPORT_COUNTRY_CODE_FIELD_NUMBER; @@ -732,8 +824,7 @@ public int hashCode() { } if (hasReportCategoryId()) { hash = (37 * hash) + REPORT_CATEGORY_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReportCategoryId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReportCategoryId()); } if (hasTrafficSource()) { hash = (37 * hash) + TRAFFIC_SOURCE_FIELD_NUMBER; @@ -741,127 +832,146 @@ public int hashCode() { } if (hasRank()) { hash = (37 * hash) + RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRank()); } if (hasAdsOrganicRatio()) { hash = (37 * hash) + ADS_ORGANIC_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAdsOrganicRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAdsOrganicRatio())); } if (hasPageOverlapRate()) { hash = (37 * hash) + PAGE_OVERLAP_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPageOverlapRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPageOverlapRate())); } if (hasHigherPositionRate()) { hash = (37 * hash) + HIGHER_POSITION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getHigherPositionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getHigherPositionRate())); } if (hasRelativeVisibility()) { hash = (37 * hash) + RELATIVE_VISIBILITY_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getRelativeVisibility())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getRelativeVisibility())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `competitive_visibility_competitor_view` table. * @@ -873,35 +983,37 @@ protected Builder newBuilderForType( * query. ** - * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView} + * Protobuf type {@code + * google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + .Builder.class); } - // Construct using com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -925,19 +1037,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityCompetitorView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView build() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result = buildPartial(); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -945,19 +1060,22 @@ public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetit } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView buildPartial() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + buildPartial() { + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.date_ = dateBuilder_ == null - ? date_ - : dateBuilder_.build(); + result.date_ = dateBuilder_ == null ? date_ : dateBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { @@ -1007,46 +1125,54 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.Competiti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView)other); + if (other + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) { + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView other) { - if (other == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + .getDefaultInstance()) return this; if (other.hasDate()) { mergeDate(other.getDate()); } @@ -1110,69 +1236,79 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - domain_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - isYourDomain_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - reportCategoryId_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - trafficSource_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - rank_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 65: { - adsOrganicRatio_ = input.readDouble(); - bitField0_ |= 0x00000080; - break; - } // case 65 - case 73: { - pageOverlapRate_ = input.readDouble(); - bitField0_ |= 0x00000100; - break; - } // case 73 - case 81: { - higherPositionRate_ = input.readDouble(); - bitField0_ |= 0x00000200; - break; - } // case 81 - case 89: { - relativeVisibility_ = input.readDouble(); - bitField0_ |= 0x00000400; - break; - } // case 89 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + domain_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + isYourDomain_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + reportCategoryId_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + trafficSource_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + rank_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 65: + { + adsOrganicRatio_ = input.readDouble(); + bitField0_ |= 0x00000080; + break; + } // case 65 + case 73: + { + pageOverlapRate_ = input.readDouble(); + bitField0_ |= 0x00000100; + break; + } // case 73 + case 81: + { + higherPositionRate_ = input.readDouble(); + bitField0_ |= 0x00000200; + break; + } // case 81 + case 89: + { + relativeVisibility_ = input.readDouble(); + bitField0_ |= 0x00000400; + break; + } // case 89 + 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) { @@ -1182,12 +1318,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date date_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateBuilder_; /** + * + * * * Date of this row. * @@ -1195,12 +1335,15 @@ public Builder mergeFrom( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Date of this row. * @@ -1208,6 +1351,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ public com.google.type.Date getDate() { @@ -1218,6 +1362,8 @@ public com.google.type.Date getDate() { } } /** + * + * ** Date of this row. * @@ -1240,6 +1386,8 @@ public Builder setDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -1248,8 +1396,7 @@ public Builder setDate(com.google.type.Date value) { * *.google.type.Date date = 1;
*/ - public Builder setDate( - com.google.type.Date.Builder builderForValue) { + public Builder setDate(com.google.type.Date.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); } else { @@ -1260,6 +1407,8 @@ public Builder setDate( return this; } /** + * + * ** Date of this row. * @@ -1270,9 +1419,9 @@ public Builder setDate( */ public Builder mergeDate(com.google.type.Date value) { if (dateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - date_ != null && - date_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && date_ != null + && date_ != com.google.type.Date.getDefaultInstance()) { getDateBuilder().mergeFrom(value); } else { date_ = value; @@ -1285,6 +1434,8 @@ public Builder mergeDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -1304,6 +1455,8 @@ public Builder clearDate() { return this; } /** + * + * ** Date of this row. * @@ -1318,6 +1471,8 @@ public com.google.type.Date.Builder getDateBuilder() { return getDateFieldBuilder().getBuilder(); } /** + * + * ** Date of this row. * @@ -1330,11 +1485,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { - return date_ == null ? - com.google.type.Date.getDefaultInstance() : date_; + return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } } /** + * + * ** Date of this row. * @@ -1344,14 +1500,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { *.google.type.Date date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { - dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getDate(), - getParentForChildren(), - isClean()); + dateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; @@ -1359,6 +1514,8 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { private java.lang.Object domain_ = ""; /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1367,12 +1524,15 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ public boolean hasDomain() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1381,13 +1541,13 @@ public boolean hasDomain() { ** *optional string domain = 2;
+ * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -1396,6 +1556,8 @@ public java.lang.String getDomain() { } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1404,15 +1566,14 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -1420,6 +1581,8 @@ public java.lang.String getDomain() { } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1428,18 +1591,22 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDomain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } domain_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1448,6 +1615,7 @@ public Builder setDomain( ** *optional string domain = 2;
+ * * @return This builder for chaining. */ public Builder clearDomain() { @@ -1457,6 +1625,8 @@ public Builder clearDomain() { return this; } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1465,12 +1635,14 @@ public Builder clearDomain() { ** *optional string domain = 2;
+ * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDomainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); domain_ = value; bitField0_ |= 0x00000002; @@ -1478,8 +1650,10 @@ public Builder setDomainBytes( return this; } - private boolean isYourDomain_ ; + private boolean isYourDomain_; /** + * + * ** True if this row contains data for your domain. * @@ -1487,6 +1661,7 @@ public Builder setDomainBytes( ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ @java.lang.Override @@ -1494,6 +1669,8 @@ public boolean hasIsYourDomain() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** True if this row contains data for your domain. * @@ -1501,6 +1678,7 @@ public boolean hasIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ @java.lang.Override @@ -1508,6 +1686,8 @@ public boolean getIsYourDomain() { return isYourDomain_; } /** + * + * ** True if this row contains data for your domain. * @@ -1515,6 +1695,7 @@ public boolean getIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @param value The isYourDomain to set. * @return This builder for chaining. */ @@ -1526,6 +1707,8 @@ public Builder setIsYourDomain(boolean value) { return this; } /** + * + * ** True if this row contains data for your domain. * @@ -1533,6 +1716,7 @@ public Builder setIsYourDomain(boolean value) { ** *optional bool is_your_domain = 3;
+ * * @return This builder for chaining. */ public Builder clearIsYourDomain() { @@ -1544,6 +1728,8 @@ public Builder clearIsYourDomain() { private java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -1552,12 +1738,15 @@ public Builder clearIsYourDomain() { ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Country where impressions appeared. * @@ -1566,13 +1755,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -1581,6 +1770,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1589,15 +1780,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -1605,6 +1795,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1613,18 +1805,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * ** Country where impressions appeared. * @@ -1633,6 +1829,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 4;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -1642,6 +1839,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country where impressions appeared. * @@ -1650,12 +1849,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000008; @@ -1663,8 +1864,10 @@ public Builder setReportCountryCodeBytes( return this; } - private long reportCategoryId_ ; + private long reportCategoryId_; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1675,6 +1878,7 @@ public Builder setReportCountryCodeBytes( ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -1682,6 +1886,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1692,6 +1898,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -1699,6 +1906,8 @@ public long getReportCategoryId() { return reportCategoryId_; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1709,6 +1918,7 @@ public long getReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @param value The reportCategoryId to set. * @return This builder for chaining. */ @@ -1720,6 +1930,8 @@ public Builder setReportCategoryId(long value) { return this; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1730,6 +1942,7 @@ public Builder setReportCategoryId(long value) { ** *optional int64 report_category_id = 5;
+ * * @return This builder for chaining. */ public Builder clearReportCategoryId() { @@ -1741,39 +1954,56 @@ public Builder clearReportCategoryId() { private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @param value The enum numeric value on the wire for trafficSource to set. * @return This builder for chaining. */ @@ -1784,32 +2014,48 @@ public Builder setTrafficSourceValue(int value) { return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @param value The trafficSource to set. * @return This builder for chaining. */ - public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { + public Builder setTrafficSource( + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { if (value == null) { throw new NullPointerException(); } @@ -1819,13 +2065,18 @@ public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.Traf return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return This builder for chaining. */ public Builder clearTrafficSource() { @@ -1835,8 +2086,10 @@ public Builder clearTrafficSource() { return this; } - private long rank_ ; + private long rank_; /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -1846,6 +2099,7 @@ public Builder clearTrafficSource() { ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -1853,6 +2107,8 @@ public boolean hasRank() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -1862,6 +2118,7 @@ public boolean hasRank() { ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -1869,6 +2126,8 @@ public long getRank() { return rank_; } /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -1878,6 +2137,7 @@ public long getRank() { ** *optional int64 rank = 7;
+ * * @param value The rank to set. * @return This builder for chaining. */ @@ -1889,6 +2149,8 @@ public Builder setRank(long value) { return this; } /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -1898,6 +2160,7 @@ public Builder setRank(long value) { ** *optional int64 rank = 7;
+ * * @return This builder for chaining. */ public Builder clearRank() { @@ -1907,8 +2170,10 @@ public Builder clearRank() { return this; } - private double adsOrganicRatio_ ; + private double adsOrganicRatio_; /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1919,6 +2184,7 @@ public Builder clearRank() { ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ @java.lang.Override @@ -1926,6 +2192,8 @@ public boolean hasAdsOrganicRatio() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1936,6 +2204,7 @@ public boolean hasAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ @java.lang.Override @@ -1943,6 +2212,8 @@ public double getAdsOrganicRatio() { return adsOrganicRatio_; } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1953,6 +2224,7 @@ public double getAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @param value The adsOrganicRatio to set. * @return This builder for chaining. */ @@ -1964,6 +2236,8 @@ public Builder setAdsOrganicRatio(double value) { return this; } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1974,6 +2248,7 @@ public Builder setAdsOrganicRatio(double value) { ** *optional double ads_organic_ratio = 8;
+ * * @return This builder for chaining. */ public Builder clearAdsOrganicRatio() { @@ -1983,8 +2258,10 @@ public Builder clearAdsOrganicRatio() { return this; } - private double pageOverlapRate_ ; + private double pageOverlapRate_; /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -1995,6 +2272,7 @@ public Builder clearAdsOrganicRatio() { ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ @java.lang.Override @@ -2002,6 +2280,8 @@ public boolean hasPageOverlapRate() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -2012,6 +2292,7 @@ public boolean hasPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ @java.lang.Override @@ -2019,6 +2300,8 @@ public double getPageOverlapRate() { return pageOverlapRate_; } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -2029,6 +2312,7 @@ public double getPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @param value The pageOverlapRate to set. * @return This builder for chaining. */ @@ -2040,6 +2324,8 @@ public Builder setPageOverlapRate(double value) { return this; } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -2050,6 +2336,7 @@ public Builder setPageOverlapRate(double value) { ** *optional double page_overlap_rate = 9;
+ * * @return This builder for chaining. */ public Builder clearPageOverlapRate() { @@ -2059,8 +2346,10 @@ public Builder clearPageOverlapRate() { return this; } - private double higherPositionRate_ ; + private double higherPositionRate_; /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2071,6 +2360,7 @@ public Builder clearPageOverlapRate() { ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ @java.lang.Override @@ -2078,6 +2368,8 @@ public boolean hasHigherPositionRate() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2088,6 +2380,7 @@ public boolean hasHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ @java.lang.Override @@ -2095,6 +2388,8 @@ public double getHigherPositionRate() { return higherPositionRate_; } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2105,6 +2400,7 @@ public double getHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @param value The higherPositionRate to set. * @return This builder for chaining. */ @@ -2116,6 +2412,8 @@ public Builder setHigherPositionRate(double value) { return this; } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2126,6 +2424,7 @@ public Builder setHigherPositionRate(double value) { ** *optional double higher_position_rate = 10;
+ * * @return This builder for chaining. */ public Builder clearHigherPositionRate() { @@ -2135,8 +2434,10 @@ public Builder clearHigherPositionRate() { return this; } - private double relativeVisibility_ ; + private double relativeVisibility_; /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -2149,6 +2450,7 @@ public Builder clearHigherPositionRate() { ** *optional double relative_visibility = 11;
+ * * @return Whether the relativeVisibility field is set. */ @java.lang.Override @@ -2156,6 +2458,8 @@ public boolean hasRelativeVisibility() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -2168,6 +2472,7 @@ public boolean hasRelativeVisibility() { ** *optional double relative_visibility = 11;
+ * * @return The relativeVisibility. */ @java.lang.Override @@ -2175,6 +2480,8 @@ public double getRelativeVisibility() { return relativeVisibility_; } /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -2187,6 +2494,7 @@ public double getRelativeVisibility() { ** *optional double relative_visibility = 11;
+ * * @param value The relativeVisibility to set. * @return This builder for chaining. */ @@ -2198,6 +2506,8 @@ public Builder setRelativeVisibility(double value) { return this; } /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -2210,6 +2520,7 @@ public Builder setRelativeVisibility(double value) { ** *optional double relative_visibility = 11;
+ * * @return This builder for chaining. */ public Builder clearRelativeVisibility() { @@ -2218,9 +2529,9 @@ public Builder clearRelativeVisibility() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2230,41 +2541,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) - private static final com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta + .CompetitiveVisibilityCompetitorView + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView(); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public CompetitiveVisibilityCompetitorView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public CompetitiveVisibilityCompetitorView 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; @@ -2276,9 +2591,8 @@ public com.google.protobuf.Parser getParser } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java similarity index 86% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java index 2fd7e226c60a..ffc8b2b7e929 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityCompetitorViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface CompetitiveVisibilityCompetitorViewOrBuilder extends +public interface CompetitiveVisibilityCompetitorViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityCompetitorView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Date of this row. * @@ -15,10 +33,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * ** Date of this row. * @@ -26,10 +47,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return The date. */ com.google.type.Date getDate(); /** + * + * ** Date of this row. * @@ -41,6 +65,8 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends com.google.type.DateOrBuilder getDateOrBuilder(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -49,10 +75,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ boolean hasDomain(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -61,10 +90,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string domain = 2;
+ * * @return The domain. */ java.lang.String getDomain(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -73,12 +105,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string domain = 2;
+ * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * ** True if this row contains data for your domain. * @@ -86,10 +120,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ boolean hasIsYourDomain(); /** + * + * ** True if this row contains data for your domain. * @@ -97,11 +134,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ boolean getIsYourDomain(); /** + * + * ** Country where impressions appeared. * @@ -110,10 +150,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -122,10 +165,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -134,12 +180,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -150,10 +198,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ boolean hasReportCategoryId(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -164,45 +215,63 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ long getReportCategoryId(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ boolean hasTrafficSource(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ int getTrafficSourceValue(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource(); /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -212,10 +281,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ boolean hasRank(); /** + * + * ** Position of the domain in the similar businesses ranking for the selected * keys (`date`, `report_category_id`, `report_country_code`, @@ -225,11 +297,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional int64 rank = 7;
+ * * @return The rank. */ long getRank(); /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -240,10 +315,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ boolean hasAdsOrganicRatio(); /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -254,11 +332,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ double getAdsOrganicRatio(); /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -269,10 +350,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ boolean hasPageOverlapRate(); /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -283,11 +367,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ double getPageOverlapRate(); /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -298,10 +385,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ boolean hasHigherPositionRate(); /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -312,11 +402,14 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ double getHigherPositionRate(); /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -329,10 +422,13 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double relative_visibility = 11;
+ * * @return Whether the relativeVisibility field is set. */ boolean hasRelativeVisibility(); /** + * + * ** [Relative visibility] * (https://support.google.com/merchants/answer/11366442#zippy=%2Crelative-visibility) @@ -345,6 +441,7 @@ public interface CompetitiveVisibilityCompetitorViewOrBuilder extends ** *optional double relative_visibility = 11;
+ * * @return The relativeVisibility. */ double getRelativeVisibility(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java similarity index 73% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java index 9f1509e3dc56..267950937cbc 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `competitive_visibility_top_merchant_view` * table. @@ -16,17 +33,21 @@ * query. ** - * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView} + * Protobuf type {@code + * google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView} */ -public final class CompetitiveVisibilityTopMerchantView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class CompetitiveVisibilityTopMerchantView + extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) CompetitiveVisibilityTopMerchantViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use CompetitiveVisibilityTopMerchantView.newBuilder() to construct. - private CompetitiveVisibilityTopMerchantView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + private CompetitiveVisibilityTopMerchantView( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private CompetitiveVisibilityTopMerchantView() { domain_ = ""; reportCountryCode_ = ""; @@ -35,28 +56,32 @@ private CompetitiveVisibilityTopMerchantView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new CompetitiveVisibilityTopMerchantView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.Builder + .class); } private int bitField0_; public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** + * + * ** Date of this row. * @@ -65,6 +90,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ @java.lang.Override @@ -72,6 +98,8 @@ public boolean hasDate() { return date_ != null; } /** + * + * ** Date of this row. * @@ -80,6 +108,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ @java.lang.Override @@ -87,6 +116,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * ** Date of this row. * @@ -102,9 +133,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { } public static final int DOMAIN_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object domain_ = ""; /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -113,6 +147,7 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ @java.lang.Override @@ -120,6 +155,8 @@ public boolean hasDomain() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -128,6 +165,7 @@ public boolean hasDomain() { ** *optional string domain = 2;
+ * * @return The domain. */ @java.lang.Override @@ -136,14 +174,15 @@ public java.lang.String getDomain() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -152,16 +191,15 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @return The bytes for domain. */ @java.lang.Override - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -172,6 +210,8 @@ public java.lang.String getDomain() { public static final int IS_YOUR_DOMAIN_FIELD_NUMBER = 3; private boolean isYourDomain_ = false; /** + * + * ** True if this row contains data for your domain. * @@ -179,6 +219,7 @@ public java.lang.String getDomain() { ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ @java.lang.Override @@ -186,6 +227,8 @@ public boolean hasIsYourDomain() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** True if this row contains data for your domain. * @@ -193,6 +236,7 @@ public boolean hasIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ @java.lang.Override @@ -201,9 +245,12 @@ public boolean getIsYourDomain() { } public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -212,6 +259,7 @@ public boolean getIsYourDomain() { ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -219,6 +267,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Country where impressions appeared. * @@ -227,6 +277,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -235,14 +286,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country where impressions appeared. * @@ -251,16 +303,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -271,6 +322,8 @@ public java.lang.String getReportCountryCode() { public static final int REPORT_CATEGORY_ID_FIELD_NUMBER = 5; private long reportCategoryId_ = 0L; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -281,6 +334,7 @@ public java.lang.String getReportCountryCode() { ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -288,6 +342,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -298,6 +354,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -308,49 +365,74 @@ public long getReportCategoryId() { public static final int TRAFFIC_SOURCE_FIELD_NUMBER = 6; private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } public static final int RANK_FIELD_NUMBER = 7; private long rank_ = 0L; /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -360,6 +442,7 @@ public long getReportCategoryId() { ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -367,6 +450,8 @@ public boolean hasRank() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -376,6 +461,7 @@ public boolean hasRank() { ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -386,6 +472,8 @@ public long getRank() { public static final int ADS_ORGANIC_RATIO_FIELD_NUMBER = 8; private double adsOrganicRatio_ = 0D; /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -396,6 +484,7 @@ public long getRank() { ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ @java.lang.Override @@ -403,6 +492,8 @@ public boolean hasAdsOrganicRatio() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -413,6 +504,7 @@ public boolean hasAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ @java.lang.Override @@ -423,6 +515,8 @@ public double getAdsOrganicRatio() { public static final int PAGE_OVERLAP_RATE_FIELD_NUMBER = 9; private double pageOverlapRate_ = 0D; /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -433,6 +527,7 @@ public double getAdsOrganicRatio() { ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ @java.lang.Override @@ -440,6 +535,8 @@ public boolean hasPageOverlapRate() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -450,6 +547,7 @@ public boolean hasPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ @java.lang.Override @@ -460,6 +558,8 @@ public double getPageOverlapRate() { public static final int HIGHER_POSITION_RATE_FIELD_NUMBER = 10; private double higherPositionRate_ = 0D; /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -470,6 +570,7 @@ public double getPageOverlapRate() { ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ @java.lang.Override @@ -477,6 +578,8 @@ public boolean hasHigherPositionRate() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -487,6 +590,7 @@ public boolean hasHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ @java.lang.Override @@ -495,6 +599,7 @@ public double getHigherPositionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -506,8 +611,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -548,42 +652,34 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); } if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, domain_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeBoolSize(3, isYourDomain_); + size += com.google.protobuf.CodedOutputStream.computeBoolSize(3, isYourDomain_); } if (((bitField0_ & 0x00000004) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, reportCountryCode_); } if (((bitField0_ & 0x00000008) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(5, reportCategoryId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(5, reportCategoryId_); } if (((bitField0_ & 0x00000010) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(6, trafficSource_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(6, trafficSource_); } if (((bitField0_ & 0x00000020) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(7, rank_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(7, rank_); } if (((bitField0_ & 0x00000040) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(8, adsOrganicRatio_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(8, adsOrganicRatio_); } if (((bitField0_ & 0x00000080) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(9, pageOverlapRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(9, pageOverlapRate_); } if (((bitField0_ & 0x00000100) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(10, higherPositionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(10, higherPositionRate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -593,37 +689,35 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView)) { + if (!(obj + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView other = (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) obj; + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView other = + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) obj; if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (hasDomain() != other.hasDomain()) return false; if (hasDomain()) { - if (!getDomain() - .equals(other.getDomain())) return false; + if (!getDomain().equals(other.getDomain())) return false; } if (hasIsYourDomain() != other.hasIsYourDomain()) return false; if (hasIsYourDomain()) { - if (getIsYourDomain() - != other.getIsYourDomain()) return false; + if (getIsYourDomain() != other.getIsYourDomain()) return false; } if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasReportCategoryId() != other.hasReportCategoryId()) return false; if (hasReportCategoryId()) { - if (getReportCategoryId() - != other.getReportCategoryId()) return false; + if (getReportCategoryId() != other.getReportCategoryId()) return false; } if (hasTrafficSource() != other.hasTrafficSource()) return false; if (hasTrafficSource()) { @@ -631,26 +725,22 @@ public boolean equals(final java.lang.Object obj) { } if (hasRank() != other.hasRank()) return false; if (hasRank()) { - if (getRank() - != other.getRank()) return false; + if (getRank() != other.getRank()) return false; } if (hasAdsOrganicRatio() != other.hasAdsOrganicRatio()) return false; if (hasAdsOrganicRatio()) { if (java.lang.Double.doubleToLongBits(getAdsOrganicRatio()) - != java.lang.Double.doubleToLongBits( - other.getAdsOrganicRatio())) return false; + != java.lang.Double.doubleToLongBits(other.getAdsOrganicRatio())) return false; } if (hasPageOverlapRate() != other.hasPageOverlapRate()) return false; if (hasPageOverlapRate()) { if (java.lang.Double.doubleToLongBits(getPageOverlapRate()) - != java.lang.Double.doubleToLongBits( - other.getPageOverlapRate())) return false; + != java.lang.Double.doubleToLongBits(other.getPageOverlapRate())) return false; } if (hasHigherPositionRate() != other.hasHigherPositionRate()) return false; if (hasHigherPositionRate()) { if (java.lang.Double.doubleToLongBits(getHigherPositionRate()) - != java.lang.Double.doubleToLongBits( - other.getHigherPositionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getHigherPositionRate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -673,8 +763,7 @@ public int hashCode() { } if (hasIsYourDomain()) { hash = (37 * hash) + IS_YOUR_DOMAIN_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( - getIsYourDomain()); + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsYourDomain()); } if (hasReportCountryCode()) { hash = (37 * hash) + REPORT_COUNTRY_CODE_FIELD_NUMBER; @@ -682,8 +771,7 @@ public int hashCode() { } if (hasReportCategoryId()) { hash = (37 * hash) + REPORT_CATEGORY_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getReportCategoryId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getReportCategoryId()); } if (hasTrafficSource()) { hash = (37 * hash) + TRAFFIC_SOURCE_FIELD_NUMBER; @@ -691,122 +779,139 @@ public int hashCode() { } if (hasRank()) { hash = (37 * hash) + RANK_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getRank()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getRank()); } if (hasAdsOrganicRatio()) { hash = (37 * hash) + ADS_ORGANIC_RATIO_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getAdsOrganicRatio())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getAdsOrganicRatio())); } if (hasPageOverlapRate()) { hash = (37 * hash) + PAGE_OVERLAP_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPageOverlapRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPageOverlapRate())); } if (hasHigherPositionRate()) { hash = (37 * hash) + HIGHER_POSITION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getHigherPositionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getHigherPositionRate())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `competitive_visibility_top_merchant_view` * table. @@ -819,35 +924,38 @@ protected Builder newBuilderForType( * query. ** - * Protobuf type {@code google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView} + * Protobuf type {@code + * google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.class, com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.Builder.class); + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + .class, + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + .Builder.class); } - // Construct using com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -870,19 +978,23 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_CompetitiveVisibilityTopMerchantView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + .getDefaultInstance(); } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView build() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result = buildPartial(); + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + build() { + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -890,19 +1002,23 @@ public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerch } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView buildPartial() { - com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + buildPartial() { + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView( + this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.date_ = dateBuilder_ == null - ? date_ - : dateBuilder_.build(); + result.date_ = dateBuilder_ == null ? date_ : dateBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000002) != 0)) { @@ -948,46 +1064,54 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.Competiti public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView)other); + if (other + instanceof + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) { + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) + other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView other) { - if (other == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + .getDefaultInstance()) return this; if (other.hasDate()) { mergeDate(other.getDate()); } @@ -1048,64 +1172,73 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - domain_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - isYourDomain_ = input.readBool(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 34: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 40: { - reportCategoryId_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 40 - case 48: { - trafficSource_ = input.readEnum(); - bitField0_ |= 0x00000020; - break; - } // case 48 - case 56: { - rank_ = input.readInt64(); - bitField0_ |= 0x00000040; - break; - } // case 56 - case 65: { - adsOrganicRatio_ = input.readDouble(); - bitField0_ |= 0x00000080; - break; - } // case 65 - case 73: { - pageOverlapRate_ = input.readDouble(); - bitField0_ |= 0x00000100; - break; - } // case 73 - case 81: { - higherPositionRate_ = input.readDouble(); - bitField0_ |= 0x00000200; - break; - } // case 81 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + domain_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + isYourDomain_ = input.readBool(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 34: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 40: + { + reportCategoryId_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 40 + case 48: + { + trafficSource_ = input.readEnum(); + bitField0_ |= 0x00000020; + break; + } // case 48 + case 56: + { + rank_ = input.readInt64(); + bitField0_ |= 0x00000040; + break; + } // case 56 + case 65: + { + adsOrganicRatio_ = input.readDouble(); + bitField0_ |= 0x00000080; + break; + } // case 65 + case 73: + { + pageOverlapRate_ = input.readDouble(); + bitField0_ |= 0x00000100; + break; + } // case 73 + case 81: + { + higherPositionRate_ = input.readDouble(); + bitField0_ |= 0x00000200; + break; + } // case 81 + 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) { @@ -1115,12 +1248,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date date_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateBuilder_; /** + * + * * * Date of this row. * @@ -1129,12 +1266,15 @@ public Builder mergeFrom( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Date of this row. * @@ -1143,6 +1283,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ public com.google.type.Date getDate() { @@ -1153,6 +1294,8 @@ public com.google.type.Date getDate() { } } /** + * + * ** Date of this row. * @@ -1176,6 +1319,8 @@ public Builder setDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -1185,8 +1330,7 @@ public Builder setDate(com.google.type.Date value) { * *.google.type.Date date = 1;
*/ - public Builder setDate( - com.google.type.Date.Builder builderForValue) { + public Builder setDate(com.google.type.Date.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); } else { @@ -1197,6 +1341,8 @@ public Builder setDate( return this; } /** + * + * ** Date of this row. * @@ -1208,9 +1354,9 @@ public Builder setDate( */ public Builder mergeDate(com.google.type.Date value) { if (dateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - date_ != null && - date_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && date_ != null + && date_ != com.google.type.Date.getDefaultInstance()) { getDateBuilder().mergeFrom(value); } else { date_ = value; @@ -1223,6 +1369,8 @@ public Builder mergeDate(com.google.type.Date value) { return this; } /** + * + * ** Date of this row. * @@ -1243,6 +1391,8 @@ public Builder clearDate() { return this; } /** + * + * ** Date of this row. * @@ -1258,6 +1408,8 @@ public com.google.type.Date.Builder getDateBuilder() { return getDateFieldBuilder().getBuilder(); } /** + * + * ** Date of this row. * @@ -1271,11 +1423,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { - return date_ == null ? - com.google.type.Date.getDefaultInstance() : date_; + return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } } /** + * + * ** Date of this row. * @@ -1286,14 +1439,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { *.google.type.Date date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { - dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getDate(), - getParentForChildren(), - isClean()); + dateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; @@ -1301,6 +1453,8 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { private java.lang.Object domain_ = ""; /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1309,12 +1463,15 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ public boolean hasDomain() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1323,13 +1480,13 @@ public boolean hasDomain() { ** *optional string domain = 2;
+ * * @return The domain. */ public java.lang.String getDomain() { java.lang.Object ref = domain_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); domain_ = s; return s; @@ -1338,6 +1495,8 @@ public java.lang.String getDomain() { } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1346,15 +1505,14 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @return The bytes for domain. */ - public com.google.protobuf.ByteString - getDomainBytes() { + public com.google.protobuf.ByteString getDomainBytes() { java.lang.Object ref = domain_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); domain_ = b; return b; } else { @@ -1362,6 +1520,8 @@ public java.lang.String getDomain() { } } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1370,18 +1530,22 @@ public java.lang.String getDomain() { ** *optional string domain = 2;
+ * * @param value The domain to set. * @return This builder for chaining. */ - public Builder setDomain( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDomain(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } domain_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1390,6 +1554,7 @@ public Builder setDomain( ** *optional string domain = 2;
+ * * @return This builder for chaining. */ public Builder clearDomain() { @@ -1399,6 +1564,8 @@ public Builder clearDomain() { return this; } /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -1407,12 +1574,14 @@ public Builder clearDomain() { ** *optional string domain = 2;
+ * * @param value The bytes for domain to set. * @return This builder for chaining. */ - public Builder setDomainBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setDomainBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); domain_ = value; bitField0_ |= 0x00000002; @@ -1420,8 +1589,10 @@ public Builder setDomainBytes( return this; } - private boolean isYourDomain_ ; + private boolean isYourDomain_; /** + * + * ** True if this row contains data for your domain. * @@ -1429,6 +1600,7 @@ public Builder setDomainBytes( ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ @java.lang.Override @@ -1436,6 +1608,8 @@ public boolean hasIsYourDomain() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** True if this row contains data for your domain. * @@ -1443,6 +1617,7 @@ public boolean hasIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ @java.lang.Override @@ -1450,6 +1625,8 @@ public boolean getIsYourDomain() { return isYourDomain_; } /** + * + * ** True if this row contains data for your domain. * @@ -1457,6 +1634,7 @@ public boolean getIsYourDomain() { ** *optional bool is_your_domain = 3;
+ * * @param value The isYourDomain to set. * @return This builder for chaining. */ @@ -1468,6 +1646,8 @@ public Builder setIsYourDomain(boolean value) { return this; } /** + * + * ** True if this row contains data for your domain. * @@ -1475,6 +1655,7 @@ public Builder setIsYourDomain(boolean value) { ** *optional bool is_your_domain = 3;
+ * * @return This builder for chaining. */ public Builder clearIsYourDomain() { @@ -1486,6 +1667,8 @@ public Builder clearIsYourDomain() { private java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country where impressions appeared. * @@ -1494,12 +1677,15 @@ public Builder clearIsYourDomain() { ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Country where impressions appeared. * @@ -1508,13 +1694,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -1523,6 +1709,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1531,15 +1719,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -1547,6 +1734,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country where impressions appeared. * @@ -1555,18 +1744,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * ** Country where impressions appeared. * @@ -1575,6 +1768,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 4;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -1584,6 +1778,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country where impressions appeared. * @@ -1592,12 +1788,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 4;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000008; @@ -1605,8 +1803,10 @@ public Builder setReportCountryCodeBytes( return this; } - private long reportCategoryId_ ; + private long reportCategoryId_; /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1617,6 +1817,7 @@ public Builder setReportCountryCodeBytes( ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ @java.lang.Override @@ -1624,6 +1825,8 @@ public boolean hasReportCategoryId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1634,6 +1837,7 @@ public boolean hasReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ @java.lang.Override @@ -1641,6 +1845,8 @@ public long getReportCategoryId() { return reportCategoryId_; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1651,6 +1857,7 @@ public long getReportCategoryId() { ** *optional int64 report_category_id = 5;
+ * * @param value The reportCategoryId to set. * @return This builder for chaining. */ @@ -1662,6 +1869,8 @@ public Builder setReportCategoryId(long value) { return this; } /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -1672,6 +1881,7 @@ public Builder setReportCategoryId(long value) { ** *optional int64 report_category_id = 5;
+ * * @return This builder for chaining. */ public Builder clearReportCategoryId() { @@ -1683,39 +1893,56 @@ public Builder clearReportCategoryId() { private int trafficSource_ = 0; /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ - @java.lang.Override public boolean hasTrafficSource() { + @java.lang.Override + public boolean hasTrafficSource() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ - @java.lang.Override public int getTrafficSourceValue() { + @java.lang.Override + public int getTrafficSourceValue() { return trafficSource_; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @param value The enum numeric value on the wire for trafficSource to set. * @return This builder for chaining. */ @@ -1726,32 +1953,48 @@ public Builder setTrafficSourceValue(int value) { return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource() { - com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber(trafficSource_); - return result == null ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum + getTrafficSource() { + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum result = + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.forNumber( + trafficSource_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum.UNRECOGNIZED + : result; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @param value The trafficSource to set. * @return This builder for chaining. */ - public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { + public Builder setTrafficSource( + com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum value) { if (value == null) { throw new NullPointerException(); } @@ -1761,13 +2004,18 @@ public Builder setTrafficSource(com.google.shopping.merchant.reports.v1beta.Traf return this; } /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return This builder for chaining. */ public Builder clearTrafficSource() { @@ -1777,8 +2025,10 @@ public Builder clearTrafficSource() { return this; } - private long rank_ ; + private long rank_; /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -1788,6 +2038,7 @@ public Builder clearTrafficSource() { ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ @java.lang.Override @@ -1795,6 +2046,8 @@ public boolean hasRank() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -1804,6 +2057,7 @@ public boolean hasRank() { ** *optional int64 rank = 7;
+ * * @return The rank. */ @java.lang.Override @@ -1811,6 +2065,8 @@ public long getRank() { return rank_; } /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -1820,6 +2076,7 @@ public long getRank() { ** *optional int64 rank = 7;
+ * * @param value The rank to set. * @return This builder for chaining. */ @@ -1831,6 +2088,8 @@ public Builder setRank(long value) { return this; } /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -1840,6 +2099,7 @@ public Builder setRank(long value) { ** *optional int64 rank = 7;
+ * * @return This builder for chaining. */ public Builder clearRank() { @@ -1849,8 +2109,10 @@ public Builder clearRank() { return this; } - private double adsOrganicRatio_ ; + private double adsOrganicRatio_; /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1861,6 +2123,7 @@ public Builder clearRank() { ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ @java.lang.Override @@ -1868,6 +2131,8 @@ public boolean hasAdsOrganicRatio() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1878,6 +2143,7 @@ public boolean hasAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ @java.lang.Override @@ -1885,6 +2151,8 @@ public double getAdsOrganicRatio() { return adsOrganicRatio_; } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1895,6 +2163,7 @@ public double getAdsOrganicRatio() { ** *optional double ads_organic_ratio = 8;
+ * * @param value The adsOrganicRatio to set. * @return This builder for chaining. */ @@ -1906,6 +2175,8 @@ public Builder setAdsOrganicRatio(double value) { return this; } /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -1916,6 +2187,7 @@ public Builder setAdsOrganicRatio(double value) { ** *optional double ads_organic_ratio = 8;
+ * * @return This builder for chaining. */ public Builder clearAdsOrganicRatio() { @@ -1925,8 +2197,10 @@ public Builder clearAdsOrganicRatio() { return this; } - private double pageOverlapRate_ ; + private double pageOverlapRate_; /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -1937,6 +2211,7 @@ public Builder clearAdsOrganicRatio() { ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ @java.lang.Override @@ -1944,6 +2219,8 @@ public boolean hasPageOverlapRate() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -1954,6 +2231,7 @@ public boolean hasPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ @java.lang.Override @@ -1961,6 +2239,8 @@ public double getPageOverlapRate() { return pageOverlapRate_; } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -1971,6 +2251,7 @@ public double getPageOverlapRate() { ** *optional double page_overlap_rate = 9;
+ * * @param value The pageOverlapRate to set. * @return This builder for chaining. */ @@ -1982,6 +2263,8 @@ public Builder setPageOverlapRate(double value) { return this; } /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -1992,6 +2275,7 @@ public Builder setPageOverlapRate(double value) { ** *optional double page_overlap_rate = 9;
+ * * @return This builder for chaining. */ public Builder clearPageOverlapRate() { @@ -2001,8 +2285,10 @@ public Builder clearPageOverlapRate() { return this; } - private double higherPositionRate_ ; + private double higherPositionRate_; /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2013,6 +2299,7 @@ public Builder clearPageOverlapRate() { ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ @java.lang.Override @@ -2020,6 +2307,8 @@ public boolean hasHigherPositionRate() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2030,6 +2319,7 @@ public boolean hasHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ @java.lang.Override @@ -2037,6 +2327,8 @@ public double getHigherPositionRate() { return higherPositionRate_; } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2047,6 +2339,7 @@ public double getHigherPositionRate() { ** *optional double higher_position_rate = 10;
+ * * @param value The higherPositionRate to set. * @return This builder for chaining. */ @@ -2058,6 +2351,8 @@ public Builder setHigherPositionRate(double value) { return this; } /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -2068,6 +2363,7 @@ public Builder setHigherPositionRate(double value) { ** *optional double higher_position_rate = 10;
+ * * @return This builder for chaining. */ public Builder clearHigherPositionRate() { @@ -2076,9 +2372,9 @@ public Builder clearHigherPositionRate() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -2088,41 +2384,45 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) - private static final com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta + .CompetitiveVisibilityTopMerchantView + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView(); } - public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public CompetitiveVisibilityTopMerchantView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public CompetitiveVisibilityTopMerchantView 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; @@ -2134,9 +2434,8 @@ public com.google.protobuf.Parser getParse } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java similarity index 85% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java index dce8cd9618af..a73eca8a7d5c 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/CompetitiveVisibilityTopMerchantViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends +public interface CompetitiveVisibilityTopMerchantViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.CompetitiveVisibilityTopMerchantView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Date of this row. * @@ -16,10 +34,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * ** Date of this row. * @@ -28,10 +49,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return The date. */ com.google.type.Date getDate(); /** + * + * ** Date of this row. * @@ -44,6 +68,8 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends com.google.type.DateOrBuilder getDateOrBuilder(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -52,10 +78,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string domain = 2;
+ * * @return Whether the domain field is set. */ boolean hasDomain(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -64,10 +93,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string domain = 2;
+ * * @return The domain. */ java.lang.String getDomain(); /** + * + * ** Domain of your competitor or your domain, if 'is_your_domain' is true. * @@ -76,12 +108,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string domain = 2;
+ * * @return The bytes for domain. */ - com.google.protobuf.ByteString - getDomainBytes(); + com.google.protobuf.ByteString getDomainBytes(); /** + * + * ** True if this row contains data for your domain. * @@ -89,10 +123,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional bool is_your_domain = 3;
+ * * @return Whether the isYourDomain field is set. */ boolean hasIsYourDomain(); /** + * + * ** True if this row contains data for your domain. * @@ -100,11 +137,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional bool is_your_domain = 3;
+ * * @return The isYourDomain. */ boolean getIsYourDomain(); /** + * + * ** Country where impressions appeared. * @@ -113,10 +153,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -125,10 +168,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country where impressions appeared. * @@ -137,12 +183,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional string report_country_code = 4;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -153,10 +201,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional int64 report_category_id = 5;
+ * * @return Whether the reportCategoryId field is set. */ boolean hasReportCategoryId(); /** + * + * ** Google product category ID to calculate the report for, represented in * [Google's product @@ -167,45 +218,63 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional int64 report_category_id = 5;
+ * * @return The reportCategoryId. */ long getReportCategoryId(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return Whether the trafficSource field is set. */ boolean hasTrafficSource(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The enum numeric value on the wire for trafficSource. */ int getTrafficSourceValue(); /** + * + * ** Traffic source of impressions. * * Required in the `SELECT` clause. ** - *optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6;
+ *+ * optional .google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum traffic_source = 6; + *
+ * * @return The trafficSource. */ com.google.shopping.merchant.reports.v1beta.TrafficSource.TrafficSourceEnum getTrafficSource(); /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -215,10 +284,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional int64 rank = 7;
+ * * @return Whether the rank field is set. */ boolean hasRank(); /** + * + * ** Position of the domain in the top merchants ranking for the selected keys * (`date`, `report_category_id`, `report_country_code`, `traffic_source`) @@ -228,11 +300,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional int64 rank = 7;
+ * * @return The rank. */ long getRank(); /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -243,10 +318,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double ads_organic_ratio = 8;
+ * * @return Whether the adsOrganicRatio field is set. */ boolean hasAdsOrganicRatio(); /** + * + * ** [Ads / organic ratio] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cads-free-ratio) @@ -257,11 +335,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double ads_organic_ratio = 8;
+ * * @return The adsOrganicRatio. */ double getAdsOrganicRatio(); /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -272,10 +353,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double page_overlap_rate = 9;
+ * * @return Whether the pageOverlapRate field is set. */ boolean hasPageOverlapRate(); /** + * + * ** [Page overlap rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Cpage-overlap-rate) @@ -286,11 +370,14 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double page_overlap_rate = 9;
+ * * @return The pageOverlapRate. */ double getPageOverlapRate(); /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -301,10 +388,13 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double higher_position_rate = 10;
+ * * @return Whether the higherPositionRate field is set. */ boolean hasHigherPositionRate(); /** + * + * ** [Higher position rate] * (https://support.google.com/merchants/answer/11366442#zippy=%2Chigher-position-rate) @@ -315,6 +405,7 @@ public interface CompetitiveVisibilityTopMerchantViewOrBuilder extends ** *optional double higher_position_rate = 10;
+ * * @return The higherPositionRate. */ double getHigherPositionRate(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java similarity index 66% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java index 5aa226e2a76a..2f686f08fdcc 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethod.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Marketing method used to promote your products on Google (organic versus * ads). @@ -11,48 +28,53 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.MarketingMethod} */ -public final class MarketingMethod extends - com.google.protobuf.GeneratedMessageV3 implements +public final class MarketingMethod extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.MarketingMethod) MarketingMethodOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use MarketingMethod.newBuilder() to construct. private MarketingMethod(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private MarketingMethod() { - } + + private MarketingMethod() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new MarketingMethod(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.MarketingMethod.class, com.google.shopping.merchant.reports.v1beta.MarketingMethod.Builder.class); + com.google.shopping.merchant.reports.v1beta.MarketingMethod.class, + com.google.shopping.merchant.reports.v1beta.MarketingMethod.Builder.class); } /** + * + * ** Marketing method values. ** - * Protobuf enum {@code google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum} + * Protobuf enum {@code + * google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum} */ - public enum MarketingMethodEnum - implements com.google.protobuf.ProtocolMessageEnum { + public enum MarketingMethodEnum implements com.google.protobuf.ProtocolMessageEnum { /** + * + * ** Not specified. *@@ -61,6 +83,8 @@ public enum MarketingMethodEnum */ MARKETING_METHOD_ENUM_UNSPECIFIED(0), /** + * + * ** Organic marketing. *@@ -69,6 +93,8 @@ public enum MarketingMethodEnum */ ORGANIC(1), /** + * + * ** Ads-based marketing. *@@ -80,6 +106,8 @@ public enum MarketingMethodEnum ; /** + * + * ** Not specified. *@@ -88,6 +116,8 @@ public enum MarketingMethodEnum */ public static final int MARKETING_METHOD_ENUM_UNSPECIFIED_VALUE = 0; /** + * + * ** Organic marketing. *@@ -96,6 +126,8 @@ public enum MarketingMethodEnum */ public static final int ORGANIC_VALUE = 1; /** + * + * ** Ads-based marketing. *@@ -104,7 +136,6 @@ public enum MarketingMethodEnum */ public static final int ADS_VALUE = 2; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -129,10 +160,14 @@ public static MarketingMethodEnum valueOf(int value) { */ public static MarketingMethodEnum forNumber(int value) { switch (value) { - case 0: return MARKETING_METHOD_ENUM_UNSPECIFIED; - case 1: return ORGANIC; - case 2: return ADS; - default: return null; + case 0: + return MARKETING_METHOD_ENUM_UNSPECIFIED; + case 1: + return ORGANIC; + case 2: + return ADS; + default: + return null; } } @@ -140,29 +175,31 @@ public static MarketingMethodEnum forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - MarketingMethodEnum> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public MarketingMethodEnum findValueByNumber(int number) { - return MarketingMethodEnum.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap () { + public MarketingMethodEnum findValueByNumber(int number) { + return MarketingMethodEnum.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.MarketingMethod.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.MarketingMethod.getDescriptor() + .getEnumTypes() + .get(0); } private static final MarketingMethodEnum[] VALUES = values(); @@ -170,8 +207,7 @@ public MarketingMethodEnum findValueByNumber(int number) { public static MarketingMethodEnum valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -189,6 +225,7 @@ private MarketingMethodEnum(int value) { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -200,8 +237,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getUnknownFields().writeTo(output); } @@ -219,12 +255,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.MarketingMethod)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.MarketingMethod other = (com.google.shopping.merchant.reports.v1beta.MarketingMethod) obj; + com.google.shopping.merchant.reports.v1beta.MarketingMethod other = + (com.google.shopping.merchant.reports.v1beta.MarketingMethod) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -243,98 +280,104 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod 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.shopping.merchant.reports.v1beta.MarketingMethod parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseDelimitedFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseDelimitedFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException( + PARSER, input, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.MarketingMethod parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.MarketingMethod prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.MarketingMethod prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * * * Marketing method used to promote your products on Google (organic versus * ads). @@ -342,33 +385,32 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.MarketingMethod} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.MarketingMethod) com.google.shopping.merchant.reports.v1beta.MarketingMethodOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.MarketingMethod.class, com.google.shopping.merchant.reports.v1beta.MarketingMethod.Builder.class); + com.google.shopping.merchant.reports.v1beta.MarketingMethod.class, + com.google.shopping.merchant.reports.v1beta.MarketingMethod.Builder.class); } // Construct using com.google.shopping.merchant.reports.v1beta.MarketingMethod.newBuilder() - private Builder() { - - } + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -376,9 +418,9 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_MarketingMethod_descriptor; } @java.lang.Override @@ -397,7 +439,8 @@ public com.google.shopping.merchant.reports.v1beta.MarketingMethod build() { @java.lang.Override public com.google.shopping.merchant.reports.v1beta.MarketingMethod buildPartial() { - com.google.shopping.merchant.reports.v1beta.MarketingMethod result = new com.google.shopping.merchant.reports.v1beta.MarketingMethod(this); + com.google.shopping.merchant.reports.v1beta.MarketingMethod result = + new com.google.shopping.merchant.reports.v1beta.MarketingMethod(this); onBuilt(); return result; } @@ -406,38 +449,39 @@ public com.google.shopping.merchant.reports.v1beta.MarketingMethod buildPartial( public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.MarketingMethod) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.MarketingMethod)other); + return mergeFrom((com.google.shopping.merchant.reports.v1beta.MarketingMethod) other); } else { super.mergeFrom(other); return this; @@ -445,7 +489,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) { } public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.MarketingMethod other) { - if (other == com.google.shopping.merchant.reports.v1beta.MarketingMethod.getDefaultInstance()) return this; + if (other == com.google.shopping.merchant.reports.v1beta.MarketingMethod.getDefaultInstance()) + return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -472,12 +517,13 @@ public Builder mergeFrom( case 0: done = true; break; - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + 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) { @@ -487,9 +533,9 @@ public Builder mergeFrom( } // finally return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -499,12 +545,12 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.MarketingMethod) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.MarketingMethod) private static final com.google.shopping.merchant.reports.v1beta.MarketingMethod DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.MarketingMethod(); } @@ -513,27 +559,27 @@ public static com.google.shopping.merchant.reports.v1beta.MarketingMethod getDef return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser - PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public MarketingMethod 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public MarketingMethod 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; @@ -548,6 +594,4 @@ public com.google.protobuf.Parser getParserForType() { public com.google.shopping.merchant.reports.v1beta.MarketingMethod getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethodOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethodOrBuilder.java new file mode 100644 index 000000000000..a67a9f217f76 --- /dev/null +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/MarketingMethodOrBuilder.java @@ -0,0 +1,24 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ +// Generated by the protocol buffer compiler. DO NOT EDIT! +// source: google/shopping/merchant/reports/v1beta/reports.proto + +package com.google.shopping.merchant.reports.v1beta; + +public interface MarketingMethodOrBuilder + extends + // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.MarketingMethod) + com.google.protobuf.MessageOrBuilder {} diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java similarity index 73% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java index 811c9743965d..8b2118073c5c 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * * * Fields available for query in `non_product_performance_view` table. * @@ -21,42 +38,45 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.NonProductPerformanceView} */ -public final class NonProductPerformanceView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class NonProductPerformanceView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.NonProductPerformanceView) NonProductPerformanceViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use NonProductPerformanceView.newBuilder() to construct. private NonProductPerformanceView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } - private NonProductPerformanceView() { - } + + private NonProductPerformanceView() {} @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new NonProductPerformanceView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.class, com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.Builder.class); + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.class, + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.Builder.class); } private int bitField0_; public static final int DATE_FIELD_NUMBER = 1; private com.google.type.Date date_; /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -64,6 +84,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ @java.lang.Override @@ -71,6 +92,8 @@ public boolean hasDate() { return date_ != null; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -78,6 +101,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ @java.lang.Override @@ -85,6 +109,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -101,12 +127,15 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { public static final int WEEK_FIELD_NUMBER = 2; private com.google.type.Date week_; /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return Whether the week field is set. */ @java.lang.Override @@ -114,12 +143,15 @@ public boolean hasWeek() { return week_ != null; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return The week. */ @java.lang.Override @@ -127,6 +159,8 @@ public com.google.type.Date getWeek() { return week_ == null ? com.google.type.Date.getDefaultInstance() : week_; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -142,12 +176,15 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { public static final int CLICKS_FIELD_NUMBER = 3; private long clicks_ = 0L; /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return Whether the clicks field is set. */ @java.lang.Override @@ -155,12 +192,15 @@ public boolean hasClicks() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return The clicks. */ @java.lang.Override @@ -171,12 +211,15 @@ public long getClicks() { public static final int IMPRESSIONS_FIELD_NUMBER = 4; private long impressions_ = 0L; /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return Whether the impressions field is set. */ @java.lang.Override @@ -184,12 +227,15 @@ public boolean hasImpressions() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return The impressions. */ @java.lang.Override @@ -200,6 +246,8 @@ public long getImpressions() { public static final int CLICK_THROUGH_RATE_FIELD_NUMBER = 5; private double clickThroughRate_ = 0D; /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -207,6 +255,7 @@ public long getImpressions() { ** *optional double click_through_rate = 5;
+ * * @return Whether the clickThroughRate field is set. */ @java.lang.Override @@ -214,6 +263,8 @@ public boolean hasClickThroughRate() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -221,6 +272,7 @@ public boolean hasClickThroughRate() { ** *optional double click_through_rate = 5;
+ * * @return The clickThroughRate. */ @java.lang.Override @@ -229,6 +281,7 @@ public double getClickThroughRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -240,8 +293,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (date_ != null) { output.writeMessage(1, getDate()); } @@ -267,24 +319,19 @@ public int getSerializedSize() { size = 0; if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(1, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(1, getDate()); } if (week_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getWeek()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getWeek()); } if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(3, clicks_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(3, clicks_); } if (((bitField0_ & 0x00000002) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(4, impressions_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(4, impressions_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(5, clickThroughRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(5, clickThroughRate_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -294,38 +341,34 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView other = (com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView) obj; + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView other = + (com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView) obj; if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (hasWeek() != other.hasWeek()) return false; if (hasWeek()) { - if (!getWeek() - .equals(other.getWeek())) return false; + if (!getWeek().equals(other.getWeek())) return false; } if (hasClicks() != other.hasClicks()) return false; if (hasClicks()) { - if (getClicks() - != other.getClicks()) return false; + if (getClicks() != other.getClicks()) return false; } if (hasImpressions() != other.hasImpressions()) return false; if (hasImpressions()) { - if (getImpressions() - != other.getImpressions()) return false; + if (getImpressions() != other.getImpressions()) return false; } if (hasClickThroughRate() != other.hasClickThroughRate()) return false; if (hasClickThroughRate()) { if (java.lang.Double.doubleToLongBits(getClickThroughRate()) - != java.lang.Double.doubleToLongBits( - other.getClickThroughRate())) return false; + != java.lang.Double.doubleToLongBits(other.getClickThroughRate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -348,18 +391,18 @@ public int hashCode() { } if (hasClicks()) { hash = (37 * hash) + CLICKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getClicks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getClicks()); } if (hasImpressions()) { hash = (37 * hash) + IMPRESSIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getImpressions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImpressions()); } if (hasClickThroughRate()) { hash = (37 * hash) + CLICK_THROUGH_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getClickThroughRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getClickThroughRate())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -367,98 +410,105 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView 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.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView 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.shopping.merchant.reports.v1beta.NonProductPerformanceView + 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.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `non_product_performance_view` table. * @@ -476,33 +526,33 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.NonProductPerformanceView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.NonProductPerformanceView) com.google.shopping.merchant.reports.v1beta.NonProductPerformanceViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.class, com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.Builder.class); + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.class, + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.Builder.class); } - // Construct using com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -524,14 +574,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_NonProductPerformanceView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + .getDefaultInstance(); } @java.lang.Override @@ -545,23 +597,23 @@ public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView bui @java.lang.Override public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView buildPartial() { - com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView result = new com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView result = + new com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { - result.date_ = dateBuilder_ == null - ? date_ - : dateBuilder_.build(); + result.date_ = dateBuilder_ == null ? date_ : dateBuilder_.build(); } if (((from_bitField0_ & 0x00000002) != 0)) { - result.week_ = weekBuilder_ == null - ? week_ - : weekBuilder_.build(); + result.week_ = weekBuilder_ == null ? week_ : weekBuilder_.build(); } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { @@ -583,46 +635,51 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.NonProduc public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.NonProductPerformanceView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView)other); + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView other) { - if (other == com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + .getDefaultInstance()) return this; if (other.hasDate()) { mergeDate(other.getDate()); } @@ -664,41 +721,43 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - input.readMessage( - getDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - input.readMessage( - getWeekFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 24: { - clicks_ = input.readInt64(); - bitField0_ |= 0x00000004; - break; - } // case 24 - case 32: { - impressions_ = input.readInt64(); - bitField0_ |= 0x00000008; - break; - } // case 32 - case 41: { - clickThroughRate_ = input.readDouble(); - bitField0_ |= 0x00000010; - break; - } // case 41 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + input.readMessage(getDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + input.readMessage(getWeekFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 24: + { + clicks_ = input.readInt64(); + bitField0_ |= 0x00000004; + break; + } // case 24 + case 32: + { + impressions_ = input.readInt64(); + bitField0_ |= 0x00000008; + break; + } // case 32 + case 41: + { + clickThroughRate_ = input.readDouble(); + bitField0_ |= 0x00000010; + break; + } // case 41 + 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) { @@ -708,12 +767,16 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private com.google.type.Date date_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateBuilder_; /** + * + * * * Date in the merchant timezone to which metrics apply. Segment. * @@ -721,12 +784,15 @@ public Builder mergeFrom( ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -734,6 +800,7 @@ public boolean hasDate() { ** *.google.type.Date date = 1;
+ * * @return The date. */ public com.google.type.Date getDate() { @@ -744,6 +811,8 @@ public com.google.type.Date getDate() { } } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -766,6 +835,8 @@ public Builder setDate(com.google.type.Date value) { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -774,8 +845,7 @@ public Builder setDate(com.google.type.Date value) { * *.google.type.Date date = 1;
*/ - public Builder setDate( - com.google.type.Date.Builder builderForValue) { + public Builder setDate(com.google.type.Date.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); } else { @@ -786,6 +856,8 @@ public Builder setDate( return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -796,9 +868,9 @@ public Builder setDate( */ public Builder mergeDate(com.google.type.Date value) { if (dateBuilder_ == null) { - if (((bitField0_ & 0x00000001) != 0) && - date_ != null && - date_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000001) != 0) + && date_ != null + && date_ != com.google.type.Date.getDefaultInstance()) { getDateBuilder().mergeFrom(value); } else { date_ = value; @@ -811,6 +883,8 @@ public Builder mergeDate(com.google.type.Date value) { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -830,6 +904,8 @@ public Builder clearDate() { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -844,6 +920,8 @@ public com.google.type.Date.Builder getDateBuilder() { return getDateFieldBuilder().getBuilder(); } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -856,11 +934,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { - return date_ == null ? - com.google.type.Date.getDefaultInstance() : date_; + return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -870,14 +949,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { *.google.type.Date date = 1;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { - dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getDate(), - getParentForChildren(), - isClean()); + dateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; @@ -885,26 +963,33 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { private com.google.type.Date week_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> weekBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + weekBuilder_; /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return Whether the week field is set. */ public boolean hasWeek() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return The week. */ public com.google.type.Date getWeek() { @@ -915,6 +1000,8 @@ public com.google.type.Date getWeek() { } } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -936,6 +1023,8 @@ public Builder setWeek(com.google.type.Date value) { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -943,8 +1032,7 @@ public Builder setWeek(com.google.type.Date value) { * *.google.type.Date week = 2;
*/ - public Builder setWeek( - com.google.type.Date.Builder builderForValue) { + public Builder setWeek(com.google.type.Date.Builder builderForValue) { if (weekBuilder_ == null) { week_ = builderForValue.build(); } else { @@ -955,6 +1043,8 @@ public Builder setWeek( return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -964,9 +1054,9 @@ public Builder setWeek( */ public Builder mergeWeek(com.google.type.Date value) { if (weekBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - week_ != null && - week_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && week_ != null + && week_ != com.google.type.Date.getDefaultInstance()) { getWeekBuilder().mergeFrom(value); } else { week_ = value; @@ -979,6 +1069,8 @@ public Builder mergeWeek(com.google.type.Date value) { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -997,6 +1089,8 @@ public Builder clearWeek() { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -1010,6 +1104,8 @@ public com.google.type.Date.Builder getWeekBuilder() { return getWeekFieldBuilder().getBuilder(); } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -1021,11 +1117,12 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { if (weekBuilder_ != null) { return weekBuilder_.getMessageOrBuilder(); } else { - return week_ == null ? - com.google.type.Date.getDefaultInstance() : week_; + return week_ == null ? com.google.type.Date.getDefaultInstance() : week_; } } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -1034,27 +1131,29 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { *.google.type.Date week = 2;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getWeekFieldBuilder() { if (weekBuilder_ == null) { - weekBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getWeek(), - getParentForChildren(), - isClean()); + weekBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getWeek(), getParentForChildren(), isClean()); week_ = null; } return weekBuilder_; } - private long clicks_ ; + private long clicks_; /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return Whether the clicks field is set. */ @java.lang.Override @@ -1062,12 +1161,15 @@ public boolean hasClicks() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return The clicks. */ @java.lang.Override @@ -1075,12 +1177,15 @@ public long getClicks() { return clicks_; } /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @param value The clicks to set. * @return This builder for chaining. */ @@ -1092,12 +1197,15 @@ public Builder setClicks(long value) { return this; } /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return This builder for chaining. */ public Builder clearClicks() { @@ -1107,14 +1215,17 @@ public Builder clearClicks() { return this; } - private long impressions_ ; + private long impressions_; /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return Whether the impressions field is set. */ @java.lang.Override @@ -1122,12 +1233,15 @@ public boolean hasImpressions() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return The impressions. */ @java.lang.Override @@ -1135,12 +1249,15 @@ public long getImpressions() { return impressions_; } /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @param value The impressions to set. * @return This builder for chaining. */ @@ -1152,12 +1269,15 @@ public Builder setImpressions(long value) { return this; } /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return This builder for chaining. */ public Builder clearImpressions() { @@ -1167,8 +1287,10 @@ public Builder clearImpressions() { return this; } - private double clickThroughRate_ ; + private double clickThroughRate_; /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -1176,6 +1298,7 @@ public Builder clearImpressions() { ** *optional double click_through_rate = 5;
+ * * @return Whether the clickThroughRate field is set. */ @java.lang.Override @@ -1183,6 +1306,8 @@ public boolean hasClickThroughRate() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -1190,6 +1315,7 @@ public boolean hasClickThroughRate() { ** *optional double click_through_rate = 5;
+ * * @return The clickThroughRate. */ @java.lang.Override @@ -1197,6 +1323,8 @@ public double getClickThroughRate() { return clickThroughRate_; } /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -1204,6 +1332,7 @@ public double getClickThroughRate() { ** *optional double click_through_rate = 5;
+ * * @param value The clickThroughRate to set. * @return This builder for chaining. */ @@ -1215,6 +1344,8 @@ public Builder setClickThroughRate(double value) { return this; } /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -1222,6 +1353,7 @@ public Builder setClickThroughRate(double value) { ** *optional double click_through_rate = 5;
+ * * @return This builder for chaining. */ public Builder clearClickThroughRate() { @@ -1230,9 +1362,9 @@ public Builder clearClickThroughRate() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -1242,41 +1374,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.NonProductPerformanceView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.NonProductPerformanceView) - private static final com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView(); } - public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public NonProductPerformanceView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public NonProductPerformanceView 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; @@ -1288,9 +1422,8 @@ public com.google.protobuf.Parser getParserForType() } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.NonProductPerformanceView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java similarity index 81% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java index 8bee6ad15fa7..fc4ef13891d4 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/NonProductPerformanceViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface NonProductPerformanceViewOrBuilder extends +public interface NonProductPerformanceViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.NonProductPerformanceView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Date in the merchant timezone to which metrics apply. Segment. * @@ -15,10 +33,13 @@ public interface NonProductPerformanceViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -26,10 +47,13 @@ public interface NonProductPerformanceViewOrBuilder extends ** *.google.type.Date date = 1;
+ * * @return The date. */ com.google.type.Date getDate(); /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -41,26 +65,34 @@ public interface NonProductPerformanceViewOrBuilder extends com.google.type.DateOrBuilder getDateOrBuilder(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return Whether the week field is set. */ boolean hasWeek(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 2;
+ * * @return The week. */ com.google.type.Date getWeek(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -71,48 +103,62 @@ public interface NonProductPerformanceViewOrBuilder extends com.google.type.DateOrBuilder getWeekOrBuilder(); /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return Whether the clicks field is set. */ boolean hasClicks(); /** + * + * ** Number of clicks on images and website links leading to your non-product * website pages. Metric. ** *optional int64 clicks = 3;
+ * * @return The clicks. */ long getClicks(); /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return Whether the impressions field is set. */ boolean hasImpressions(); /** + * + * ** Number of times images and website links leading to your non-product * website pages were shown. Metric. ** *optional int64 impressions = 4;
+ * * @return The impressions. */ long getImpressions(); /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -120,10 +166,13 @@ public interface NonProductPerformanceViewOrBuilder extends ** *optional double click_through_rate = 5;
+ * * @return Whether the clickThroughRate field is set. */ boolean hasClickThroughRate(); /** + * + * ** Click-through rate - the number of clicks (`clicks`) divided by the number * of impressions (`impressions`) of images and website links leading to your @@ -131,6 +180,7 @@ public interface NonProductPerformanceViewOrBuilder extends ** *optional double click_through_rate = 5;
+ * * @return The clickThroughRate. */ double getClickThroughRate(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java similarity index 75% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java index 146fec8c8021..6b03875f18ea 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `price_competitiveness_product_view` table. * @@ -16,15 +33,17 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView} */ -public final class PriceCompetitivenessProductView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PriceCompetitivenessProductView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) PriceCompetitivenessProductViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PriceCompetitivenessProductView.newBuilder() to construct. - private PriceCompetitivenessProductView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { + private PriceCompetitivenessProductView( + com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private PriceCompetitivenessProductView() { reportCountryCode_ = ""; id_ = ""; @@ -45,29 +64,34 @@ private PriceCompetitivenessProductView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PriceCompetitivenessProductView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.class, com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.Builder.class); + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.class, + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.Builder + .class); } private int bitField0_; public static final int REPORT_COUNTRY_CODE_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object reportCountryCode_ = ""; /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -75,6 +99,7 @@ protected java.lang.Object newInstance( ** *optional string report_country_code = 1;
+ * * @return Whether the reportCountryCode field is set. */ @java.lang.Override @@ -82,6 +107,8 @@ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -89,6 +116,7 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @return The reportCountryCode. */ @java.lang.Override @@ -97,14 +125,15 @@ public java.lang.String getReportCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; } } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -112,16 +141,15 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @return The bytes for reportCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -130,9 +158,12 @@ public java.lang.String getReportCountryCode() { } public static final int ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -142,6 +173,7 @@ public java.lang.String getReportCountryCode() { ** *optional string id = 2;
+ * * @return Whether the id field is set. */ @java.lang.Override @@ -149,6 +181,8 @@ public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -158,6 +192,7 @@ public boolean hasId() { ** *optional string id = 2;
+ * * @return The id. */ @java.lang.Override @@ -166,14 +201,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -183,16 +219,15 @@ public java.lang.String getId() { ** *optional string id = 2;
+ * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -201,14 +236,18 @@ public java.lang.String getId() { } public static final int OFFER_ID_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return Whether the offerId field is set. */ @java.lang.Override @@ -216,11 +255,14 @@ public boolean hasOfferId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The offerId. */ @java.lang.Override @@ -229,29 +271,29 @@ public java.lang.String getOfferId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The bytes for offerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -260,14 +302,18 @@ public java.lang.String getOfferId() { } public static final int TITLE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return Whether the title field is set. */ @java.lang.Override @@ -275,11 +321,14 @@ public boolean hasTitle() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The title. */ @java.lang.Override @@ -288,29 +337,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -319,14 +368,18 @@ public java.lang.String getTitle() { } public static final int BRAND_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return Whether the brand field is set. */ @java.lang.Override @@ -334,11 +387,14 @@ public boolean hasBrand() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The brand. */ @java.lang.Override @@ -347,29 +403,29 @@ public java.lang.String getBrand() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; } } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The bytes for brand. */ @java.lang.Override - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -378,15 +434,19 @@ public java.lang.String getBrand() { } public static final int CATEGORY_L1_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return Whether the categoryL1 field is set. */ @java.lang.Override @@ -394,12 +454,15 @@ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The categoryL1. */ @java.lang.Override @@ -408,30 +471,30 @@ public java.lang.String getCategoryL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The bytes for categoryL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -440,15 +503,19 @@ public java.lang.String getCategoryL1() { } public static final int CATEGORY_L2_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return Whether the categoryL2 field is set. */ @java.lang.Override @@ -456,12 +523,15 @@ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The categoryL2. */ @java.lang.Override @@ -470,30 +540,30 @@ public java.lang.String getCategoryL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The bytes for categoryL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -502,15 +572,19 @@ public java.lang.String getCategoryL2() { } public static final int CATEGORY_L3_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return Whether the categoryL3 field is set. */ @java.lang.Override @@ -518,12 +592,15 @@ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The categoryL3. */ @java.lang.Override @@ -532,30 +609,30 @@ public java.lang.String getCategoryL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The bytes for categoryL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -564,15 +641,19 @@ public java.lang.String getCategoryL3() { } public static final int CATEGORY_L4_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return Whether the categoryL4 field is set. */ @java.lang.Override @@ -580,12 +661,15 @@ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The categoryL4. */ @java.lang.Override @@ -594,30 +678,30 @@ public java.lang.String getCategoryL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The bytes for categoryL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -626,15 +710,19 @@ public java.lang.String getCategoryL4() { } public static final int CATEGORY_L5_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return Whether the categoryL5 field is set. */ @java.lang.Override @@ -642,12 +730,15 @@ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The categoryL5. */ @java.lang.Override @@ -656,30 +747,30 @@ public java.lang.String getCategoryL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The bytes for categoryL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -688,15 +779,19 @@ public java.lang.String getCategoryL5() { } public static final int PRODUCT_TYPE_L1_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL1_ = ""; /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return Whether the productTypeL1 field is set. */ @java.lang.Override @@ -704,12 +799,15 @@ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The productTypeL1. */ @java.lang.Override @@ -718,30 +816,30 @@ public java.lang.String getProductTypeL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The bytes for productTypeL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -750,15 +848,19 @@ public java.lang.String getProductTypeL1() { } public static final int PRODUCT_TYPE_L2_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL2_ = ""; /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return Whether the productTypeL2 field is set. */ @java.lang.Override @@ -766,12 +868,15 @@ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The productTypeL2. */ @java.lang.Override @@ -780,30 +885,30 @@ public java.lang.String getProductTypeL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The bytes for productTypeL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -812,15 +917,19 @@ public java.lang.String getProductTypeL2() { } public static final int PRODUCT_TYPE_L3_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL3_ = ""; /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return Whether the productTypeL3 field is set. */ @java.lang.Override @@ -828,12 +937,15 @@ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The productTypeL3. */ @java.lang.Override @@ -842,30 +954,30 @@ public java.lang.String getProductTypeL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The bytes for productTypeL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -874,15 +986,19 @@ public java.lang.String getProductTypeL3() { } public static final int PRODUCT_TYPE_L4_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL4_ = ""; /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return Whether the productTypeL4 field is set. */ @java.lang.Override @@ -890,12 +1006,15 @@ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The productTypeL4. */ @java.lang.Override @@ -904,30 +1023,30 @@ public java.lang.String getProductTypeL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The bytes for productTypeL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -936,15 +1055,19 @@ public java.lang.String getProductTypeL4() { } public static final int PRODUCT_TYPE_L5_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL5_ = ""; /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return Whether the productTypeL5 field is set. */ @java.lang.Override @@ -952,12 +1075,15 @@ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The productTypeL5. */ @java.lang.Override @@ -966,30 +1092,30 @@ public java.lang.String getProductTypeL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The bytes for productTypeL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -1000,11 +1126,14 @@ public java.lang.String getProductTypeL5() { public static final int PRICE_FIELD_NUMBER = 16; private com.google.shopping.type.Price price_; /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return Whether the price field is set. */ @java.lang.Override @@ -1012,11 +1141,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return The price. */ @java.lang.Override @@ -1024,6 +1156,8 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** + * + * ** Current price of the product. *@@ -1038,12 +1172,15 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int BENCHMARK_PRICE_FIELD_NUMBER = 17; private com.google.shopping.type.Price benchmarkPrice_; /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return Whether the benchmarkPrice field is set. */ @java.lang.Override @@ -1051,19 +1188,26 @@ public boolean hasBenchmarkPrice() { return benchmarkPrice_ != null; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return The benchmarkPrice. */ @java.lang.Override public com.google.shopping.type.Price getBenchmarkPrice() { - return benchmarkPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : benchmarkPrice_; + return benchmarkPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : benchmarkPrice_; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -1073,10 +1217,13 @@ public com.google.shopping.type.Price getBenchmarkPrice() { */ @java.lang.Override public com.google.shopping.type.PriceOrBuilder getBenchmarkPriceOrBuilder() { - return benchmarkPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : benchmarkPrice_; + return benchmarkPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : benchmarkPrice_; } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1088,8 +1235,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, reportCountryCode_); } @@ -1196,12 +1342,10 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(15, productTypeL5_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getPrice()); } if (benchmarkPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(17, getBenchmarkPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(17, getBenchmarkPrice()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1211,97 +1355,82 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } - if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView)) { + if (!(obj + instanceof com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView other = (com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) obj; + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView other = + (com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) obj; if (hasReportCountryCode() != other.hasReportCountryCode()) return false; if (hasReportCountryCode()) { - if (!getReportCountryCode() - .equals(other.getReportCountryCode())) return false; + if (!getReportCountryCode().equals(other.getReportCountryCode())) return false; } if (hasId() != other.hasId()) return false; if (hasId()) { - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; } if (hasOfferId() != other.hasOfferId()) return false; if (hasOfferId()) { - if (!getOfferId() - .equals(other.getOfferId())) return false; + if (!getOfferId().equals(other.getOfferId())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { - if (!getTitle() - .equals(other.getTitle())) return false; + if (!getTitle().equals(other.getTitle())) return false; } if (hasBrand() != other.hasBrand()) return false; if (hasBrand()) { - if (!getBrand() - .equals(other.getBrand())) return false; + if (!getBrand().equals(other.getBrand())) return false; } if (hasCategoryL1() != other.hasCategoryL1()) return false; if (hasCategoryL1()) { - if (!getCategoryL1() - .equals(other.getCategoryL1())) return false; + if (!getCategoryL1().equals(other.getCategoryL1())) return false; } if (hasCategoryL2() != other.hasCategoryL2()) return false; if (hasCategoryL2()) { - if (!getCategoryL2() - .equals(other.getCategoryL2())) return false; + if (!getCategoryL2().equals(other.getCategoryL2())) return false; } if (hasCategoryL3() != other.hasCategoryL3()) return false; if (hasCategoryL3()) { - if (!getCategoryL3() - .equals(other.getCategoryL3())) return false; + if (!getCategoryL3().equals(other.getCategoryL3())) return false; } if (hasCategoryL4() != other.hasCategoryL4()) return false; if (hasCategoryL4()) { - if (!getCategoryL4() - .equals(other.getCategoryL4())) return false; + if (!getCategoryL4().equals(other.getCategoryL4())) return false; } if (hasCategoryL5() != other.hasCategoryL5()) return false; if (hasCategoryL5()) { - if (!getCategoryL5() - .equals(other.getCategoryL5())) return false; + if (!getCategoryL5().equals(other.getCategoryL5())) return false; } if (hasProductTypeL1() != other.hasProductTypeL1()) return false; if (hasProductTypeL1()) { - if (!getProductTypeL1() - .equals(other.getProductTypeL1())) return false; + if (!getProductTypeL1().equals(other.getProductTypeL1())) return false; } if (hasProductTypeL2() != other.hasProductTypeL2()) return false; if (hasProductTypeL2()) { - if (!getProductTypeL2() - .equals(other.getProductTypeL2())) return false; + if (!getProductTypeL2().equals(other.getProductTypeL2())) return false; } if (hasProductTypeL3() != other.hasProductTypeL3()) return false; if (hasProductTypeL3()) { - if (!getProductTypeL3() - .equals(other.getProductTypeL3())) return false; + if (!getProductTypeL3().equals(other.getProductTypeL3())) return false; } if (hasProductTypeL4() != other.hasProductTypeL4()) return false; if (hasProductTypeL4()) { - if (!getProductTypeL4() - .equals(other.getProductTypeL4())) return false; + if (!getProductTypeL4().equals(other.getProductTypeL4())) return false; } if (hasProductTypeL5() != other.hasProductTypeL5()) return false; if (hasProductTypeL5()) { - if (!getProductTypeL5() - .equals(other.getProductTypeL5())) return false; + if (!getProductTypeL5().equals(other.getProductTypeL5())) return false; } if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice() - .equals(other.getPrice())) return false; + if (!getPrice().equals(other.getPrice())) return false; } if (hasBenchmarkPrice() != other.hasBenchmarkPrice()) return false; if (hasBenchmarkPrice()) { - if (!getBenchmarkPrice() - .equals(other.getBenchmarkPrice())) return false; + if (!getBenchmarkPrice().equals(other.getBenchmarkPrice())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1387,99 +1516,111 @@ public int hashCode() { return hash; } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(java.nio.ByteBuffer data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom( + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - com.google.protobuf.ByteString data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(com.google.protobuf.ByteString data) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - com.google.protobuf.ByteString data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) + throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView parseFrom( - com.google.protobuf.CodedInputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + 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 Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `price_competitiveness_product_view` table. * @@ -1492,33 +1633,34 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.class, com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.Builder.class); + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.class, + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.Builder + .class); } - // Construct using com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1552,19 +1694,22 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceCompetitivenessProductView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + .getDefaultInstance(); } @java.lang.Override public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView build() { - com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result = buildPartial(); + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result = + buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } @@ -1572,14 +1717,19 @@ public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductVi } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView buildPartial() { - com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result = new com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView(this); - if (bitField0_ != 0) { buildPartial0(result); } + public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + buildPartial() { + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result = + new com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -1643,14 +1793,11 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceComp to_bitField0_ |= 0x00004000; } if (((from_bitField0_ & 0x00008000) != 0)) { - result.price_ = priceBuilder_ == null - ? price_ - : priceBuilder_.build(); + result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { - result.benchmarkPrice_ = benchmarkPriceBuilder_ == null - ? benchmarkPrice_ - : benchmarkPriceBuilder_.build(); + result.benchmarkPrice_ = + benchmarkPriceBuilder_ == null ? benchmarkPrice_ : benchmarkPriceBuilder_.build(); } result.bitField0_ |= to_bitField0_; } @@ -1659,46 +1806,52 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceComp public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView)other); + if (other + instanceof com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) { + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView other) { - if (other == com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + .getDefaultInstance()) return this; if (other.hasReportCountryCode()) { reportCountryCode_ = other.reportCountryCode_; bitField0_ |= 0x00000001; @@ -1806,101 +1959,115 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - reportCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - offerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - brand_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - categoryL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - categoryL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - categoryL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - categoryL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - categoryL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - productTypeL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - productTypeL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - productTypeL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - productTypeL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - productTypeL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - input.readMessage( - getPriceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 130 - case 138: { - input.readMessage( - getBenchmarkPriceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00010000; - break; - } // case 138 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + reportCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + offerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + brand_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + categoryL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + categoryL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + categoryL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + categoryL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + categoryL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + productTypeL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + productTypeL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + productTypeL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: + { + productTypeL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: + { + productTypeL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: + { + input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 130 + case 138: + { + input.readMessage(getBenchmarkPriceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00010000; + break; + } // case 138 + 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) { @@ -1910,10 +2077,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object reportCountryCode_ = ""; /** + * + * * * Country of the price benchmark. Represented in the ISO 3166 format. * @@ -1921,12 +2091,15 @@ public Builder mergeFrom( ** *optional string report_country_code = 1;
+ * * @return Whether the reportCountryCode field is set. */ public boolean hasReportCountryCode() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -1934,13 +2107,13 @@ public boolean hasReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @return The reportCountryCode. */ public java.lang.String getReportCountryCode() { java.lang.Object ref = reportCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); reportCountryCode_ = s; return s; @@ -1949,6 +2122,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -1956,15 +2131,14 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @return The bytes for reportCountryCode. */ - public com.google.protobuf.ByteString - getReportCountryCodeBytes() { + public com.google.protobuf.ByteString getReportCountryCodeBytes() { java.lang.Object ref = reportCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); reportCountryCode_ = b; return b; } else { @@ -1972,6 +2146,8 @@ public java.lang.String getReportCountryCode() { } } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -1979,18 +2155,22 @@ public java.lang.String getReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @param value The reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } reportCountryCode_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -1998,6 +2178,7 @@ public Builder setReportCountryCode( ** *optional string report_country_code = 1;
+ * * @return This builder for chaining. */ public Builder clearReportCountryCode() { @@ -2007,6 +2188,8 @@ public Builder clearReportCountryCode() { return this; } /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -2014,12 +2197,14 @@ public Builder clearReportCountryCode() { ** *optional string report_country_code = 1;
+ * * @param value The bytes for reportCountryCode to set. * @return This builder for chaining. */ - public Builder setReportCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setReportCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); reportCountryCode_ = value; bitField0_ |= 0x00000001; @@ -2029,6 +2214,8 @@ public Builder setReportCountryCodeBytes( private java.lang.Object id_ = ""; /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2038,12 +2225,15 @@ public Builder setReportCountryCodeBytes( ** *optional string id = 2;
+ * * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2053,13 +2243,13 @@ public boolean hasId() { ** *optional string id = 2;
+ * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2068,6 +2258,8 @@ public java.lang.String getId() { } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2077,15 +2269,14 @@ public java.lang.String getId() { ** *optional string id = 2;
+ * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2093,6 +2284,8 @@ public java.lang.String getId() { } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2102,18 +2295,22 @@ public java.lang.String getId() { ** *optional string id = 2;
+ * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2123,6 +2320,7 @@ public Builder setId( ** *optional string id = 2;
+ * * @return This builder for chaining. */ public Builder clearId() { @@ -2132,6 +2330,8 @@ public Builder clearId() { return this; } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2141,12 +2341,14 @@ public Builder clearId() { ** *optional string id = 2;
+ * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000002; @@ -2156,29 +2358,34 @@ public Builder setIdBytes( private java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return Whether the offerId field is set. */ public boolean hasOfferId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The offerId. */ public java.lang.String getOfferId() { java.lang.Object ref = offerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; @@ -2187,20 +2394,21 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The bytes for offerId. */ - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -2208,28 +2416,35 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @param value The offerId to set. * @return This builder for chaining. */ - public Builder setOfferId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } offerId_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return This builder for chaining. */ public Builder clearOfferId() { @@ -2239,17 +2454,21 @@ public Builder clearOfferId() { return this; } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @param value The bytes for offerId to set. * @return This builder for chaining. */ - public Builder setOfferIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); offerId_ = value; bitField0_ |= 0x00000004; @@ -2259,29 +2478,34 @@ public Builder setOfferIdBytes( private java.lang.Object title_ = ""; /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -2290,20 +2514,21 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -2311,28 +2536,35 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } title_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return This builder for chaining. */ public Builder clearTitle() { @@ -2342,17 +2574,21 @@ public Builder clearTitle() { return this; } /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000008; @@ -2362,29 +2598,34 @@ public Builder setTitleBytes( private java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return Whether the brand field is set. */ public boolean hasBrand() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The brand. */ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; @@ -2393,20 +2634,21 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The bytes for brand. */ - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -2414,28 +2656,35 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @param value The brand to set. * @return This builder for chaining. */ - public Builder setBrand( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } brand_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return This builder for chaining. */ public Builder clearBrand() { @@ -2445,17 +2694,21 @@ public Builder clearBrand() { return this; } /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); brand_ = value; bitField0_ |= 0x00000010; @@ -2465,31 +2718,36 @@ public Builder setBrandBytes( private java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return Whether the categoryL1 field is set. */ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The categoryL1. */ public java.lang.String getCategoryL1() { java.lang.Object ref = categoryL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; @@ -2498,21 +2756,22 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The bytes for categoryL1. */ - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -2520,30 +2779,37 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @param value The categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL1_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return This builder for chaining. */ public Builder clearCategoryL1() { @@ -2553,18 +2819,22 @@ public Builder clearCategoryL1() { return this; } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @param value The bytes for categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL1_ = value; bitField0_ |= 0x00000020; @@ -2574,31 +2844,36 @@ public Builder setCategoryL1Bytes( private java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return Whether the categoryL2 field is set. */ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The categoryL2. */ public java.lang.String getCategoryL2() { java.lang.Object ref = categoryL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; @@ -2607,21 +2882,22 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The bytes for categoryL2. */ - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -2629,30 +2905,37 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @param value The categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL2_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return This builder for chaining. */ public Builder clearCategoryL2() { @@ -2662,18 +2945,22 @@ public Builder clearCategoryL2() { return this; } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @param value The bytes for categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL2_ = value; bitField0_ |= 0x00000040; @@ -2683,31 +2970,36 @@ public Builder setCategoryL2Bytes( private java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return Whether the categoryL3 field is set. */ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The categoryL3. */ public java.lang.String getCategoryL3() { java.lang.Object ref = categoryL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; @@ -2716,21 +3008,22 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The bytes for categoryL3. */ - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -2738,30 +3031,37 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @param value The categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL3_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return This builder for chaining. */ public Builder clearCategoryL3() { @@ -2771,18 +3071,22 @@ public Builder clearCategoryL3() { return this; } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @param value The bytes for categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL3_ = value; bitField0_ |= 0x00000080; @@ -2792,31 +3096,36 @@ public Builder setCategoryL3Bytes( private java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return Whether the categoryL4 field is set. */ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The categoryL4. */ public java.lang.String getCategoryL4() { java.lang.Object ref = categoryL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; @@ -2825,21 +3134,22 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The bytes for categoryL4. */ - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -2847,30 +3157,37 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @param value The categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL4_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return This builder for chaining. */ public Builder clearCategoryL4() { @@ -2880,18 +3197,22 @@ public Builder clearCategoryL4() { return this; } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @param value The bytes for categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL4_ = value; bitField0_ |= 0x00000100; @@ -2901,31 +3222,36 @@ public Builder setCategoryL4Bytes( private java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return Whether the categoryL5 field is set. */ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The categoryL5. */ public java.lang.String getCategoryL5() { java.lang.Object ref = categoryL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; @@ -2934,21 +3260,22 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The bytes for categoryL5. */ - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -2956,30 +3283,37 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @param value The categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL5_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return This builder for chaining. */ public Builder clearCategoryL5() { @@ -2989,18 +3323,22 @@ public Builder clearCategoryL5() { return this; } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @param value The bytes for categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL5_ = value; bitField0_ |= 0x00000200; @@ -3010,31 +3348,36 @@ public Builder setCategoryL5Bytes( private java.lang.Object productTypeL1_ = ""; /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return Whether the productTypeL1 field is set. */ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The productTypeL1. */ public java.lang.String getProductTypeL1() { java.lang.Object ref = productTypeL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; @@ -3043,21 +3386,22 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The bytes for productTypeL1. */ - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -3065,30 +3409,37 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @param value The productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL1_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL1() { @@ -3098,18 +3449,22 @@ public Builder clearProductTypeL1() { return this; } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @param value The bytes for productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL1_ = value; bitField0_ |= 0x00000400; @@ -3119,31 +3474,36 @@ public Builder setProductTypeL1Bytes( private java.lang.Object productTypeL2_ = ""; /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return Whether the productTypeL2 field is set. */ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The productTypeL2. */ public java.lang.String getProductTypeL2() { java.lang.Object ref = productTypeL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; @@ -3152,21 +3512,22 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The bytes for productTypeL2. */ - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -3174,30 +3535,37 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @param value The productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL2_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL2() { @@ -3207,18 +3575,22 @@ public Builder clearProductTypeL2() { return this; } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @param value The bytes for productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL2_ = value; bitField0_ |= 0x00000800; @@ -3228,31 +3600,36 @@ public Builder setProductTypeL2Bytes( private java.lang.Object productTypeL3_ = ""; /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return Whether the productTypeL3 field is set. */ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The productTypeL3. */ public java.lang.String getProductTypeL3() { java.lang.Object ref = productTypeL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; @@ -3261,21 +3638,22 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The bytes for productTypeL3. */ - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -3283,30 +3661,37 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @param value The productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL3_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL3() { @@ -3316,18 +3701,22 @@ public Builder clearProductTypeL3() { return this; } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @param value The bytes for productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL3_ = value; bitField0_ |= 0x00001000; @@ -3337,31 +3726,36 @@ public Builder setProductTypeL3Bytes( private java.lang.Object productTypeL4_ = ""; /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return Whether the productTypeL4 field is set. */ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The productTypeL4. */ public java.lang.String getProductTypeL4() { java.lang.Object ref = productTypeL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; @@ -3370,21 +3764,22 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The bytes for productTypeL4. */ - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -3392,30 +3787,37 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @param value The productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL4_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL4() { @@ -3425,18 +3827,22 @@ public Builder clearProductTypeL4() { return this; } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @param value The bytes for productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL4_ = value; bitField0_ |= 0x00002000; @@ -3446,31 +3852,36 @@ public Builder setProductTypeL4Bytes( private java.lang.Object productTypeL5_ = ""; /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return Whether the productTypeL5 field is set. */ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The productTypeL5. */ public java.lang.String getProductTypeL5() { java.lang.Object ref = productTypeL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; @@ -3479,21 +3890,22 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The bytes for productTypeL5. */ - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -3501,30 +3913,37 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @param value The productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL5_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL5() { @@ -3534,18 +3953,22 @@ public Builder clearProductTypeL5() { return this; } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @param value The bytes for productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL5_ = value; bitField0_ |= 0x00004000; @@ -3555,24 +3978,33 @@ public Builder setProductTypeL5Bytes( private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + priceBuilder_; /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -3583,6 +4015,8 @@ public com.google.shopping.type.Price getPrice() { } } /** + * + * ** Current price of the product. *@@ -3603,14 +4037,15 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
*/ - public Builder setPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -3621,6 +4056,8 @@ public Builder setPrice( return this; } /** + * + * ** Current price of the product. *@@ -3629,9 +4066,9 @@ public Builder setPrice( */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - price_ != null && - price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && price_ != null + && price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -3644,6 +4081,8 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Current price of the product. *@@ -3661,6 +4100,8 @@ public Builder clearPrice() { return this; } /** + * + * ** Current price of the product. *@@ -3673,6 +4114,8 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** + * + * ** Current price of the product. *@@ -3683,11 +4126,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** + * + * ** Current price of the product. *@@ -3695,14 +4139,17 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { *.google.shopping.type.Price price = 16;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; @@ -3710,36 +4157,49 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price benchmarkPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> benchmarkPriceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + benchmarkPriceBuilder_; /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return Whether the benchmarkPrice field is set. */ public boolean hasBenchmarkPrice() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return The benchmarkPrice. */ public com.google.shopping.type.Price getBenchmarkPrice() { if (benchmarkPriceBuilder_ == null) { - return benchmarkPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : benchmarkPrice_; + return benchmarkPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : benchmarkPrice_; } else { return benchmarkPriceBuilder_.getMessage(); } } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3761,6 +4221,8 @@ public Builder setBenchmarkPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3768,8 +4230,7 @@ public Builder setBenchmarkPrice(com.google.shopping.type.Price value) { * *.google.shopping.type.Price benchmark_price = 17;
*/ - public Builder setBenchmarkPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setBenchmarkPrice(com.google.shopping.type.Price.Builder builderForValue) { if (benchmarkPriceBuilder_ == null) { benchmarkPrice_ = builderForValue.build(); } else { @@ -3780,6 +4241,8 @@ public Builder setBenchmarkPrice( return this; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3789,9 +4252,9 @@ public Builder setBenchmarkPrice( */ public Builder mergeBenchmarkPrice(com.google.shopping.type.Price value) { if (benchmarkPriceBuilder_ == null) { - if (((bitField0_ & 0x00010000) != 0) && - benchmarkPrice_ != null && - benchmarkPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00010000) != 0) + && benchmarkPrice_ != null + && benchmarkPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { getBenchmarkPriceBuilder().mergeFrom(value); } else { benchmarkPrice_ = value; @@ -3804,6 +4267,8 @@ public Builder mergeBenchmarkPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3822,6 +4287,8 @@ public Builder clearBenchmarkPrice() { return this; } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3835,6 +4302,8 @@ public com.google.shopping.type.Price.Builder getBenchmarkPriceBuilder() { return getBenchmarkPriceFieldBuilder().getBuilder(); } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3846,11 +4315,14 @@ public com.google.shopping.type.PriceOrBuilder getBenchmarkPriceOrBuilder() { if (benchmarkPriceBuilder_ != null) { return benchmarkPriceBuilder_.getMessageOrBuilder(); } else { - return benchmarkPrice_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : benchmarkPrice_; + return benchmarkPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : benchmarkPrice_; } } /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. @@ -3859,21 +4331,24 @@ public com.google.shopping.type.PriceOrBuilder getBenchmarkPriceOrBuilder() { *.google.shopping.type.Price benchmark_price = 17;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getBenchmarkPriceFieldBuilder() { if (benchmarkPriceBuilder_ == null) { - benchmarkPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getBenchmarkPrice(), - getParentForChildren(), - isClean()); + benchmarkPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getBenchmarkPrice(), getParentForChildren(), isClean()); benchmarkPrice_ = null; } return benchmarkPriceBuilder_; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -3883,41 +4358,44 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) - private static final com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + DEFAULT_INSTANCE; + static { - DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView(); + DEFAULT_INSTANCE = + new com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView(); } - public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public PriceCompetitivenessProductView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public PriceCompetitivenessProductView 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; @@ -3929,9 +4407,8 @@ public com.google.protobuf.Parser getParserForT } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java similarity index 85% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java index 81b98bf698f2..a88460ed7654 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceCompetitivenessProductViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface PriceCompetitivenessProductViewOrBuilder extends +public interface PriceCompetitivenessProductViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.PriceCompetitivenessProductView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Country of the price benchmark. Represented in the ISO 3166 format. * @@ -15,10 +33,13 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string report_country_code = 1;
+ * * @return Whether the reportCountryCode field is set. */ boolean hasReportCountryCode(); /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -26,10 +47,13 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string report_country_code = 1;
+ * * @return The reportCountryCode. */ java.lang.String getReportCountryCode(); /** + * + * ** Country of the price benchmark. Represented in the ISO 3166 format. * @@ -37,12 +61,14 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string report_country_code = 1;
+ * * @return The bytes for reportCountryCode. */ - com.google.protobuf.ByteString - getReportCountryCodeBytes(); + com.google.protobuf.ByteString getReportCountryCodeBytes(); /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -52,10 +78,13 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string id = 2;
+ * * @return Whether the id field is set. */ boolean hasId(); /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -65,10 +94,13 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string id = 2;
+ * * @return The id. */ java.lang.String getId(); /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -78,437 +110,549 @@ public interface PriceCompetitivenessProductViewOrBuilder extends ** *optional string id = 2;
+ * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return Whether the offerId field is set. */ boolean hasOfferId(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The offerId. */ java.lang.String getOfferId(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 3;
+ * * @return The bytes for offerId. */ - com.google.protobuf.ByteString - getOfferIdBytes(); + com.google.protobuf.ByteString getOfferIdBytes(); /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return Whether the title field is set. */ boolean hasTitle(); /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The title. */ java.lang.String getTitle(); /** + * + * ** Title of the product. ** *optional string title = 4;
+ * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return Whether the brand field is set. */ boolean hasBrand(); /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The brand. */ java.lang.String getBrand(); /** + * + * ** Brand of the product. ** *optional string brand = 5;
+ * * @return The bytes for brand. */ - com.google.protobuf.ByteString - getBrandBytes(); + com.google.protobuf.ByteString getBrandBytes(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return Whether the categoryL1 field is set. */ boolean hasCategoryL1(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The categoryL1. */ java.lang.String getCategoryL1(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 6;
+ * * @return The bytes for categoryL1. */ - com.google.protobuf.ByteString - getCategoryL1Bytes(); + com.google.protobuf.ByteString getCategoryL1Bytes(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return Whether the categoryL2 field is set. */ boolean hasCategoryL2(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The categoryL2. */ java.lang.String getCategoryL2(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 7;
+ * * @return The bytes for categoryL2. */ - com.google.protobuf.ByteString - getCategoryL2Bytes(); + com.google.protobuf.ByteString getCategoryL2Bytes(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return Whether the categoryL3 field is set. */ boolean hasCategoryL3(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The categoryL3. */ java.lang.String getCategoryL3(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 8;
+ * * @return The bytes for categoryL3. */ - com.google.protobuf.ByteString - getCategoryL3Bytes(); + com.google.protobuf.ByteString getCategoryL3Bytes(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return Whether the categoryL4 field is set. */ boolean hasCategoryL4(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The categoryL4. */ java.lang.String getCategoryL4(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 9;
+ * * @return The bytes for categoryL4. */ - com.google.protobuf.ByteString - getCategoryL4Bytes(); + com.google.protobuf.ByteString getCategoryL4Bytes(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return Whether the categoryL5 field is set. */ boolean hasCategoryL5(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The categoryL5. */ java.lang.String getCategoryL5(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 10;
+ * * @return The bytes for categoryL5. */ - com.google.protobuf.ByteString - getCategoryL5Bytes(); + com.google.protobuf.ByteString getCategoryL5Bytes(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return Whether the productTypeL1 field is set. */ boolean hasProductTypeL1(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The productTypeL1. */ java.lang.String getProductTypeL1(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 11;
+ * * @return The bytes for productTypeL1. */ - com.google.protobuf.ByteString - getProductTypeL1Bytes(); + com.google.protobuf.ByteString getProductTypeL1Bytes(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return Whether the productTypeL2 field is set. */ boolean hasProductTypeL2(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The productTypeL2. */ java.lang.String getProductTypeL2(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 12;
+ * * @return The bytes for productTypeL2. */ - com.google.protobuf.ByteString - getProductTypeL2Bytes(); + com.google.protobuf.ByteString getProductTypeL2Bytes(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return Whether the productTypeL3 field is set. */ boolean hasProductTypeL3(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The productTypeL3. */ java.lang.String getProductTypeL3(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 13;
+ * * @return The bytes for productTypeL3. */ - com.google.protobuf.ByteString - getProductTypeL3Bytes(); + com.google.protobuf.ByteString getProductTypeL3Bytes(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return Whether the productTypeL4 field is set. */ boolean hasProductTypeL4(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The productTypeL4. */ java.lang.String getProductTypeL4(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 14;
+ * * @return The bytes for productTypeL4. */ - com.google.protobuf.ByteString - getProductTypeL4Bytes(); + com.google.protobuf.ByteString getProductTypeL4Bytes(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return Whether the productTypeL5 field is set. */ boolean hasProductTypeL5(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The productTypeL5. */ java.lang.String getProductTypeL5(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 15;
+ * * @return The bytes for productTypeL5. */ - com.google.protobuf.ByteString - getProductTypeL5Bytes(); + com.google.protobuf.ByteString getProductTypeL5Bytes(); /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 16;
+ * * @return The price. */ com.google.shopping.type.Price getPrice(); /** + * + * ** Current price of the product. *@@ -518,26 +662,34 @@ public interface PriceCompetitivenessProductViewOrBuilder extends com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return Whether the benchmarkPrice field is set. */ boolean hasBenchmarkPrice(); /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. ** *.google.shopping.type.Price benchmark_price = 17;
+ * * @return The benchmarkPrice. */ com.google.shopping.type.Price getBenchmarkPrice(); /** + * + * ** Latest available price benchmark for the product's catalog in the benchmark * country. diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java similarity index 77% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java index a6c34b062547..d2ca54a81f7d 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `price_insights_product_view` table. * @@ -16,15 +33,16 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.PriceInsightsProductView} */ -public final class PriceInsightsProductView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class PriceInsightsProductView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.PriceInsightsProductView) PriceInsightsProductViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use PriceInsightsProductView.newBuilder() to construct. private PriceInsightsProductView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private PriceInsightsProductView() { id_ = ""; offerId_ = ""; @@ -44,29 +62,33 @@ private PriceInsightsProductView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new PriceInsightsProductView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.class, com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.Builder.class); + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.class, + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.Builder.class); } private int bitField0_; public static final int ID_FIELD_NUMBER = 1; + @SuppressWarnings("serial") private volatile java.lang.Object id_ = ""; /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -76,6 +98,7 @@ protected java.lang.Object newInstance( ** *optional string id = 1;
+ * * @return Whether the id field is set. */ @java.lang.Override @@ -83,6 +106,8 @@ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -92,6 +117,7 @@ public boolean hasId() { ** *optional string id = 1;
+ * * @return The id. */ @java.lang.Override @@ -100,14 +126,15 @@ public java.lang.String getId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -117,16 +144,15 @@ public java.lang.String getId() { ** *optional string id = 1;
+ * * @return The bytes for id. */ @java.lang.Override - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -135,14 +161,18 @@ public java.lang.String getId() { } public static final int OFFER_ID_FIELD_NUMBER = 2; + @SuppressWarnings("serial") private volatile java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return Whether the offerId field is set. */ @java.lang.Override @@ -150,11 +180,14 @@ public boolean hasOfferId() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The offerId. */ @java.lang.Override @@ -163,29 +196,29 @@ public java.lang.String getOfferId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The bytes for offerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -194,14 +227,18 @@ public java.lang.String getOfferId() { } public static final int TITLE_FIELD_NUMBER = 3; + @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return Whether the title field is set. */ @java.lang.Override @@ -209,11 +246,14 @@ public boolean hasTitle() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The title. */ @java.lang.Override @@ -222,29 +262,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -253,14 +293,18 @@ public java.lang.String getTitle() { } public static final int BRAND_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return Whether the brand field is set. */ @java.lang.Override @@ -268,11 +312,14 @@ public boolean hasBrand() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The brand. */ @java.lang.Override @@ -281,29 +328,29 @@ public java.lang.String getBrand() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; } } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The bytes for brand. */ @java.lang.Override - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -312,15 +359,19 @@ public java.lang.String getBrand() { } public static final int CATEGORY_L1_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return Whether the categoryL1 field is set. */ @java.lang.Override @@ -328,12 +379,15 @@ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The categoryL1. */ @java.lang.Override @@ -342,30 +396,30 @@ public java.lang.String getCategoryL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The bytes for categoryL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -374,15 +428,19 @@ public java.lang.String getCategoryL1() { } public static final int CATEGORY_L2_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return Whether the categoryL2 field is set. */ @java.lang.Override @@ -390,12 +448,15 @@ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The categoryL2. */ @java.lang.Override @@ -404,30 +465,30 @@ public java.lang.String getCategoryL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The bytes for categoryL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -436,15 +497,19 @@ public java.lang.String getCategoryL2() { } public static final int CATEGORY_L3_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return Whether the categoryL3 field is set. */ @java.lang.Override @@ -452,12 +517,15 @@ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The categoryL3. */ @java.lang.Override @@ -466,30 +534,30 @@ public java.lang.String getCategoryL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The bytes for categoryL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -498,15 +566,19 @@ public java.lang.String getCategoryL3() { } public static final int CATEGORY_L4_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return Whether the categoryL4 field is set. */ @java.lang.Override @@ -514,12 +586,15 @@ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The categoryL4. */ @java.lang.Override @@ -528,30 +603,30 @@ public java.lang.String getCategoryL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The bytes for categoryL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -560,15 +635,19 @@ public java.lang.String getCategoryL4() { } public static final int CATEGORY_L5_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return Whether the categoryL5 field is set. */ @java.lang.Override @@ -576,12 +655,15 @@ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The categoryL5. */ @java.lang.Override @@ -590,30 +672,30 @@ public java.lang.String getCategoryL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The bytes for categoryL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -622,15 +704,19 @@ public java.lang.String getCategoryL5() { } public static final int PRODUCT_TYPE_L1_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL1_ = ""; /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return Whether the productTypeL1 field is set. */ @java.lang.Override @@ -638,12 +724,15 @@ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The productTypeL1. */ @java.lang.Override @@ -652,30 +741,30 @@ public java.lang.String getProductTypeL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The bytes for productTypeL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -684,15 +773,19 @@ public java.lang.String getProductTypeL1() { } public static final int PRODUCT_TYPE_L2_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL2_ = ""; /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return Whether the productTypeL2 field is set. */ @java.lang.Override @@ -700,12 +793,15 @@ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The productTypeL2. */ @java.lang.Override @@ -714,30 +810,30 @@ public java.lang.String getProductTypeL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The bytes for productTypeL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -746,15 +842,19 @@ public java.lang.String getProductTypeL2() { } public static final int PRODUCT_TYPE_L3_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL3_ = ""; /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return Whether the productTypeL3 field is set. */ @java.lang.Override @@ -762,12 +862,15 @@ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The productTypeL3. */ @java.lang.Override @@ -776,30 +879,30 @@ public java.lang.String getProductTypeL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The bytes for productTypeL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -808,15 +911,19 @@ public java.lang.String getProductTypeL3() { } public static final int PRODUCT_TYPE_L4_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL4_ = ""; /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return Whether the productTypeL4 field is set. */ @java.lang.Override @@ -824,12 +931,15 @@ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The productTypeL4. */ @java.lang.Override @@ -838,30 +948,30 @@ public java.lang.String getProductTypeL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The bytes for productTypeL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -870,15 +980,19 @@ public java.lang.String getProductTypeL4() { } public static final int PRODUCT_TYPE_L5_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL5_ = ""; /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return Whether the productTypeL5 field is set. */ @java.lang.Override @@ -886,12 +1000,15 @@ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The productTypeL5. */ @java.lang.Override @@ -900,30 +1017,30 @@ public java.lang.String getProductTypeL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The bytes for productTypeL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -934,11 +1051,14 @@ public java.lang.String getProductTypeL5() { public static final int PRICE_FIELD_NUMBER = 15; private com.google.shopping.type.Price price_; /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return Whether the price field is set. */ @java.lang.Override @@ -946,11 +1066,14 @@ public boolean hasPrice() { return price_ != null; } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return The price. */ @java.lang.Override @@ -958,6 +1081,8 @@ public com.google.shopping.type.Price getPrice() { return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } /** + * + * ** Current price of the product. *@@ -972,11 +1097,14 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { public static final int SUGGESTED_PRICE_FIELD_NUMBER = 16; private com.google.shopping.type.Price suggestedPrice_; /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return Whether the suggestedPrice field is set. */ @java.lang.Override @@ -984,18 +1112,25 @@ public boolean hasSuggestedPrice() { return suggestedPrice_ != null; } /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return The suggestedPrice. */ @java.lang.Override public com.google.shopping.type.Price getSuggestedPrice() { - return suggestedPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : suggestedPrice_; + return suggestedPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : suggestedPrice_; } /** + * + * ** Latest suggested price for the product. *@@ -1004,12 +1139,16 @@ public com.google.shopping.type.Price getSuggestedPrice() { */ @java.lang.Override public com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder() { - return suggestedPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : suggestedPrice_; + return suggestedPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : suggestedPrice_; } public static final int PREDICTED_IMPRESSIONS_CHANGE_FRACTION_FIELD_NUMBER = 17; private double predictedImpressionsChangeFraction_ = 0D; /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1017,6 +1156,7 @@ public com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder() { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return Whether the predictedImpressionsChangeFraction field is set. */ @java.lang.Override @@ -1024,6 +1164,8 @@ public boolean hasPredictedImpressionsChangeFraction() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1031,6 +1173,7 @@ public boolean hasPredictedImpressionsChangeFraction() { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return The predictedImpressionsChangeFraction. */ @java.lang.Override @@ -1041,6 +1184,8 @@ public double getPredictedImpressionsChangeFraction() { public static final int PREDICTED_CLICKS_CHANGE_FRACTION_FIELD_NUMBER = 18; private double predictedClicksChangeFraction_ = 0D; /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1048,6 +1193,7 @@ public double getPredictedImpressionsChangeFraction() { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return Whether the predictedClicksChangeFraction field is set. */ @java.lang.Override @@ -1055,6 +1201,8 @@ public boolean hasPredictedClicksChangeFraction() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1062,6 +1210,7 @@ public boolean hasPredictedClicksChangeFraction() { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return The predictedClicksChangeFraction. */ @java.lang.Override @@ -1072,6 +1221,8 @@ public double getPredictedClicksChangeFraction() { public static final int PREDICTED_CONVERSIONS_CHANGE_FRACTION_FIELD_NUMBER = 19; private double predictedConversionsChangeFraction_ = 0D; /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1079,6 +1230,7 @@ public double getPredictedClicksChangeFraction() { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return Whether the predictedConversionsChangeFraction field is set. */ @java.lang.Override @@ -1086,6 +1238,8 @@ public boolean hasPredictedConversionsChangeFraction() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -1093,6 +1247,7 @@ public boolean hasPredictedConversionsChangeFraction() { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return The predictedConversionsChangeFraction. */ @java.lang.Override @@ -1101,6 +1256,7 @@ public double getPredictedConversionsChangeFraction() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1112,8 +1268,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, id_); } @@ -1223,24 +1378,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, productTypeL5_); } if (price_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(15, getPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(15, getPrice()); } if (suggestedPrice_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(16, getSuggestedPrice()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(16, getSuggestedPrice()); } if (((bitField0_ & 0x00004000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(17, predictedImpressionsChangeFraction_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 17, predictedImpressionsChangeFraction_); } if (((bitField0_ & 0x00008000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(18, predictedClicksChangeFraction_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 18, predictedClicksChangeFraction_); } if (((bitField0_ & 0x00010000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(19, predictedConversionsChangeFraction_); + size += + com.google.protobuf.CodedOutputStream.computeDoubleSize( + 19, predictedConversionsChangeFraction_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; @@ -1250,110 +1406,98 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView other = (com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView) obj; + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView other = + (com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView) obj; if (hasId() != other.hasId()) return false; if (hasId()) { - if (!getId() - .equals(other.getId())) return false; + if (!getId().equals(other.getId())) return false; } if (hasOfferId() != other.hasOfferId()) return false; if (hasOfferId()) { - if (!getOfferId() - .equals(other.getOfferId())) return false; + if (!getOfferId().equals(other.getOfferId())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { - if (!getTitle() - .equals(other.getTitle())) return false; + if (!getTitle().equals(other.getTitle())) return false; } if (hasBrand() != other.hasBrand()) return false; if (hasBrand()) { - if (!getBrand() - .equals(other.getBrand())) return false; + if (!getBrand().equals(other.getBrand())) return false; } if (hasCategoryL1() != other.hasCategoryL1()) return false; if (hasCategoryL1()) { - if (!getCategoryL1() - .equals(other.getCategoryL1())) return false; + if (!getCategoryL1().equals(other.getCategoryL1())) return false; } if (hasCategoryL2() != other.hasCategoryL2()) return false; if (hasCategoryL2()) { - if (!getCategoryL2() - .equals(other.getCategoryL2())) return false; + if (!getCategoryL2().equals(other.getCategoryL2())) return false; } if (hasCategoryL3() != other.hasCategoryL3()) return false; if (hasCategoryL3()) { - if (!getCategoryL3() - .equals(other.getCategoryL3())) return false; + if (!getCategoryL3().equals(other.getCategoryL3())) return false; } if (hasCategoryL4() != other.hasCategoryL4()) return false; if (hasCategoryL4()) { - if (!getCategoryL4() - .equals(other.getCategoryL4())) return false; + if (!getCategoryL4().equals(other.getCategoryL4())) return false; } if (hasCategoryL5() != other.hasCategoryL5()) return false; if (hasCategoryL5()) { - if (!getCategoryL5() - .equals(other.getCategoryL5())) return false; + if (!getCategoryL5().equals(other.getCategoryL5())) return false; } if (hasProductTypeL1() != other.hasProductTypeL1()) return false; if (hasProductTypeL1()) { - if (!getProductTypeL1() - .equals(other.getProductTypeL1())) return false; + if (!getProductTypeL1().equals(other.getProductTypeL1())) return false; } if (hasProductTypeL2() != other.hasProductTypeL2()) return false; if (hasProductTypeL2()) { - if (!getProductTypeL2() - .equals(other.getProductTypeL2())) return false; + if (!getProductTypeL2().equals(other.getProductTypeL2())) return false; } if (hasProductTypeL3() != other.hasProductTypeL3()) return false; if (hasProductTypeL3()) { - if (!getProductTypeL3() - .equals(other.getProductTypeL3())) return false; + if (!getProductTypeL3().equals(other.getProductTypeL3())) return false; } if (hasProductTypeL4() != other.hasProductTypeL4()) return false; if (hasProductTypeL4()) { - if (!getProductTypeL4() - .equals(other.getProductTypeL4())) return false; + if (!getProductTypeL4().equals(other.getProductTypeL4())) return false; } if (hasProductTypeL5() != other.hasProductTypeL5()) return false; if (hasProductTypeL5()) { - if (!getProductTypeL5() - .equals(other.getProductTypeL5())) return false; + if (!getProductTypeL5().equals(other.getProductTypeL5())) return false; } if (hasPrice() != other.hasPrice()) return false; if (hasPrice()) { - if (!getPrice() - .equals(other.getPrice())) return false; + if (!getPrice().equals(other.getPrice())) return false; } if (hasSuggestedPrice() != other.hasSuggestedPrice()) return false; if (hasSuggestedPrice()) { - if (!getSuggestedPrice() - .equals(other.getSuggestedPrice())) return false; + if (!getSuggestedPrice().equals(other.getSuggestedPrice())) return false; } - if (hasPredictedImpressionsChangeFraction() != other.hasPredictedImpressionsChangeFraction()) return false; + if (hasPredictedImpressionsChangeFraction() != other.hasPredictedImpressionsChangeFraction()) + return false; if (hasPredictedImpressionsChangeFraction()) { if (java.lang.Double.doubleToLongBits(getPredictedImpressionsChangeFraction()) - != java.lang.Double.doubleToLongBits( - other.getPredictedImpressionsChangeFraction())) return false; + != java.lang.Double.doubleToLongBits(other.getPredictedImpressionsChangeFraction())) + return false; } - if (hasPredictedClicksChangeFraction() != other.hasPredictedClicksChangeFraction()) return false; + if (hasPredictedClicksChangeFraction() != other.hasPredictedClicksChangeFraction()) + return false; if (hasPredictedClicksChangeFraction()) { if (java.lang.Double.doubleToLongBits(getPredictedClicksChangeFraction()) - != java.lang.Double.doubleToLongBits( - other.getPredictedClicksChangeFraction())) return false; + != java.lang.Double.doubleToLongBits(other.getPredictedClicksChangeFraction())) + return false; } - if (hasPredictedConversionsChangeFraction() != other.hasPredictedConversionsChangeFraction()) return false; + if (hasPredictedConversionsChangeFraction() != other.hasPredictedConversionsChangeFraction()) + return false; if (hasPredictedConversionsChangeFraction()) { if (java.lang.Double.doubleToLongBits(getPredictedConversionsChangeFraction()) - != java.lang.Double.doubleToLongBits( - other.getPredictedConversionsChangeFraction())) return false; + != java.lang.Double.doubleToLongBits(other.getPredictedConversionsChangeFraction())) + return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -1432,18 +1576,24 @@ public int hashCode() { } if (hasPredictedImpressionsChangeFraction()) { hash = (37 * hash) + PREDICTED_IMPRESSIONS_CHANGE_FRACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPredictedImpressionsChangeFraction())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPredictedImpressionsChangeFraction())); } if (hasPredictedClicksChangeFraction()) { hash = (37 * hash) + PREDICTED_CLICKS_CHANGE_FRACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPredictedClicksChangeFraction())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPredictedClicksChangeFraction())); } if (hasPredictedConversionsChangeFraction()) { hash = (37 * hash) + PREDICTED_CONVERSIONS_CHANGE_FRACTION_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getPredictedConversionsChangeFraction())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getPredictedConversionsChangeFraction())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -1451,98 +1601,105 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView 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.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView 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.shopping.merchant.reports.v1beta.PriceInsightsProductView + 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.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `price_insights_product_view` table. * @@ -1555,33 +1712,33 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.PriceInsightsProductView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.PriceInsightsProductView) com.google.shopping.merchant.reports.v1beta.PriceInsightsProductViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.class, com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.Builder.class); + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.class, + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.Builder.class); } - // Construct using com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -1617,14 +1774,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_PriceInsightsProductView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + .getDefaultInstance(); } @java.lang.Override @@ -1638,13 +1797,17 @@ public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView buil @java.lang.Override public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView buildPartial() { - com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView result = new com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView result = + new com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -1704,14 +1867,11 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceInsi to_bitField0_ |= 0x00002000; } if (((from_bitField0_ & 0x00004000) != 0)) { - result.price_ = priceBuilder_ == null - ? price_ - : priceBuilder_.build(); + result.price_ = priceBuilder_ == null ? price_ : priceBuilder_.build(); } if (((from_bitField0_ & 0x00008000) != 0)) { - result.suggestedPrice_ = suggestedPriceBuilder_ == null - ? suggestedPrice_ - : suggestedPriceBuilder_.build(); + result.suggestedPrice_ = + suggestedPriceBuilder_ == null ? suggestedPrice_ : suggestedPriceBuilder_.build(); } if (((from_bitField0_ & 0x00010000) != 0)) { result.predictedImpressionsChangeFraction_ = predictedImpressionsChangeFraction_; @@ -1732,46 +1892,51 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.PriceInsi public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.PriceInsightsProductView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView)other); + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView other) { - if (other == com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + .getDefaultInstance()) return this; if (other.hasId()) { id_ = other.id_; bitField0_ |= 0x00000001; @@ -1883,111 +2048,127 @@ public Builder mergeFrom( case 0: done = true; break; - case 10: { - id_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000001; - break; - } // case 10 - case 18: { - offerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - brand_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - categoryL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000010; - break; - } // case 42 - case 50: { - categoryL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 50 - case 58: { - categoryL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 58 - case 66: { - categoryL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 66 - case 74: { - categoryL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 74 - case 82: { - productTypeL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 82 - case 90: { - productTypeL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 90 - case 98: { - productTypeL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 98 - case 106: { - productTypeL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 106 - case 114: { - productTypeL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 114 - case 122: { - input.readMessage( - getPriceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00004000; - break; - } // case 122 - case 130: { - input.readMessage( - getSuggestedPriceFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00008000; - break; - } // case 130 - case 137: { - predictedImpressionsChangeFraction_ = input.readDouble(); - bitField0_ |= 0x00010000; - break; - } // case 137 - case 145: { - predictedClicksChangeFraction_ = input.readDouble(); - bitField0_ |= 0x00020000; - break; - } // case 145 - case 153: { - predictedConversionsChangeFraction_ = input.readDouble(); - bitField0_ |= 0x00040000; - break; - } // case 153 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 10: + { + id_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000001; + break; + } // case 10 + case 18: + { + offerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + brand_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + categoryL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000010; + break; + } // case 42 + case 50: + { + categoryL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 50 + case 58: + { + categoryL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 58 + case 66: + { + categoryL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 66 + case 74: + { + categoryL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 74 + case 82: + { + productTypeL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 82 + case 90: + { + productTypeL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 90 + case 98: + { + productTypeL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 98 + case 106: + { + productTypeL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 106 + case 114: + { + productTypeL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 114 + case 122: + { + input.readMessage(getPriceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00004000; + break; + } // case 122 + case 130: + { + input.readMessage(getSuggestedPriceFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00008000; + break; + } // case 130 + case 137: + { + predictedImpressionsChangeFraction_ = input.readDouble(); + bitField0_ |= 0x00010000; + break; + } // case 137 + case 145: + { + predictedClicksChangeFraction_ = input.readDouble(); + bitField0_ |= 0x00020000; + break; + } // case 145 + case 153: + { + predictedConversionsChangeFraction_ = input.readDouble(); + bitField0_ |= 0x00040000; + break; + } // case 153 + 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) { @@ -1997,10 +2178,13 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private java.lang.Object id_ = ""; /** + * + * * * REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2010,12 +2194,15 @@ public Builder mergeFrom( ** *optional string id = 1;
+ * * @return Whether the id field is set. */ public boolean hasId() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2025,13 +2212,13 @@ public boolean hasId() { ** *optional string id = 1;
+ * * @return The id. */ public java.lang.String getId() { java.lang.Object ref = id_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); id_ = s; return s; @@ -2040,6 +2227,8 @@ public java.lang.String getId() { } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2049,15 +2238,14 @@ public java.lang.String getId() { ** *optional string id = 1;
+ * * @return The bytes for id. */ - public com.google.protobuf.ByteString - getIdBytes() { + public com.google.protobuf.ByteString getIdBytes() { java.lang.Object ref = id_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); id_ = b; return b; } else { @@ -2065,6 +2253,8 @@ public java.lang.String getId() { } } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2074,18 +2264,22 @@ public java.lang.String getId() { ** *optional string id = 1;
+ * * @param value The id to set. * @return This builder for chaining. */ - public Builder setId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } id_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2095,6 +2289,7 @@ public Builder setId( ** *optional string id = 1;
+ * * @return This builder for chaining. */ public Builder clearId() { @@ -2104,6 +2299,8 @@ public Builder clearId() { return this; } /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -2113,12 +2310,14 @@ public Builder clearId() { ** *optional string id = 1;
+ * * @param value The bytes for id to set. * @return This builder for chaining. */ - public Builder setIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); id_ = value; bitField0_ |= 0x00000001; @@ -2128,29 +2327,34 @@ public Builder setIdBytes( private java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return Whether the offerId field is set. */ public boolean hasOfferId() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The offerId. */ public java.lang.String getOfferId() { java.lang.Object ref = offerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; @@ -2159,20 +2363,21 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The bytes for offerId. */ - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -2180,28 +2385,35 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @param value The offerId to set. * @return This builder for chaining. */ - public Builder setOfferId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } offerId_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return This builder for chaining. */ public Builder clearOfferId() { @@ -2211,17 +2423,21 @@ public Builder clearOfferId() { return this; } /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @param value The bytes for offerId to set. * @return This builder for chaining. */ - public Builder setOfferIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); offerId_ = value; bitField0_ |= 0x00000002; @@ -2231,29 +2447,34 @@ public Builder setOfferIdBytes( private java.lang.Object title_ = ""; /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -2262,20 +2483,21 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -2283,28 +2505,35 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } title_ = value; bitField0_ |= 0x00000004; onChanged(); return this; } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return This builder for chaining. */ public Builder clearTitle() { @@ -2314,17 +2543,21 @@ public Builder clearTitle() { return this; } /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000004; @@ -2334,29 +2567,34 @@ public Builder setTitleBytes( private java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return Whether the brand field is set. */ public boolean hasBrand() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The brand. */ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; @@ -2365,20 +2603,21 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The bytes for brand. */ - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -2386,28 +2625,35 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @param value The brand to set. * @return This builder for chaining. */ - public Builder setBrand( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } brand_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return This builder for chaining. */ public Builder clearBrand() { @@ -2417,17 +2663,21 @@ public Builder clearBrand() { return this; } /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); brand_ = value; bitField0_ |= 0x00000008; @@ -2437,31 +2687,36 @@ public Builder setBrandBytes( private java.lang.Object categoryL1_ = ""; /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return Whether the categoryL1 field is set. */ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The categoryL1. */ public java.lang.String getCategoryL1() { java.lang.Object ref = categoryL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; @@ -2470,21 +2725,22 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The bytes for categoryL1. */ - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -2492,30 +2748,37 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @param value The categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL1_ = value; bitField0_ |= 0x00000010; onChanged(); return this; } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return This builder for chaining. */ public Builder clearCategoryL1() { @@ -2525,18 +2788,22 @@ public Builder clearCategoryL1() { return this; } /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @param value The bytes for categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL1_ = value; bitField0_ |= 0x00000010; @@ -2546,31 +2813,36 @@ public Builder setCategoryL1Bytes( private java.lang.Object categoryL2_ = ""; /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return Whether the categoryL2 field is set. */ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The categoryL2. */ public java.lang.String getCategoryL2() { java.lang.Object ref = categoryL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; @@ -2579,21 +2851,22 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The bytes for categoryL2. */ - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -2601,30 +2874,37 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @param value The categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL2_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return This builder for chaining. */ public Builder clearCategoryL2() { @@ -2634,18 +2914,22 @@ public Builder clearCategoryL2() { return this; } /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @param value The bytes for categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL2_ = value; bitField0_ |= 0x00000020; @@ -2655,31 +2939,36 @@ public Builder setCategoryL2Bytes( private java.lang.Object categoryL3_ = ""; /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return Whether the categoryL3 field is set. */ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The categoryL3. */ public java.lang.String getCategoryL3() { java.lang.Object ref = categoryL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; @@ -2688,21 +2977,22 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The bytes for categoryL3. */ - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -2710,30 +3000,37 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @param value The categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL3_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return This builder for chaining. */ public Builder clearCategoryL3() { @@ -2743,18 +3040,22 @@ public Builder clearCategoryL3() { return this; } /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @param value The bytes for categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL3_ = value; bitField0_ |= 0x00000040; @@ -2764,31 +3065,36 @@ public Builder setCategoryL3Bytes( private java.lang.Object categoryL4_ = ""; /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return Whether the categoryL4 field is set. */ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The categoryL4. */ public java.lang.String getCategoryL4() { java.lang.Object ref = categoryL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; @@ -2797,21 +3103,22 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The bytes for categoryL4. */ - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -2819,30 +3126,37 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @param value The categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL4_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return This builder for chaining. */ public Builder clearCategoryL4() { @@ -2852,18 +3166,22 @@ public Builder clearCategoryL4() { return this; } /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @param value The bytes for categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL4_ = value; bitField0_ |= 0x00000080; @@ -2873,31 +3191,36 @@ public Builder setCategoryL4Bytes( private java.lang.Object categoryL5_ = ""; /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return Whether the categoryL5 field is set. */ public boolean hasCategoryL5() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The categoryL5. */ public java.lang.String getCategoryL5() { java.lang.Object ref = categoryL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; @@ -2906,21 +3229,22 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The bytes for categoryL5. */ - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -2928,30 +3252,37 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @param value The categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL5_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return This builder for chaining. */ public Builder clearCategoryL5() { @@ -2961,18 +3292,22 @@ public Builder clearCategoryL5() { return this; } /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @param value The bytes for categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL5_ = value; bitField0_ |= 0x00000100; @@ -2982,31 +3317,36 @@ public Builder setCategoryL5Bytes( private java.lang.Object productTypeL1_ = ""; /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return Whether the productTypeL1 field is set. */ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The productTypeL1. */ public java.lang.String getProductTypeL1() { java.lang.Object ref = productTypeL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; @@ -3015,21 +3355,22 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The bytes for productTypeL1. */ - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -3037,30 +3378,37 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @param value The productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL1_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL1() { @@ -3070,18 +3418,22 @@ public Builder clearProductTypeL1() { return this; } /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @param value The bytes for productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL1_ = value; bitField0_ |= 0x00000200; @@ -3091,31 +3443,36 @@ public Builder setProductTypeL1Bytes( private java.lang.Object productTypeL2_ = ""; /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return Whether the productTypeL2 field is set. */ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The productTypeL2. */ public java.lang.String getProductTypeL2() { java.lang.Object ref = productTypeL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; @@ -3124,21 +3481,22 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The bytes for productTypeL2. */ - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -3146,30 +3504,37 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @param value The productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL2_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL2() { @@ -3179,18 +3544,22 @@ public Builder clearProductTypeL2() { return this; } /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @param value The bytes for productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL2_ = value; bitField0_ |= 0x00000400; @@ -3200,31 +3569,36 @@ public Builder setProductTypeL2Bytes( private java.lang.Object productTypeL3_ = ""; /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return Whether the productTypeL3 field is set. */ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The productTypeL3. */ public java.lang.String getProductTypeL3() { java.lang.Object ref = productTypeL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; @@ -3233,21 +3607,22 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The bytes for productTypeL3. */ - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -3255,30 +3630,37 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @param value The productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL3_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL3() { @@ -3288,18 +3670,22 @@ public Builder clearProductTypeL3() { return this; } /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @param value The bytes for productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL3_ = value; bitField0_ |= 0x00000800; @@ -3309,31 +3695,36 @@ public Builder setProductTypeL3Bytes( private java.lang.Object productTypeL4_ = ""; /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return Whether the productTypeL4 field is set. */ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The productTypeL4. */ public java.lang.String getProductTypeL4() { java.lang.Object ref = productTypeL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; @@ -3342,21 +3733,22 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The bytes for productTypeL4. */ - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -3364,30 +3756,37 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @param value The productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL4_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL4() { @@ -3397,18 +3796,22 @@ public Builder clearProductTypeL4() { return this; } /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @param value The bytes for productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL4_ = value; bitField0_ |= 0x00001000; @@ -3418,31 +3821,36 @@ public Builder setProductTypeL4Bytes( private java.lang.Object productTypeL5_ = ""; /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return Whether the productTypeL5 field is set. */ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The productTypeL5. */ public java.lang.String getProductTypeL5() { java.lang.Object ref = productTypeL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; @@ -3451,21 +3859,22 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The bytes for productTypeL5. */ - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -3473,30 +3882,37 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @param value The productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL5_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL5() { @@ -3506,18 +3922,22 @@ public Builder clearProductTypeL5() { return this; } /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @param value The bytes for productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL5_ = value; bitField0_ |= 0x00002000; @@ -3527,24 +3947,33 @@ public Builder setProductTypeL5Bytes( private com.google.shopping.type.Price price_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> priceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + priceBuilder_; /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return Whether the price field is set. */ public boolean hasPrice() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return The price. */ public com.google.shopping.type.Price getPrice() { @@ -3555,6 +3984,8 @@ public com.google.shopping.type.Price getPrice() { } } /** + * + * ** Current price of the product. *@@ -3575,14 +4006,15 @@ public Builder setPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
*/ - public Builder setPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setPrice(com.google.shopping.type.Price.Builder builderForValue) { if (priceBuilder_ == null) { price_ = builderForValue.build(); } else { @@ -3593,6 +4025,8 @@ public Builder setPrice( return this; } /** + * + * ** Current price of the product. *@@ -3601,9 +4035,9 @@ public Builder setPrice( */ public Builder mergePrice(com.google.shopping.type.Price value) { if (priceBuilder_ == null) { - if (((bitField0_ & 0x00004000) != 0) && - price_ != null && - price_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00004000) != 0) + && price_ != null + && price_ != com.google.shopping.type.Price.getDefaultInstance()) { getPriceBuilder().mergeFrom(value); } else { price_ = value; @@ -3616,6 +4050,8 @@ public Builder mergePrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Current price of the product. *@@ -3633,6 +4069,8 @@ public Builder clearPrice() { return this; } /** + * + * ** Current price of the product. *@@ -3645,6 +4083,8 @@ public com.google.shopping.type.Price.Builder getPriceBuilder() { return getPriceFieldBuilder().getBuilder(); } /** + * + * ** Current price of the product. *@@ -3655,11 +4095,12 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { if (priceBuilder_ != null) { return priceBuilder_.getMessageOrBuilder(); } else { - return price_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : price_; + return price_ == null ? com.google.shopping.type.Price.getDefaultInstance() : price_; } } /** + * + * ** Current price of the product. *@@ -3667,14 +4108,17 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { *.google.shopping.type.Price price = 15;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getPriceFieldBuilder() { if (priceBuilder_ == null) { - priceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getPrice(), - getParentForChildren(), - isClean()); + priceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getPrice(), getParentForChildren(), isClean()); price_ = null; } return priceBuilder_; @@ -3682,34 +4126,47 @@ public com.google.shopping.type.PriceOrBuilder getPriceOrBuilder() { private com.google.shopping.type.Price suggestedPrice_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> suggestedPriceBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + suggestedPriceBuilder_; /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return Whether the suggestedPrice field is set. */ public boolean hasSuggestedPrice() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return The suggestedPrice. */ public com.google.shopping.type.Price getSuggestedPrice() { if (suggestedPriceBuilder_ == null) { - return suggestedPrice_ == null ? com.google.shopping.type.Price.getDefaultInstance() : suggestedPrice_; + return suggestedPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : suggestedPrice_; } else { return suggestedPriceBuilder_.getMessage(); } } /** + * + * ** Latest suggested price for the product. *@@ -3730,14 +4187,15 @@ public Builder setSuggestedPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
*/ - public Builder setSuggestedPrice( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setSuggestedPrice(com.google.shopping.type.Price.Builder builderForValue) { if (suggestedPriceBuilder_ == null) { suggestedPrice_ = builderForValue.build(); } else { @@ -3748,6 +4206,8 @@ public Builder setSuggestedPrice( return this; } /** + * + * ** Latest suggested price for the product. *@@ -3756,9 +4216,9 @@ public Builder setSuggestedPrice( */ public Builder mergeSuggestedPrice(com.google.shopping.type.Price value) { if (suggestedPriceBuilder_ == null) { - if (((bitField0_ & 0x00008000) != 0) && - suggestedPrice_ != null && - suggestedPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x00008000) != 0) + && suggestedPrice_ != null + && suggestedPrice_ != com.google.shopping.type.Price.getDefaultInstance()) { getSuggestedPriceBuilder().mergeFrom(value); } else { suggestedPrice_ = value; @@ -3771,6 +4231,8 @@ public Builder mergeSuggestedPrice(com.google.shopping.type.Price value) { return this; } /** + * + * ** Latest suggested price for the product. *@@ -3788,6 +4250,8 @@ public Builder clearSuggestedPrice() { return this; } /** + * + * ** Latest suggested price for the product. *@@ -3800,6 +4264,8 @@ public com.google.shopping.type.Price.Builder getSuggestedPriceBuilder() { return getSuggestedPriceFieldBuilder().getBuilder(); } /** + * + * ** Latest suggested price for the product. *@@ -3810,11 +4276,14 @@ public com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder() { if (suggestedPriceBuilder_ != null) { return suggestedPriceBuilder_.getMessageOrBuilder(); } else { - return suggestedPrice_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : suggestedPrice_; + return suggestedPrice_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : suggestedPrice_; } } /** + * + * ** Latest suggested price for the product. *@@ -3822,21 +4291,26 @@ public com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder() { *.google.shopping.type.Price suggested_price = 16;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getSuggestedPriceFieldBuilder() { if (suggestedPriceBuilder_ == null) { - suggestedPriceBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getSuggestedPrice(), - getParentForChildren(), - isClean()); + suggestedPriceBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getSuggestedPrice(), getParentForChildren(), isClean()); suggestedPrice_ = null; } return suggestedPriceBuilder_; } - private double predictedImpressionsChangeFraction_ ; + private double predictedImpressionsChangeFraction_; /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3844,6 +4318,7 @@ public com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder() { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return Whether the predictedImpressionsChangeFraction field is set. */ @java.lang.Override @@ -3851,6 +4326,8 @@ public boolean hasPredictedImpressionsChangeFraction() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3858,6 +4335,7 @@ public boolean hasPredictedImpressionsChangeFraction() { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return The predictedImpressionsChangeFraction. */ @java.lang.Override @@ -3865,6 +4343,8 @@ public double getPredictedImpressionsChangeFraction() { return predictedImpressionsChangeFraction_; } /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3872,6 +4352,7 @@ public double getPredictedImpressionsChangeFraction() { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @param value The predictedImpressionsChangeFraction to set. * @return This builder for chaining. */ @@ -3883,6 +4364,8 @@ public Builder setPredictedImpressionsChangeFraction(double value) { return this; } /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3890,6 +4373,7 @@ public Builder setPredictedImpressionsChangeFraction(double value) { ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return This builder for chaining. */ public Builder clearPredictedImpressionsChangeFraction() { @@ -3899,8 +4383,10 @@ public Builder clearPredictedImpressionsChangeFraction() { return this; } - private double predictedClicksChangeFraction_ ; + private double predictedClicksChangeFraction_; /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3908,6 +4394,7 @@ public Builder clearPredictedImpressionsChangeFraction() { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return Whether the predictedClicksChangeFraction field is set. */ @java.lang.Override @@ -3915,6 +4402,8 @@ public boolean hasPredictedClicksChangeFraction() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3922,6 +4411,7 @@ public boolean hasPredictedClicksChangeFraction() { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return The predictedClicksChangeFraction. */ @java.lang.Override @@ -3929,6 +4419,8 @@ public double getPredictedClicksChangeFraction() { return predictedClicksChangeFraction_; } /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3936,6 +4428,7 @@ public double getPredictedClicksChangeFraction() { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @param value The predictedClicksChangeFraction to set. * @return This builder for chaining. */ @@ -3947,6 +4440,8 @@ public Builder setPredictedClicksChangeFraction(double value) { return this; } /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3954,6 +4449,7 @@ public Builder setPredictedClicksChangeFraction(double value) { ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return This builder for chaining. */ public Builder clearPredictedClicksChangeFraction() { @@ -3963,8 +4459,10 @@ public Builder clearPredictedClicksChangeFraction() { return this; } - private double predictedConversionsChangeFraction_ ; + private double predictedConversionsChangeFraction_; /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3972,6 +4470,7 @@ public Builder clearPredictedClicksChangeFraction() { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return Whether the predictedConversionsChangeFraction field is set. */ @java.lang.Override @@ -3979,6 +4478,8 @@ public boolean hasPredictedConversionsChangeFraction() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -3986,6 +4487,7 @@ public boolean hasPredictedConversionsChangeFraction() { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return The predictedConversionsChangeFraction. */ @java.lang.Override @@ -3993,6 +4495,8 @@ public double getPredictedConversionsChangeFraction() { return predictedConversionsChangeFraction_; } /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -4000,6 +4504,7 @@ public double getPredictedConversionsChangeFraction() { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @param value The predictedConversionsChangeFraction to set. * @return This builder for chaining. */ @@ -4011,6 +4516,8 @@ public Builder setPredictedConversionsChangeFraction(double value) { return this; } /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -4018,6 +4525,7 @@ public Builder setPredictedConversionsChangeFraction(double value) { ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return This builder for chaining. */ public Builder clearPredictedConversionsChangeFraction() { @@ -4026,9 +4534,9 @@ public Builder clearPredictedConversionsChangeFraction() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -4038,41 +4546,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.PriceInsightsProductView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.PriceInsightsProductView) - private static final com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView(); } - public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public PriceInsightsProductView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public PriceInsightsProductView 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; @@ -4084,9 +4594,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.PriceInsightsProductView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java similarity index 87% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java index 2b987b8674f5..c41fc6f5f3cc 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/PriceInsightsProductViewOrBuilder.java @@ -1,13 +1,31 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface PriceInsightsProductViewOrBuilder extends +public interface PriceInsightsProductViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.PriceInsightsProductView) com.google.protobuf.MessageOrBuilder { /** + * + * * * REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -17,10 +35,13 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional string id = 1;
+ * * @return Whether the id field is set. */ boolean hasId(); /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -30,10 +51,13 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional string id = 1;
+ * * @return The id. */ java.lang.String getId(); /** + * + * ** REST ID of the product, in the form of * `channel~languageCode~feedLabel~offerId`. Can be used to join data with the @@ -43,437 +67,549 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional string id = 1;
+ * * @return The bytes for id. */ - com.google.protobuf.ByteString - getIdBytes(); + com.google.protobuf.ByteString getIdBytes(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return Whether the offerId field is set. */ boolean hasOfferId(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The offerId. */ java.lang.String getOfferId(); /** + * + * ** Merchant-provided id of the product. ** *optional string offer_id = 2;
+ * * @return The bytes for offerId. */ - com.google.protobuf.ByteString - getOfferIdBytes(); + com.google.protobuf.ByteString getOfferIdBytes(); /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return Whether the title field is set. */ boolean hasTitle(); /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The title. */ java.lang.String getTitle(); /** + * + * ** Title of the product. ** *optional string title = 3;
+ * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return Whether the brand field is set. */ boolean hasBrand(); /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The brand. */ java.lang.String getBrand(); /** + * + * ** Brand of the product. ** *optional string brand = 4;
+ * * @return The bytes for brand. */ - com.google.protobuf.ByteString - getBrandBytes(); + com.google.protobuf.ByteString getBrandBytes(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return Whether the categoryL1 field is set. */ boolean hasCategoryL1(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The categoryL1. */ java.lang.String getCategoryL1(); /** + * + * ** Product category (1st level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l1 = 5;
+ * * @return The bytes for categoryL1. */ - com.google.protobuf.ByteString - getCategoryL1Bytes(); + com.google.protobuf.ByteString getCategoryL1Bytes(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return Whether the categoryL2 field is set. */ boolean hasCategoryL2(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The categoryL2. */ java.lang.String getCategoryL2(); /** + * + * ** Product category (2nd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l2 = 6;
+ * * @return The bytes for categoryL2. */ - com.google.protobuf.ByteString - getCategoryL2Bytes(); + com.google.protobuf.ByteString getCategoryL2Bytes(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return Whether the categoryL3 field is set. */ boolean hasCategoryL3(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The categoryL3. */ java.lang.String getCategoryL3(); /** + * + * ** Product category (3rd level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l3 = 7;
+ * * @return The bytes for categoryL3. */ - com.google.protobuf.ByteString - getCategoryL3Bytes(); + com.google.protobuf.ByteString getCategoryL3Bytes(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return Whether the categoryL4 field is set. */ boolean hasCategoryL4(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The categoryL4. */ java.lang.String getCategoryL4(); /** + * + * ** Product category (4th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l4 = 8;
+ * * @return The bytes for categoryL4. */ - com.google.protobuf.ByteString - getCategoryL4Bytes(); + com.google.protobuf.ByteString getCategoryL4Bytes(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return Whether the categoryL5 field is set. */ boolean hasCategoryL5(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The categoryL5. */ java.lang.String getCategoryL5(); /** + * + * ** Product category (5th level) in [Google's product * taxonomy](https://support.google.com/merchants/answer/6324436). ** *optional string category_l5 = 9;
+ * * @return The bytes for categoryL5. */ - com.google.protobuf.ByteString - getCategoryL5Bytes(); + com.google.protobuf.ByteString getCategoryL5Bytes(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return Whether the productTypeL1 field is set. */ boolean hasProductTypeL1(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The productTypeL1. */ java.lang.String getProductTypeL1(); /** + * + * ** Product type (1st level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l1 = 10;
+ * * @return The bytes for productTypeL1. */ - com.google.protobuf.ByteString - getProductTypeL1Bytes(); + com.google.protobuf.ByteString getProductTypeL1Bytes(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return Whether the productTypeL2 field is set. */ boolean hasProductTypeL2(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The productTypeL2. */ java.lang.String getProductTypeL2(); /** + * + * ** Product type (2nd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l2 = 11;
+ * * @return The bytes for productTypeL2. */ - com.google.protobuf.ByteString - getProductTypeL2Bytes(); + com.google.protobuf.ByteString getProductTypeL2Bytes(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return Whether the productTypeL3 field is set. */ boolean hasProductTypeL3(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The productTypeL3. */ java.lang.String getProductTypeL3(); /** + * + * ** Product type (3rd level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l3 = 12;
+ * * @return The bytes for productTypeL3. */ - com.google.protobuf.ByteString - getProductTypeL3Bytes(); + com.google.protobuf.ByteString getProductTypeL3Bytes(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return Whether the productTypeL4 field is set. */ boolean hasProductTypeL4(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The productTypeL4. */ java.lang.String getProductTypeL4(); /** + * + * ** Product type (4th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l4 = 13;
+ * * @return The bytes for productTypeL4. */ - com.google.protobuf.ByteString - getProductTypeL4Bytes(); + com.google.protobuf.ByteString getProductTypeL4Bytes(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return Whether the productTypeL5 field is set. */ boolean hasProductTypeL5(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The productTypeL5. */ java.lang.String getProductTypeL5(); /** + * + * ** Product type (5th level) in merchant's own [product * taxonomy](https://support.google.com/merchants/answer/6324406). ** *optional string product_type_l5 = 14;
+ * * @return The bytes for productTypeL5. */ - com.google.protobuf.ByteString - getProductTypeL5Bytes(); + com.google.protobuf.ByteString getProductTypeL5Bytes(); /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return Whether the price field is set. */ boolean hasPrice(); /** + * + * ** Current price of the product. ** *.google.shopping.type.Price price = 15;
+ * * @return The price. */ com.google.shopping.type.Price getPrice(); /** + * + * ** Current price of the product. *@@ -483,24 +619,32 @@ public interface PriceInsightsProductViewOrBuilder extends com.google.shopping.type.PriceOrBuilder getPriceOrBuilder(); /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return Whether the suggestedPrice field is set. */ boolean hasSuggestedPrice(); /** + * + * ** Latest suggested price for the product. ** *.google.shopping.type.Price suggested_price = 16;
+ * * @return The suggestedPrice. */ com.google.shopping.type.Price getSuggestedPrice(); /** + * + * ** Latest suggested price for the product. *@@ -510,6 +654,8 @@ public interface PriceInsightsProductViewOrBuilder extends com.google.shopping.type.PriceOrBuilder getSuggestedPriceOrBuilder(); /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -517,10 +663,13 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return Whether the predictedImpressionsChangeFraction field is set. */ boolean hasPredictedImpressionsChangeFraction(); /** + * + * ** Predicted change in impressions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -528,11 +677,14 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_impressions_change_fraction = 17;
+ * * @return The predictedImpressionsChangeFraction. */ double getPredictedImpressionsChangeFraction(); /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -540,10 +692,13 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return Whether the predictedClicksChangeFraction field is set. */ boolean hasPredictedClicksChangeFraction(); /** + * + * ** Predicted change in clicks as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -551,11 +706,14 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_clicks_change_fraction = 18;
+ * * @return The predictedClicksChangeFraction. */ double getPredictedClicksChangeFraction(); /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -563,10 +721,13 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return Whether the predictedConversionsChangeFraction field is set. */ boolean hasPredictedConversionsChangeFraction(); /** + * + * ** Predicted change in conversions as a fraction after introducing the * suggested price compared to current active price. For example, 0.05 is a 5% @@ -574,6 +735,7 @@ public interface PriceInsightsProductViewOrBuilder extends ** *optional double predicted_conversions_change_fraction = 19;
+ * * @return The predictedConversionsChangeFraction. */ double getPredictedConversionsChangeFraction(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java similarity index 78% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java index efe42bdb5911..d110e0f87ca9 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `product_performance_view` table. * @@ -21,15 +38,16 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.ProductPerformanceView} */ -public final class ProductPerformanceView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProductPerformanceView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.ProductPerformanceView) ProductPerformanceViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProductPerformanceView.newBuilder() to construct. private ProductPerformanceView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private ProductPerformanceView() { marketingMethod_ = 0; customerCountryCode_ = ""; @@ -57,65 +75,92 @@ private ProductPerformanceView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProductPerformanceView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.class, com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.Builder.class); + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.class, + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.Builder.class); } private int bitField0_; public static final int MARKETING_METHOD_FIELD_NUMBER = 1; private int marketingMethod_ = 0; /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return Whether the marketingMethod field is set. */ - @java.lang.Override public boolean hasMarketingMethod() { + @java.lang.Override + public boolean hasMarketingMethod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The enum numeric value on the wire for marketingMethod. */ - @java.lang.Override public int getMarketingMethodValue() { + @java.lang.Override + public int getMarketingMethodValue() { return marketingMethod_; } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The marketingMethod. */ - @java.lang.Override public com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum getMarketingMethod() { - com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum result = com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.forNumber(marketingMethod_); - return result == null ? com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.UNRECOGNIZED : result; + @java.lang.Override + public com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum + getMarketingMethod() { + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum result = + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.forNumber( + marketingMethod_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum + .UNRECOGNIZED + : result; } public static final int DATE_FIELD_NUMBER = 2; private com.google.type.Date date_; /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -123,6 +168,7 @@ protected java.lang.Object newInstance( ** *.google.type.Date date = 2;
+ * * @return Whether the date field is set. */ @java.lang.Override @@ -130,6 +176,8 @@ public boolean hasDate() { return date_ != null; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -137,6 +185,7 @@ public boolean hasDate() { ** *.google.type.Date date = 2;
+ * * @return The date. */ @java.lang.Override @@ -144,6 +193,8 @@ public com.google.type.Date getDate() { return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -160,12 +211,15 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { public static final int WEEK_FIELD_NUMBER = 3; private com.google.type.Date week_; /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return Whether the week field is set. */ @java.lang.Override @@ -173,12 +227,15 @@ public boolean hasWeek() { return week_ != null; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return The week. */ @java.lang.Override @@ -186,6 +243,8 @@ public com.google.type.Date getWeek() { return week_ == null ? com.google.type.Date.getDefaultInstance() : week_; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -199,9 +258,12 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { } public static final int CUSTOMER_COUNTRY_CODE_FIELD_NUMBER = 4; + @SuppressWarnings("serial") private volatile java.lang.Object customerCountryCode_ = ""; /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -211,6 +273,7 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { ** *optional string customer_country_code = 4;
+ * * @return Whether the customerCountryCode field is set. */ @java.lang.Override @@ -218,6 +281,8 @@ public boolean hasCustomerCountryCode() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -227,6 +292,7 @@ public boolean hasCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @return The customerCountryCode. */ @java.lang.Override @@ -235,14 +301,15 @@ public java.lang.String getCustomerCountryCode() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCountryCode_ = s; return s; } } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -252,16 +319,15 @@ public java.lang.String getCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @return The bytes for customerCountryCode. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomerCountryCodeBytes() { + public com.google.protobuf.ByteString getCustomerCountryCodeBytes() { java.lang.Object ref = customerCountryCode_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerCountryCode_ = b; return b; } else { @@ -272,6 +338,8 @@ public java.lang.String getCustomerCountryCode() { public static final int ACCOUNT_ID_FIELD_NUMBER = 29; private long accountId_ = 0L; /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -279,6 +347,7 @@ public java.lang.String getCustomerCountryCode() { ** *optional int64 account_id = 29;
+ * * @return Whether the accountId field is set. */ @java.lang.Override @@ -286,6 +355,8 @@ public boolean hasAccountId() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -293,6 +364,7 @@ public boolean hasAccountId() { ** *optional int64 account_id = 29;
+ * * @return The accountId. */ @java.lang.Override @@ -301,9 +373,12 @@ public long getAccountId() { } public static final int ACCOUNT_DISPLAY_NAME_FIELD_NUMBER = 30; + @SuppressWarnings("serial") private volatile java.lang.Object accountDisplayName_ = ""; /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -311,6 +386,7 @@ public long getAccountId() { ** *optional string account_display_name = 30;
+ * * @return Whether the accountDisplayName field is set. */ @java.lang.Override @@ -318,6 +394,8 @@ public boolean hasAccountDisplayName() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -325,6 +403,7 @@ public boolean hasAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @return The accountDisplayName. */ @java.lang.Override @@ -333,14 +412,15 @@ public java.lang.String getAccountDisplayName() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountDisplayName_ = s; return s; } } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -348,16 +428,15 @@ public java.lang.String getAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @return The bytes for accountDisplayName. */ @java.lang.Override - public com.google.protobuf.ByteString - getAccountDisplayNameBytes() { + public com.google.protobuf.ByteString getAccountDisplayNameBytes() { java.lang.Object ref = accountDisplayName_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountDisplayName_ = b; return b; } else { @@ -366,9 +445,12 @@ public java.lang.String getAccountDisplayName() { } public static final int EXTERNAL_ACCOUNT_ID_FIELD_NUMBER = 31; + @SuppressWarnings("serial") private volatile java.lang.Object externalAccountId_ = ""; /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -380,6 +462,7 @@ public java.lang.String getAccountDisplayName() { ** *optional string external_account_id = 31;
+ * * @return Whether the externalAccountId field is set. */ @java.lang.Override @@ -387,6 +470,8 @@ public boolean hasExternalAccountId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -398,6 +483,7 @@ public boolean hasExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @return The externalAccountId. */ @java.lang.Override @@ -406,14 +492,15 @@ public java.lang.String getExternalAccountId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalAccountId_ = s; return s; } } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -425,16 +512,15 @@ public java.lang.String getExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @return The bytes for externalAccountId. */ @java.lang.Override - public com.google.protobuf.ByteString - getExternalAccountIdBytes() { + public com.google.protobuf.ByteString getExternalAccountIdBytes() { java.lang.Object ref = externalAccountId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalAccountId_ = b; return b; } else { @@ -443,14 +529,18 @@ public java.lang.String getExternalAccountId() { } public static final int OFFER_ID_FIELD_NUMBER = 5; + @SuppressWarnings("serial") private volatile java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return Whether the offerId field is set. */ @java.lang.Override @@ -458,11 +548,14 @@ public boolean hasOfferId() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The offerId. */ @java.lang.Override @@ -471,29 +564,29 @@ public java.lang.String getOfferId() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; } } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The bytes for offerId. */ @java.lang.Override - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -502,14 +595,18 @@ public java.lang.String getOfferId() { } public static final int TITLE_FIELD_NUMBER = 6; + @SuppressWarnings("serial") private volatile java.lang.Object title_ = ""; /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ @java.lang.Override @@ -517,11 +614,14 @@ public boolean hasTitle() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The title. */ @java.lang.Override @@ -530,29 +630,29 @@ public java.lang.String getTitle() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; } } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The bytes for title. */ @java.lang.Override - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -561,14 +661,18 @@ public java.lang.String getTitle() { } public static final int BRAND_FIELD_NUMBER = 7; + @SuppressWarnings("serial") private volatile java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ @java.lang.Override @@ -576,11 +680,14 @@ public boolean hasBrand() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The brand. */ @java.lang.Override @@ -589,29 +696,29 @@ public java.lang.String getBrand() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; } } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ @java.lang.Override - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -620,9 +727,12 @@ public java.lang.String getBrand() { } public static final int CATEGORY_L1_FIELD_NUMBER = 8; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL1_ = ""; /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -630,6 +740,7 @@ public java.lang.String getBrand() { ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ @java.lang.Override @@ -637,6 +748,8 @@ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -644,6 +757,7 @@ public boolean hasCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ @java.lang.Override @@ -652,14 +766,15 @@ public java.lang.String getCategoryL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; } } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -667,16 +782,15 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -685,9 +799,12 @@ public java.lang.String getCategoryL1() { } public static final int CATEGORY_L2_FIELD_NUMBER = 9; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL2_ = ""; /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -695,6 +812,7 @@ public java.lang.String getCategoryL1() { ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ @java.lang.Override @@ -702,6 +820,8 @@ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -709,6 +829,7 @@ public boolean hasCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ @java.lang.Override @@ -717,14 +838,15 @@ public java.lang.String getCategoryL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; } } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -732,16 +854,15 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -750,9 +871,12 @@ public java.lang.String getCategoryL2() { } public static final int CATEGORY_L3_FIELD_NUMBER = 10; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL3_ = ""; /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -760,6 +884,7 @@ public java.lang.String getCategoryL2() { ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ @java.lang.Override @@ -767,6 +892,8 @@ public boolean hasCategoryL3() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -774,6 +901,7 @@ public boolean hasCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ @java.lang.Override @@ -782,14 +910,15 @@ public java.lang.String getCategoryL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; } } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -797,16 +926,15 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -815,9 +943,12 @@ public java.lang.String getCategoryL3() { } public static final int CATEGORY_L4_FIELD_NUMBER = 11; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL4_ = ""; /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -825,6 +956,7 @@ public java.lang.String getCategoryL3() { ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ @java.lang.Override @@ -832,6 +964,8 @@ public boolean hasCategoryL4() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -839,6 +973,7 @@ public boolean hasCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ @java.lang.Override @@ -847,14 +982,15 @@ public java.lang.String getCategoryL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; } } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -862,16 +998,15 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -880,9 +1015,12 @@ public java.lang.String getCategoryL4() { } public static final int CATEGORY_L5_FIELD_NUMBER = 12; + @SuppressWarnings("serial") private volatile java.lang.Object categoryL5_ = ""; /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -890,6 +1028,7 @@ public java.lang.String getCategoryL4() { ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ @java.lang.Override @@ -897,6 +1036,8 @@ public boolean hasCategoryL5() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -904,6 +1045,7 @@ public boolean hasCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ @java.lang.Override @@ -912,14 +1054,15 @@ public java.lang.String getCategoryL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; } } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -927,16 +1070,15 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -945,9 +1087,12 @@ public java.lang.String getCategoryL5() { } public static final int PRODUCT_TYPE_L1_FIELD_NUMBER = 13; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL1_ = ""; /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -955,6 +1100,7 @@ public java.lang.String getCategoryL5() { ** *optional string product_type_l1 = 13;
+ * * @return Whether the productTypeL1 field is set. */ @java.lang.Override @@ -962,6 +1108,8 @@ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -969,6 +1117,7 @@ public boolean hasProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @return The productTypeL1. */ @java.lang.Override @@ -977,14 +1126,15 @@ public java.lang.String getProductTypeL1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; } } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -992,16 +1142,15 @@ public java.lang.String getProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @return The bytes for productTypeL1. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -1010,9 +1159,12 @@ public java.lang.String getProductTypeL1() { } public static final int PRODUCT_TYPE_L2_FIELD_NUMBER = 14; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL2_ = ""; /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1020,6 +1172,7 @@ public java.lang.String getProductTypeL1() { ** *optional string product_type_l2 = 14;
+ * * @return Whether the productTypeL2 field is set. */ @java.lang.Override @@ -1027,6 +1180,8 @@ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1034,6 +1189,7 @@ public boolean hasProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @return The productTypeL2. */ @java.lang.Override @@ -1042,14 +1198,15 @@ public java.lang.String getProductTypeL2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; } } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1057,16 +1214,15 @@ public java.lang.String getProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @return The bytes for productTypeL2. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -1075,9 +1231,12 @@ public java.lang.String getProductTypeL2() { } public static final int PRODUCT_TYPE_L3_FIELD_NUMBER = 15; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL3_ = ""; /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1085,6 +1244,7 @@ public java.lang.String getProductTypeL2() { ** *optional string product_type_l3 = 15;
+ * * @return Whether the productTypeL3 field is set. */ @java.lang.Override @@ -1092,6 +1252,8 @@ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1099,6 +1261,7 @@ public boolean hasProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @return The productTypeL3. */ @java.lang.Override @@ -1107,14 +1270,15 @@ public java.lang.String getProductTypeL3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; } } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1122,16 +1286,15 @@ public java.lang.String getProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @return The bytes for productTypeL3. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -1140,9 +1303,12 @@ public java.lang.String getProductTypeL3() { } public static final int PRODUCT_TYPE_L4_FIELD_NUMBER = 16; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL4_ = ""; /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1150,6 +1316,7 @@ public java.lang.String getProductTypeL3() { ** *optional string product_type_l4 = 16;
+ * * @return Whether the productTypeL4 field is set. */ @java.lang.Override @@ -1157,6 +1324,8 @@ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1164,6 +1333,7 @@ public boolean hasProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @return The productTypeL4. */ @java.lang.Override @@ -1172,14 +1342,15 @@ public java.lang.String getProductTypeL4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; } } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1187,16 +1358,15 @@ public java.lang.String getProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @return The bytes for productTypeL4. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -1205,9 +1375,12 @@ public java.lang.String getProductTypeL4() { } public static final int PRODUCT_TYPE_L5_FIELD_NUMBER = 17; + @SuppressWarnings("serial") private volatile java.lang.Object productTypeL5_ = ""; /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1215,6 +1388,7 @@ public java.lang.String getProductTypeL4() { ** *optional string product_type_l5 = 17;
+ * * @return Whether the productTypeL5 field is set. */ @java.lang.Override @@ -1222,6 +1396,8 @@ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1229,6 +1405,7 @@ public boolean hasProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @return The productTypeL5. */ @java.lang.Override @@ -1237,14 +1414,15 @@ public java.lang.String getProductTypeL5() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; } } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -1252,16 +1430,15 @@ public java.lang.String getProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @return The bytes for productTypeL5. */ @java.lang.Override - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -1270,14 +1447,18 @@ public java.lang.String getProductTypeL5() { } public static final int CUSTOM_LABEL0_FIELD_NUMBER = 18; + @SuppressWarnings("serial") private volatile java.lang.Object customLabel0_ = ""; /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return Whether the customLabel0 field is set. */ @java.lang.Override @@ -1285,11 +1466,14 @@ public boolean hasCustomLabel0() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The customLabel0. */ @java.lang.Override @@ -1298,29 +1482,29 @@ public java.lang.String getCustomLabel0() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel0_ = s; return s; } } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The bytes for customLabel0. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomLabel0Bytes() { + public com.google.protobuf.ByteString getCustomLabel0Bytes() { java.lang.Object ref = customLabel0_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel0_ = b; return b; } else { @@ -1329,14 +1513,18 @@ public java.lang.String getCustomLabel0() { } public static final int CUSTOM_LABEL1_FIELD_NUMBER = 19; + @SuppressWarnings("serial") private volatile java.lang.Object customLabel1_ = ""; /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return Whether the customLabel1 field is set. */ @java.lang.Override @@ -1344,11 +1532,14 @@ public boolean hasCustomLabel1() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The customLabel1. */ @java.lang.Override @@ -1357,29 +1548,29 @@ public java.lang.String getCustomLabel1() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel1_ = s; return s; } } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The bytes for customLabel1. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomLabel1Bytes() { + public com.google.protobuf.ByteString getCustomLabel1Bytes() { java.lang.Object ref = customLabel1_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel1_ = b; return b; } else { @@ -1388,14 +1579,18 @@ public java.lang.String getCustomLabel1() { } public static final int CUSTOM_LABEL2_FIELD_NUMBER = 20; + @SuppressWarnings("serial") private volatile java.lang.Object customLabel2_ = ""; /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return Whether the customLabel2 field is set. */ @java.lang.Override @@ -1403,11 +1598,14 @@ public boolean hasCustomLabel2() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The customLabel2. */ @java.lang.Override @@ -1416,29 +1614,29 @@ public java.lang.String getCustomLabel2() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel2_ = s; return s; } } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The bytes for customLabel2. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomLabel2Bytes() { + public com.google.protobuf.ByteString getCustomLabel2Bytes() { java.lang.Object ref = customLabel2_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel2_ = b; return b; } else { @@ -1447,14 +1645,18 @@ public java.lang.String getCustomLabel2() { } public static final int CUSTOM_LABEL3_FIELD_NUMBER = 21; + @SuppressWarnings("serial") private volatile java.lang.Object customLabel3_ = ""; /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return Whether the customLabel3 field is set. */ @java.lang.Override @@ -1462,11 +1664,14 @@ public boolean hasCustomLabel3() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The customLabel3. */ @java.lang.Override @@ -1475,29 +1680,29 @@ public java.lang.String getCustomLabel3() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel3_ = s; return s; } } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The bytes for customLabel3. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomLabel3Bytes() { + public com.google.protobuf.ByteString getCustomLabel3Bytes() { java.lang.Object ref = customLabel3_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel3_ = b; return b; } else { @@ -1506,14 +1711,18 @@ public java.lang.String getCustomLabel3() { } public static final int CUSTOM_LABEL4_FIELD_NUMBER = 22; + @SuppressWarnings("serial") private volatile java.lang.Object customLabel4_ = ""; /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return Whether the customLabel4 field is set. */ @java.lang.Override @@ -1521,11 +1730,14 @@ public boolean hasCustomLabel4() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The customLabel4. */ @java.lang.Override @@ -1534,29 +1746,29 @@ public java.lang.String getCustomLabel4() { if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel4_ = s; return s; } } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The bytes for customLabel4. */ @java.lang.Override - public com.google.protobuf.ByteString - getCustomLabel4Bytes() { + public com.google.protobuf.ByteString getCustomLabel4Bytes() { java.lang.Object ref = customLabel4_; if (ref instanceof java.lang.String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel4_ = b; return b; } else { @@ -1567,11 +1779,14 @@ public java.lang.String getCustomLabel4() { public static final int CLICKS_FIELD_NUMBER = 23; private long clicks_ = 0L; /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return Whether the clicks field is set. */ @java.lang.Override @@ -1579,11 +1794,14 @@ public boolean hasClicks() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return The clicks. */ @java.lang.Override @@ -1594,11 +1812,14 @@ public long getClicks() { public static final int IMPRESSIONS_FIELD_NUMBER = 24; private long impressions_ = 0L; /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return Whether the impressions field is set. */ @java.lang.Override @@ -1606,11 +1827,14 @@ public boolean hasImpressions() { return ((bitField0_ & 0x01000000) != 0); } /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return The impressions. */ @java.lang.Override @@ -1621,6 +1845,8 @@ public long getImpressions() { public static final int CLICK_THROUGH_RATE_FIELD_NUMBER = 25; private double clickThroughRate_ = 0D; /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -1628,6 +1854,7 @@ public long getImpressions() { ** *optional double click_through_rate = 25;
+ * * @return Whether the clickThroughRate field is set. */ @java.lang.Override @@ -1635,6 +1862,8 @@ public boolean hasClickThroughRate() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -1642,6 +1871,7 @@ public boolean hasClickThroughRate() { ** *optional double click_through_rate = 25;
+ * * @return The clickThroughRate. */ @java.lang.Override @@ -1652,6 +1882,8 @@ public double getClickThroughRate() { public static final int CONVERSIONS_FIELD_NUMBER = 26; private double conversions_ = 0D; /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -1662,6 +1894,7 @@ public double getClickThroughRate() { ** *optional double conversions = 26;
+ * * @return Whether the conversions field is set. */ @java.lang.Override @@ -1669,6 +1902,8 @@ public boolean hasConversions() { return ((bitField0_ & 0x04000000) != 0); } /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -1679,6 +1914,7 @@ public boolean hasConversions() { ** *optional double conversions = 26;
+ * * @return The conversions. */ @java.lang.Override @@ -1689,6 +1925,8 @@ public double getConversions() { public static final int CONVERSION_VALUE_FIELD_NUMBER = 27; private com.google.shopping.type.Price conversionValue_; /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -1697,6 +1935,7 @@ public double getConversions() { ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return Whether the conversionValue field is set. */ @java.lang.Override @@ -1704,6 +1943,8 @@ public boolean hasConversionValue() { return conversionValue_ != null; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -1712,13 +1953,18 @@ public boolean hasConversionValue() { ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return The conversionValue. */ @java.lang.Override public com.google.shopping.type.Price getConversionValue() { - return conversionValue_ == null ? com.google.shopping.type.Price.getDefaultInstance() : conversionValue_; + return conversionValue_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : conversionValue_; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -1730,12 +1976,16 @@ public com.google.shopping.type.Price getConversionValue() { */ @java.lang.Override public com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder() { - return conversionValue_ == null ? com.google.shopping.type.Price.getDefaultInstance() : conversionValue_; + return conversionValue_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : conversionValue_; } public static final int CONVERSION_RATE_FIELD_NUMBER = 28; private double conversionRate_ = 0D; /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -1744,6 +1994,7 @@ public com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder() { ** *optional double conversion_rate = 28;
+ * * @return Whether the conversionRate field is set. */ @java.lang.Override @@ -1751,6 +2002,8 @@ public boolean hasConversionRate() { return ((bitField0_ & 0x08000000) != 0); } /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -1759,6 +2012,7 @@ public boolean hasConversionRate() { ** *optional double conversion_rate = 28;
+ * * @return The conversionRate. */ @java.lang.Override @@ -1767,6 +2021,7 @@ public double getConversionRate() { } private byte memoizedIsInitialized = -1; + @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; @@ -1778,8 +2033,7 @@ public final boolean isInitialized() { } @java.lang.Override - public void writeTo(com.google.protobuf.CodedOutputStream output) - throws java.io.IOException { + public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeEnum(1, marketingMethod_); } @@ -1883,16 +2137,13 @@ public int getSerializedSize() { size = 0; if (((bitField0_ & 0x00000001) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeEnumSize(1, marketingMethod_); + size += com.google.protobuf.CodedOutputStream.computeEnumSize(1, marketingMethod_); } if (date_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(2, getDate()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(2, getDate()); } if (week_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(3, getWeek()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(3, getWeek()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, customerCountryCode_); @@ -1952,32 +2203,25 @@ public int getSerializedSize() { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(22, customLabel4_); } if (((bitField0_ & 0x00800000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(23, clicks_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(23, clicks_); } if (((bitField0_ & 0x01000000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(24, impressions_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(24, impressions_); } if (((bitField0_ & 0x02000000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(25, clickThroughRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(25, clickThroughRate_); } if (((bitField0_ & 0x04000000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(26, conversions_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(26, conversions_); } if (conversionValue_ != null) { - size += com.google.protobuf.CodedOutputStream - .computeMessageSize(27, getConversionValue()); + size += com.google.protobuf.CodedOutputStream.computeMessageSize(27, getConversionValue()); } if (((bitField0_ & 0x08000000) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeDoubleSize(28, conversionRate_); + size += com.google.protobuf.CodedOutputStream.computeDoubleSize(28, conversionRate_); } if (((bitField0_ & 0x00000004) != 0)) { - size += com.google.protobuf.CodedOutputStream - .computeInt64Size(29, accountId_); + size += com.google.protobuf.CodedOutputStream.computeInt64Size(29, accountId_); } if (((bitField0_ & 0x00000008) != 0)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(30, accountDisplayName_); @@ -1993,12 +2237,13 @@ public int getSerializedSize() { @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { - return true; + return true; } if (!(obj instanceof com.google.shopping.merchant.reports.v1beta.ProductPerformanceView)) { return super.equals(obj); } - com.google.shopping.merchant.reports.v1beta.ProductPerformanceView other = (com.google.shopping.merchant.reports.v1beta.ProductPerformanceView) obj; + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView other = + (com.google.shopping.merchant.reports.v1beta.ProductPerformanceView) obj; if (hasMarketingMethod() != other.hasMarketingMethod()) return false; if (hasMarketingMethod()) { @@ -2006,156 +2251,126 @@ public boolean equals(final java.lang.Object obj) { } if (hasDate() != other.hasDate()) return false; if (hasDate()) { - if (!getDate() - .equals(other.getDate())) return false; + if (!getDate().equals(other.getDate())) return false; } if (hasWeek() != other.hasWeek()) return false; if (hasWeek()) { - if (!getWeek() - .equals(other.getWeek())) return false; + if (!getWeek().equals(other.getWeek())) return false; } if (hasCustomerCountryCode() != other.hasCustomerCountryCode()) return false; if (hasCustomerCountryCode()) { - if (!getCustomerCountryCode() - .equals(other.getCustomerCountryCode())) return false; + if (!getCustomerCountryCode().equals(other.getCustomerCountryCode())) return false; } if (hasAccountId() != other.hasAccountId()) return false; if (hasAccountId()) { - if (getAccountId() - != other.getAccountId()) return false; + if (getAccountId() != other.getAccountId()) return false; } if (hasAccountDisplayName() != other.hasAccountDisplayName()) return false; if (hasAccountDisplayName()) { - if (!getAccountDisplayName() - .equals(other.getAccountDisplayName())) return false; + if (!getAccountDisplayName().equals(other.getAccountDisplayName())) return false; } if (hasExternalAccountId() != other.hasExternalAccountId()) return false; if (hasExternalAccountId()) { - if (!getExternalAccountId() - .equals(other.getExternalAccountId())) return false; + if (!getExternalAccountId().equals(other.getExternalAccountId())) return false; } if (hasOfferId() != other.hasOfferId()) return false; if (hasOfferId()) { - if (!getOfferId() - .equals(other.getOfferId())) return false; + if (!getOfferId().equals(other.getOfferId())) return false; } if (hasTitle() != other.hasTitle()) return false; if (hasTitle()) { - if (!getTitle() - .equals(other.getTitle())) return false; + if (!getTitle().equals(other.getTitle())) return false; } if (hasBrand() != other.hasBrand()) return false; if (hasBrand()) { - if (!getBrand() - .equals(other.getBrand())) return false; + if (!getBrand().equals(other.getBrand())) return false; } if (hasCategoryL1() != other.hasCategoryL1()) return false; if (hasCategoryL1()) { - if (!getCategoryL1() - .equals(other.getCategoryL1())) return false; + if (!getCategoryL1().equals(other.getCategoryL1())) return false; } if (hasCategoryL2() != other.hasCategoryL2()) return false; if (hasCategoryL2()) { - if (!getCategoryL2() - .equals(other.getCategoryL2())) return false; + if (!getCategoryL2().equals(other.getCategoryL2())) return false; } if (hasCategoryL3() != other.hasCategoryL3()) return false; if (hasCategoryL3()) { - if (!getCategoryL3() - .equals(other.getCategoryL3())) return false; + if (!getCategoryL3().equals(other.getCategoryL3())) return false; } if (hasCategoryL4() != other.hasCategoryL4()) return false; if (hasCategoryL4()) { - if (!getCategoryL4() - .equals(other.getCategoryL4())) return false; + if (!getCategoryL4().equals(other.getCategoryL4())) return false; } if (hasCategoryL5() != other.hasCategoryL5()) return false; if (hasCategoryL5()) { - if (!getCategoryL5() - .equals(other.getCategoryL5())) return false; + if (!getCategoryL5().equals(other.getCategoryL5())) return false; } if (hasProductTypeL1() != other.hasProductTypeL1()) return false; if (hasProductTypeL1()) { - if (!getProductTypeL1() - .equals(other.getProductTypeL1())) return false; + if (!getProductTypeL1().equals(other.getProductTypeL1())) return false; } if (hasProductTypeL2() != other.hasProductTypeL2()) return false; if (hasProductTypeL2()) { - if (!getProductTypeL2() - .equals(other.getProductTypeL2())) return false; + if (!getProductTypeL2().equals(other.getProductTypeL2())) return false; } if (hasProductTypeL3() != other.hasProductTypeL3()) return false; if (hasProductTypeL3()) { - if (!getProductTypeL3() - .equals(other.getProductTypeL3())) return false; + if (!getProductTypeL3().equals(other.getProductTypeL3())) return false; } if (hasProductTypeL4() != other.hasProductTypeL4()) return false; if (hasProductTypeL4()) { - if (!getProductTypeL4() - .equals(other.getProductTypeL4())) return false; + if (!getProductTypeL4().equals(other.getProductTypeL4())) return false; } if (hasProductTypeL5() != other.hasProductTypeL5()) return false; if (hasProductTypeL5()) { - if (!getProductTypeL5() - .equals(other.getProductTypeL5())) return false; + if (!getProductTypeL5().equals(other.getProductTypeL5())) return false; } if (hasCustomLabel0() != other.hasCustomLabel0()) return false; if (hasCustomLabel0()) { - if (!getCustomLabel0() - .equals(other.getCustomLabel0())) return false; + if (!getCustomLabel0().equals(other.getCustomLabel0())) return false; } if (hasCustomLabel1() != other.hasCustomLabel1()) return false; if (hasCustomLabel1()) { - if (!getCustomLabel1() - .equals(other.getCustomLabel1())) return false; + if (!getCustomLabel1().equals(other.getCustomLabel1())) return false; } if (hasCustomLabel2() != other.hasCustomLabel2()) return false; if (hasCustomLabel2()) { - if (!getCustomLabel2() - .equals(other.getCustomLabel2())) return false; + if (!getCustomLabel2().equals(other.getCustomLabel2())) return false; } if (hasCustomLabel3() != other.hasCustomLabel3()) return false; if (hasCustomLabel3()) { - if (!getCustomLabel3() - .equals(other.getCustomLabel3())) return false; + if (!getCustomLabel3().equals(other.getCustomLabel3())) return false; } if (hasCustomLabel4() != other.hasCustomLabel4()) return false; if (hasCustomLabel4()) { - if (!getCustomLabel4() - .equals(other.getCustomLabel4())) return false; + if (!getCustomLabel4().equals(other.getCustomLabel4())) return false; } if (hasClicks() != other.hasClicks()) return false; if (hasClicks()) { - if (getClicks() - != other.getClicks()) return false; + if (getClicks() != other.getClicks()) return false; } if (hasImpressions() != other.hasImpressions()) return false; if (hasImpressions()) { - if (getImpressions() - != other.getImpressions()) return false; + if (getImpressions() != other.getImpressions()) return false; } if (hasClickThroughRate() != other.hasClickThroughRate()) return false; if (hasClickThroughRate()) { if (java.lang.Double.doubleToLongBits(getClickThroughRate()) - != java.lang.Double.doubleToLongBits( - other.getClickThroughRate())) return false; + != java.lang.Double.doubleToLongBits(other.getClickThroughRate())) return false; } if (hasConversions() != other.hasConversions()) return false; if (hasConversions()) { if (java.lang.Double.doubleToLongBits(getConversions()) - != java.lang.Double.doubleToLongBits( - other.getConversions())) return false; + != java.lang.Double.doubleToLongBits(other.getConversions())) return false; } if (hasConversionValue() != other.hasConversionValue()) return false; if (hasConversionValue()) { - if (!getConversionValue() - .equals(other.getConversionValue())) return false; + if (!getConversionValue().equals(other.getConversionValue())) return false; } if (hasConversionRate() != other.hasConversionRate()) return false; if (hasConversionRate()) { if (java.lang.Double.doubleToLongBits(getConversionRate()) - != java.lang.Double.doubleToLongBits( - other.getConversionRate())) return false; + != java.lang.Double.doubleToLongBits(other.getConversionRate())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; @@ -2186,8 +2401,7 @@ public int hashCode() { } if (hasAccountId()) { hash = (37 * hash) + ACCOUNT_ID_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getAccountId()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getAccountId()); } if (hasAccountDisplayName()) { hash = (37 * hash) + ACCOUNT_DISPLAY_NAME_FIELD_NUMBER; @@ -2271,23 +2485,25 @@ public int hashCode() { } if (hasClicks()) { hash = (37 * hash) + CLICKS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getClicks()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getClicks()); } if (hasImpressions()) { hash = (37 * hash) + IMPRESSIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - getImpressions()); + hash = (53 * hash) + com.google.protobuf.Internal.hashLong(getImpressions()); } if (hasClickThroughRate()) { hash = (37 * hash) + CLICK_THROUGH_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getClickThroughRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getClickThroughRate())); } if (hasConversions()) { hash = (37 * hash) + CONVERSIONS_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConversions())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConversions())); } if (hasConversionValue()) { hash = (37 * hash) + CONVERSION_VALUE_FIELD_NUMBER; @@ -2295,8 +2511,10 @@ public int hashCode() { } if (hasConversionRate()) { hash = (37 * hash) + CONVERSION_RATE_FIELD_NUMBER; - hash = (53 * hash) + com.google.protobuf.Internal.hashLong( - java.lang.Double.doubleToLongBits(getConversionRate())); + hash = + (53 * hash) + + com.google.protobuf.Internal.hashLong( + java.lang.Double.doubleToLongBits(getConversionRate())); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; @@ -2304,98 +2522,105 @@ public int hashCode() { } public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( - java.nio.ByteBuffer data) - throws com.google.protobuf.InvalidProtocolBufferException { + java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( - java.nio.ByteBuffer data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView 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.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom(byte[] data) - throws com.google.protobuf.InvalidProtocolBufferException { + + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( + byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( - byte[] data, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( + java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( - java.io.InputStream input, - com.google.protobuf.ExtensionRegistryLite extensionRegistry) + java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } - public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseDelimitedFrom(java.io.InputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseDelimitedWithIOException(PARSER, input); + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseDelimitedWithIOException(PARSER, input); } - public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView 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.shopping.merchant.reports.v1beta.ProductPerformanceView + 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.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( - com.google.protobuf.CodedInputStream input) - throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input); + com.google.protobuf.CodedInputStream input) throws java.io.IOException { + return com.google.protobuf.GeneratedMessageV3.parseWithIOException(PARSER, input); } + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { - return com.google.protobuf.GeneratedMessageV3 - .parseWithIOException(PARSER, input, extensionRegistry); + return com.google.protobuf.GeneratedMessageV3.parseWithIOException( + PARSER, input, extensionRegistry); } @java.lang.Override - public Builder newBuilderForType() { return newBuilder(); } + public Builder newBuilderForType() { + return newBuilder(); + } + public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } - public static Builder newBuilder(com.google.shopping.merchant.reports.v1beta.ProductPerformanceView prototype) { + + public static Builder newBuilder( + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } + @java.lang.Override public Builder toBuilder() { - return this == DEFAULT_INSTANCE - ? new Builder() : new Builder().mergeFrom(this); + return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override - protected Builder newBuilderForType( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** + * + * ** Fields available for query in `product_performance_view` table. * @@ -2413,33 +2638,33 @@ protected Builder newBuilderForType( * * Protobuf type {@code google.shopping.merchant.reports.v1beta.ProductPerformanceView} */ - public static final class Builder extends - com.google.protobuf.GeneratedMessageV3.Builderimplements + public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder + implements // @@protoc_insertion_point(builder_implements:google.shopping.merchant.reports.v1beta.ProductPerformanceView) com.google.shopping.merchant.reports.v1beta.ProductPerformanceViewOrBuilder { - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.class, com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.Builder.class); + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.class, + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.Builder.class); } - // Construct using com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.newBuilder() - private Builder() { - - } + // Construct using + // com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.newBuilder() + private Builder() {} - private Builder( - com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { + private Builder(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); - } + @java.lang.Override public Builder clear() { super.clear(); @@ -2491,14 +2716,16 @@ public Builder clear() { } @java.lang.Override - public com.google.protobuf.Descriptors.Descriptor - getDescriptorForType() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; + public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductPerformanceView_descriptor; } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView getDefaultInstanceForType() { - return com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.getDefaultInstance(); + public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + getDefaultInstanceForType() { + return com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + .getDefaultInstance(); } @java.lang.Override @@ -2512,13 +2739,17 @@ public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView build( @java.lang.Override public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView buildPartial() { - com.google.shopping.merchant.reports.v1beta.ProductPerformanceView result = new com.google.shopping.merchant.reports.v1beta.ProductPerformanceView(this); - if (bitField0_ != 0) { buildPartial0(result); } + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView result = + new com.google.shopping.merchant.reports.v1beta.ProductPerformanceView(this); + if (bitField0_ != 0) { + buildPartial0(result); + } onBuilt(); return result; } - private void buildPartial0(com.google.shopping.merchant.reports.v1beta.ProductPerformanceView result) { + private void buildPartial0( + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { @@ -2526,14 +2757,10 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.ProductPe to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { - result.date_ = dateBuilder_ == null - ? date_ - : dateBuilder_.build(); + result.date_ = dateBuilder_ == null ? date_ : dateBuilder_.build(); } if (((from_bitField0_ & 0x00000004) != 0)) { - result.week_ = weekBuilder_ == null - ? week_ - : weekBuilder_.build(); + result.week_ = weekBuilder_ == null ? week_ : weekBuilder_.build(); } if (((from_bitField0_ & 0x00000008) != 0)) { result.customerCountryCode_ = customerCountryCode_; @@ -2640,9 +2867,8 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.ProductPe to_bitField0_ |= 0x04000000; } if (((from_bitField0_ & 0x20000000) != 0)) { - result.conversionValue_ = conversionValueBuilder_ == null - ? conversionValue_ - : conversionValueBuilder_.build(); + result.conversionValue_ = + conversionValueBuilder_ == null ? conversionValue_ : conversionValueBuilder_.build(); } if (((from_bitField0_ & 0x40000000) != 0)) { result.conversionRate_ = conversionRate_; @@ -2655,46 +2881,51 @@ private void buildPartial0(com.google.shopping.merchant.reports.v1beta.ProductPe public Builder clone() { return super.clone(); } + @java.lang.Override public Builder setField( - com.google.protobuf.Descriptors.FieldDescriptor field, - java.lang.Object value) { + 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) { + 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) { + 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) { + 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) { + 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.shopping.merchant.reports.v1beta.ProductPerformanceView) { - return mergeFrom((com.google.shopping.merchant.reports.v1beta.ProductPerformanceView)other); + return mergeFrom( + (com.google.shopping.merchant.reports.v1beta.ProductPerformanceView) other); } else { super.mergeFrom(other); return this; } } - public Builder mergeFrom(com.google.shopping.merchant.reports.v1beta.ProductPerformanceView other) { - if (other == com.google.shopping.merchant.reports.v1beta.ProductPerformanceView.getDefaultInstance()) return this; + public Builder mergeFrom( + com.google.shopping.merchant.reports.v1beta.ProductPerformanceView other) { + if (other + == com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + .getDefaultInstance()) return this; if (other.hasMarketingMethod()) { setMarketingMethod(other.getMarketingMethod()); } @@ -2856,173 +3087,199 @@ public Builder mergeFrom( case 0: done = true; break; - case 8: { - marketingMethod_ = input.readEnum(); - bitField0_ |= 0x00000001; - break; - } // case 8 - case 18: { - input.readMessage( - getDateFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000002; - break; - } // case 18 - case 26: { - input.readMessage( - getWeekFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x00000004; - break; - } // case 26 - case 34: { - customerCountryCode_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000008; - break; - } // case 34 - case 42: { - offerId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000080; - break; - } // case 42 - case 50: { - title_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000100; - break; - } // case 50 - case 58: { - brand_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000200; - break; - } // case 58 - case 66: { - categoryL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000400; - break; - } // case 66 - case 74: { - categoryL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000800; - break; - } // case 74 - case 82: { - categoryL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00001000; - break; - } // case 82 - case 90: { - categoryL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00002000; - break; - } // case 90 - case 98: { - categoryL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00004000; - break; - } // case 98 - case 106: { - productTypeL1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00008000; - break; - } // case 106 - case 114: { - productTypeL2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00010000; - break; - } // case 114 - case 122: { - productTypeL3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00020000; - break; - } // case 122 - case 130: { - productTypeL4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00040000; - break; - } // case 130 - case 138: { - productTypeL5_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00080000; - break; - } // case 138 - case 146: { - customLabel0_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00100000; - break; - } // case 146 - case 154: { - customLabel1_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00200000; - break; - } // case 154 - case 162: { - customLabel2_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00400000; - break; - } // case 162 - case 170: { - customLabel3_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00800000; - break; - } // case 170 - case 178: { - customLabel4_ = input.readStringRequireUtf8(); - bitField0_ |= 0x01000000; - break; - } // case 178 - case 184: { - clicks_ = input.readInt64(); - bitField0_ |= 0x02000000; - break; - } // case 184 - case 192: { - impressions_ = input.readInt64(); - bitField0_ |= 0x04000000; - break; - } // case 192 - case 201: { - clickThroughRate_ = input.readDouble(); - bitField0_ |= 0x08000000; - break; - } // case 201 - case 209: { - conversions_ = input.readDouble(); - bitField0_ |= 0x10000000; - break; - } // case 209 - case 218: { - input.readMessage( - getConversionValueFieldBuilder().getBuilder(), - extensionRegistry); - bitField0_ |= 0x20000000; - break; - } // case 218 - case 225: { - conversionRate_ = input.readDouble(); - bitField0_ |= 0x40000000; - break; - } // case 225 - case 232: { - accountId_ = input.readInt64(); - bitField0_ |= 0x00000010; - break; - } // case 232 - case 242: { - accountDisplayName_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000020; - break; - } // case 242 - case 250: { - externalAccountId_ = input.readStringRequireUtf8(); - bitField0_ |= 0x00000040; - break; - } // case 250 - default: { - if (!super.parseUnknownField(input, extensionRegistry, tag)) { - done = true; // was an endgroup tag - } - break; - } // default: + case 8: + { + marketingMethod_ = input.readEnum(); + bitField0_ |= 0x00000001; + break; + } // case 8 + case 18: + { + input.readMessage(getDateFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000002; + break; + } // case 18 + case 26: + { + input.readMessage(getWeekFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x00000004; + break; + } // case 26 + case 34: + { + customerCountryCode_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000008; + break; + } // case 34 + case 42: + { + offerId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000080; + break; + } // case 42 + case 50: + { + title_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000100; + break; + } // case 50 + case 58: + { + brand_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000200; + break; + } // case 58 + case 66: + { + categoryL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000400; + break; + } // case 66 + case 74: + { + categoryL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000800; + break; + } // case 74 + case 82: + { + categoryL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00001000; + break; + } // case 82 + case 90: + { + categoryL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00002000; + break; + } // case 90 + case 98: + { + categoryL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00004000; + break; + } // case 98 + case 106: + { + productTypeL1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00008000; + break; + } // case 106 + case 114: + { + productTypeL2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00010000; + break; + } // case 114 + case 122: + { + productTypeL3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00020000; + break; + } // case 122 + case 130: + { + productTypeL4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00040000; + break; + } // case 130 + case 138: + { + productTypeL5_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00080000; + break; + } // case 138 + case 146: + { + customLabel0_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00100000; + break; + } // case 146 + case 154: + { + customLabel1_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00200000; + break; + } // case 154 + case 162: + { + customLabel2_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00400000; + break; + } // case 162 + case 170: + { + customLabel3_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00800000; + break; + } // case 170 + case 178: + { + customLabel4_ = input.readStringRequireUtf8(); + bitField0_ |= 0x01000000; + break; + } // case 178 + case 184: + { + clicks_ = input.readInt64(); + bitField0_ |= 0x02000000; + break; + } // case 184 + case 192: + { + impressions_ = input.readInt64(); + bitField0_ |= 0x04000000; + break; + } // case 192 + case 201: + { + clickThroughRate_ = input.readDouble(); + bitField0_ |= 0x08000000; + break; + } // case 201 + case 209: + { + conversions_ = input.readDouble(); + bitField0_ |= 0x10000000; + break; + } // case 209 + case 218: + { + input.readMessage(getConversionValueFieldBuilder().getBuilder(), extensionRegistry); + bitField0_ |= 0x20000000; + break; + } // case 218 + case 225: + { + conversionRate_ = input.readDouble(); + bitField0_ |= 0x40000000; + break; + } // case 225 + case 232: + { + accountId_ = input.readInt64(); + bitField0_ |= 0x00000010; + break; + } // case 232 + case 242: + { + accountDisplayName_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000020; + break; + } // case 242 + case 250: + { + externalAccountId_ = input.readStringRequireUtf8(); + bitField0_ |= 0x00000040; + break; + } // case 250 + 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) { @@ -3032,37 +3289,55 @@ public Builder mergeFrom( } // finally return this; } + private int bitField0_; private int marketingMethod_ = 0; /** + * + * * * Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return Whether the marketingMethod field is set. */ - @java.lang.Override public boolean hasMarketingMethod() { + @java.lang.Override + public boolean hasMarketingMethod() { return ((bitField0_ & 0x00000001) != 0); } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The enum numeric value on the wire for marketingMethod. */ - @java.lang.Override public int getMarketingMethodValue() { + @java.lang.Override + public int getMarketingMethodValue() { return marketingMethod_; } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @param value The enum numeric value on the wire for marketingMethod to set. * @return This builder for chaining. */ @@ -3073,28 +3348,45 @@ public Builder setMarketingMethodValue(int value) { return this; } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The marketingMethod. */ @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum getMarketingMethod() { - com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum result = com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.forNumber(marketingMethod_); - return result == null ? com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.UNRECOGNIZED : result; + public com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum + getMarketingMethod() { + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum result = + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum.forNumber( + marketingMethod_); + return result == null + ? com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum + .UNRECOGNIZED + : result; } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @param value The marketingMethod to set. * @return This builder for chaining. */ - public Builder setMarketingMethod(com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum value) { + public Builder setMarketingMethod( + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum value) { if (value == null) { throw new NullPointerException(); } @@ -3104,11 +3396,16 @@ public Builder setMarketingMethod(com.google.shopping.merchant.reports.v1beta.Ma return this; } /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return This builder for chaining. */ public Builder clearMarketingMethod() { @@ -3120,8 +3417,11 @@ public Builder clearMarketingMethod() { private com.google.type.Date date_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> dateBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + dateBuilder_; /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3129,12 +3429,15 @@ public Builder clearMarketingMethod() { ** *.google.type.Date date = 2;
+ * * @return Whether the date field is set. */ public boolean hasDate() { return ((bitField0_ & 0x00000002) != 0); } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3142,6 +3445,7 @@ public boolean hasDate() { ** *.google.type.Date date = 2;
+ * * @return The date. */ public com.google.type.Date getDate() { @@ -3152,6 +3456,8 @@ public com.google.type.Date getDate() { } } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3174,6 +3480,8 @@ public Builder setDate(com.google.type.Date value) { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3182,8 +3490,7 @@ public Builder setDate(com.google.type.Date value) { * *.google.type.Date date = 2;
*/ - public Builder setDate( - com.google.type.Date.Builder builderForValue) { + public Builder setDate(com.google.type.Date.Builder builderForValue) { if (dateBuilder_ == null) { date_ = builderForValue.build(); } else { @@ -3194,6 +3501,8 @@ public Builder setDate( return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3204,9 +3513,9 @@ public Builder setDate( */ public Builder mergeDate(com.google.type.Date value) { if (dateBuilder_ == null) { - if (((bitField0_ & 0x00000002) != 0) && - date_ != null && - date_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000002) != 0) + && date_ != null + && date_ != com.google.type.Date.getDefaultInstance()) { getDateBuilder().mergeFrom(value); } else { date_ = value; @@ -3219,6 +3528,8 @@ public Builder mergeDate(com.google.type.Date value) { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3238,6 +3549,8 @@ public Builder clearDate() { return this; } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3252,6 +3565,8 @@ public com.google.type.Date.Builder getDateBuilder() { return getDateFieldBuilder().getBuilder(); } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3264,11 +3579,12 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { if (dateBuilder_ != null) { return dateBuilder_.getMessageOrBuilder(); } else { - return date_ == null ? - com.google.type.Date.getDefaultInstance() : date_; + return date_ == null ? com.google.type.Date.getDefaultInstance() : date_; } } /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -3278,14 +3594,13 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { *.google.type.Date date = 2;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getDateFieldBuilder() { if (dateBuilder_ == null) { - dateBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getDate(), - getParentForChildren(), - isClean()); + dateBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getDate(), getParentForChildren(), isClean()); date_ = null; } return dateBuilder_; @@ -3293,26 +3608,33 @@ public com.google.type.DateOrBuilder getDateOrBuilder() { private com.google.type.Date week_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> weekBuilder_; + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + weekBuilder_; /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return Whether the week field is set. */ public boolean hasWeek() { return ((bitField0_ & 0x00000004) != 0); } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return The week. */ public com.google.type.Date getWeek() { @@ -3323,6 +3645,8 @@ public com.google.type.Date getWeek() { } } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3344,6 +3668,8 @@ public Builder setWeek(com.google.type.Date value) { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3351,8 +3677,7 @@ public Builder setWeek(com.google.type.Date value) { * *.google.type.Date week = 3;
*/ - public Builder setWeek( - com.google.type.Date.Builder builderForValue) { + public Builder setWeek(com.google.type.Date.Builder builderForValue) { if (weekBuilder_ == null) { week_ = builderForValue.build(); } else { @@ -3363,6 +3688,8 @@ public Builder setWeek( return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3372,9 +3699,9 @@ public Builder setWeek( */ public Builder mergeWeek(com.google.type.Date value) { if (weekBuilder_ == null) { - if (((bitField0_ & 0x00000004) != 0) && - week_ != null && - week_ != com.google.type.Date.getDefaultInstance()) { + if (((bitField0_ & 0x00000004) != 0) + && week_ != null + && week_ != com.google.type.Date.getDefaultInstance()) { getWeekBuilder().mergeFrom(value); } else { week_ = value; @@ -3387,6 +3714,8 @@ public Builder mergeWeek(com.google.type.Date value) { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3405,6 +3734,8 @@ public Builder clearWeek() { return this; } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3418,6 +3749,8 @@ public com.google.type.Date.Builder getWeekBuilder() { return getWeekFieldBuilder().getBuilder(); } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3429,11 +3762,12 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { if (weekBuilder_ != null) { return weekBuilder_.getMessageOrBuilder(); } else { - return week_ == null ? - com.google.type.Date.getDefaultInstance() : week_; + return week_ == null ? com.google.type.Date.getDefaultInstance() : week_; } } /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -3442,14 +3776,13 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { *.google.type.Date week = 3;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder> getWeekFieldBuilder() { if (weekBuilder_ == null) { - weekBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( - getWeek(), - getParentForChildren(), - isClean()); + weekBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.type.Date, com.google.type.Date.Builder, com.google.type.DateOrBuilder>( + getWeek(), getParentForChildren(), isClean()); week_ = null; } return weekBuilder_; @@ -3457,6 +3790,8 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { private java.lang.Object customerCountryCode_ = ""; /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3466,12 +3801,15 @@ public com.google.type.DateOrBuilder getWeekOrBuilder() { ** *optional string customer_country_code = 4;
+ * * @return Whether the customerCountryCode field is set. */ public boolean hasCustomerCountryCode() { return ((bitField0_ & 0x00000008) != 0); } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3481,13 +3819,13 @@ public boolean hasCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @return The customerCountryCode. */ public java.lang.String getCustomerCountryCode() { java.lang.Object ref = customerCountryCode_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customerCountryCode_ = s; return s; @@ -3496,6 +3834,8 @@ public java.lang.String getCustomerCountryCode() { } } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3505,15 +3845,14 @@ public java.lang.String getCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @return The bytes for customerCountryCode. */ - public com.google.protobuf.ByteString - getCustomerCountryCodeBytes() { + public com.google.protobuf.ByteString getCustomerCountryCodeBytes() { java.lang.Object ref = customerCountryCode_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customerCountryCode_ = b; return b; } else { @@ -3521,6 +3860,8 @@ public java.lang.String getCustomerCountryCode() { } } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3530,18 +3871,22 @@ public java.lang.String getCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @param value The customerCountryCode to set. * @return This builder for chaining. */ - public Builder setCustomerCountryCode( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerCountryCode(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customerCountryCode_ = value; bitField0_ |= 0x00000008; onChanged(); return this; } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3551,6 +3896,7 @@ public Builder setCustomerCountryCode( ** *optional string customer_country_code = 4;
+ * * @return This builder for chaining. */ public Builder clearCustomerCountryCode() { @@ -3560,6 +3906,8 @@ public Builder clearCustomerCountryCode() { return this; } /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -3569,12 +3917,14 @@ public Builder clearCustomerCountryCode() { ** *optional string customer_country_code = 4;
+ * * @param value The bytes for customerCountryCode to set. * @return This builder for chaining. */ - public Builder setCustomerCountryCodeBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomerCountryCodeBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customerCountryCode_ = value; bitField0_ |= 0x00000008; @@ -3582,8 +3932,10 @@ public Builder setCustomerCountryCodeBytes( return this; } - private long accountId_ ; + private long accountId_; /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -3591,6 +3943,7 @@ public Builder setCustomerCountryCodeBytes( ** *optional int64 account_id = 29;
+ * * @return Whether the accountId field is set. */ @java.lang.Override @@ -3598,6 +3951,8 @@ public boolean hasAccountId() { return ((bitField0_ & 0x00000010) != 0); } /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -3605,6 +3960,7 @@ public boolean hasAccountId() { ** *optional int64 account_id = 29;
+ * * @return The accountId. */ @java.lang.Override @@ -3612,6 +3968,8 @@ public long getAccountId() { return accountId_; } /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -3619,6 +3977,7 @@ public long getAccountId() { ** *optional int64 account_id = 29;
+ * * @param value The accountId to set. * @return This builder for chaining. */ @@ -3630,6 +3989,8 @@ public Builder setAccountId(long value) { return this; } /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -3637,6 +3998,7 @@ public Builder setAccountId(long value) { ** *optional int64 account_id = 29;
+ * * @return This builder for chaining. */ public Builder clearAccountId() { @@ -3648,6 +4010,8 @@ public Builder clearAccountId() { private java.lang.Object accountDisplayName_ = ""; /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3655,12 +4019,15 @@ public Builder clearAccountId() { ** *optional string account_display_name = 30;
+ * * @return Whether the accountDisplayName field is set. */ public boolean hasAccountDisplayName() { return ((bitField0_ & 0x00000020) != 0); } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3668,13 +4035,13 @@ public boolean hasAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @return The accountDisplayName. */ public java.lang.String getAccountDisplayName() { java.lang.Object ref = accountDisplayName_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); accountDisplayName_ = s; return s; @@ -3683,6 +4050,8 @@ public java.lang.String getAccountDisplayName() { } } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3690,15 +4059,14 @@ public java.lang.String getAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @return The bytes for accountDisplayName. */ - public com.google.protobuf.ByteString - getAccountDisplayNameBytes() { + public com.google.protobuf.ByteString getAccountDisplayNameBytes() { java.lang.Object ref = accountDisplayName_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); accountDisplayName_ = b; return b; } else { @@ -3706,6 +4074,8 @@ public java.lang.String getAccountDisplayName() { } } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3713,18 +4083,22 @@ public java.lang.String getAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @param value The accountDisplayName to set. * @return This builder for chaining. */ - public Builder setAccountDisplayName( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountDisplayName(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } accountDisplayName_ = value; bitField0_ |= 0x00000020; onChanged(); return this; } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3732,6 +4106,7 @@ public Builder setAccountDisplayName( ** *optional string account_display_name = 30;
+ * * @return This builder for chaining. */ public Builder clearAccountDisplayName() { @@ -3741,6 +4116,8 @@ public Builder clearAccountDisplayName() { return this; } /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -3748,12 +4125,14 @@ public Builder clearAccountDisplayName() { ** *optional string account_display_name = 30;
+ * * @param value The bytes for accountDisplayName to set. * @return This builder for chaining. */ - public Builder setAccountDisplayNameBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setAccountDisplayNameBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); accountDisplayName_ = value; bitField0_ |= 0x00000020; @@ -3763,6 +4142,8 @@ public Builder setAccountDisplayNameBytes( private java.lang.Object externalAccountId_ = ""; /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3774,12 +4155,15 @@ public Builder setAccountDisplayNameBytes( ** *optional string external_account_id = 31;
+ * * @return Whether the externalAccountId field is set. */ public boolean hasExternalAccountId() { return ((bitField0_ & 0x00000040) != 0); } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3791,13 +4175,13 @@ public boolean hasExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @return The externalAccountId. */ public java.lang.String getExternalAccountId() { java.lang.Object ref = externalAccountId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); externalAccountId_ = s; return s; @@ -3806,6 +4190,8 @@ public java.lang.String getExternalAccountId() { } } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3817,15 +4203,14 @@ public java.lang.String getExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @return The bytes for externalAccountId. */ - public com.google.protobuf.ByteString - getExternalAccountIdBytes() { + public com.google.protobuf.ByteString getExternalAccountIdBytes() { java.lang.Object ref = externalAccountId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); externalAccountId_ = b; return b; } else { @@ -3833,6 +4218,8 @@ public java.lang.String getExternalAccountId() { } } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3844,18 +4231,22 @@ public java.lang.String getExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @param value The externalAccountId to set. * @return This builder for chaining. */ - public Builder setExternalAccountId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalAccountId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } externalAccountId_ = value; bitField0_ |= 0x00000040; onChanged(); return this; } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3867,6 +4258,7 @@ public Builder setExternalAccountId( ** *optional string external_account_id = 31;
+ * * @return This builder for chaining. */ public Builder clearExternalAccountId() { @@ -3876,6 +4268,8 @@ public Builder clearExternalAccountId() { return this; } /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -3887,12 +4281,14 @@ public Builder clearExternalAccountId() { ** *optional string external_account_id = 31;
+ * * @param value The bytes for externalAccountId to set. * @return This builder for chaining. */ - public Builder setExternalAccountIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setExternalAccountIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); externalAccountId_ = value; bitField0_ |= 0x00000040; @@ -3902,29 +4298,34 @@ public Builder setExternalAccountIdBytes( private java.lang.Object offerId_ = ""; /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return Whether the offerId field is set. */ public boolean hasOfferId() { return ((bitField0_ & 0x00000080) != 0); } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The offerId. */ public java.lang.String getOfferId() { java.lang.Object ref = offerId_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); offerId_ = s; return s; @@ -3933,20 +4334,21 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The bytes for offerId. */ - public com.google.protobuf.ByteString - getOfferIdBytes() { + public com.google.protobuf.ByteString getOfferIdBytes() { java.lang.Object ref = offerId_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); offerId_ = b; return b; } else { @@ -3954,28 +4356,35 @@ public java.lang.String getOfferId() { } } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @param value The offerId to set. * @return This builder for chaining. */ - public Builder setOfferId( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferId(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } offerId_ = value; bitField0_ |= 0x00000080; onChanged(); return this; } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return This builder for chaining. */ public Builder clearOfferId() { @@ -3985,17 +4394,21 @@ public Builder clearOfferId() { return this; } /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @param value The bytes for offerId to set. * @return This builder for chaining. */ - public Builder setOfferIdBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setOfferIdBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); offerId_ = value; bitField0_ |= 0x00000080; @@ -4005,29 +4418,34 @@ public Builder setOfferIdBytes( private java.lang.Object title_ = ""; /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ public boolean hasTitle() { return ((bitField0_ & 0x00000100) != 0); } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The title. */ public java.lang.String getTitle() { java.lang.Object ref = title_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); title_ = s; return s; @@ -4036,20 +4454,21 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The bytes for title. */ - public com.google.protobuf.ByteString - getTitleBytes() { + public com.google.protobuf.ByteString getTitleBytes() { java.lang.Object ref = title_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); title_ = b; return b; } else { @@ -4057,28 +4476,35 @@ public java.lang.String getTitle() { } } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @param value The title to set. * @return This builder for chaining. */ - public Builder setTitle( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitle(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } title_ = value; bitField0_ |= 0x00000100; onChanged(); return this; } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return This builder for chaining. */ public Builder clearTitle() { @@ -4088,17 +4514,21 @@ public Builder clearTitle() { return this; } /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @param value The bytes for title to set. * @return This builder for chaining. */ - public Builder setTitleBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setTitleBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); title_ = value; bitField0_ |= 0x00000100; @@ -4108,29 +4538,34 @@ public Builder setTitleBytes( private java.lang.Object brand_ = ""; /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ public boolean hasBrand() { return ((bitField0_ & 0x00000200) != 0); } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The brand. */ public java.lang.String getBrand() { java.lang.Object ref = brand_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); brand_ = s; return s; @@ -4139,20 +4574,21 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ - public com.google.protobuf.ByteString - getBrandBytes() { + public com.google.protobuf.ByteString getBrandBytes() { java.lang.Object ref = brand_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); brand_ = b; return b; } else { @@ -4160,28 +4596,35 @@ public java.lang.String getBrand() { } } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @param value The brand to set. * @return This builder for chaining. */ - public Builder setBrand( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrand(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } brand_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return This builder for chaining. */ public Builder clearBrand() { @@ -4191,17 +4634,21 @@ public Builder clearBrand() { return this; } /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @param value The bytes for brand to set. * @return This builder for chaining. */ - public Builder setBrandBytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setBrandBytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); brand_ = value; bitField0_ |= 0x00000200; @@ -4211,6 +4658,8 @@ public Builder setBrandBytes( private java.lang.Object categoryL1_ = ""; /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4218,12 +4667,15 @@ public Builder setBrandBytes( ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ public boolean hasCategoryL1() { return ((bitField0_ & 0x00000400) != 0); } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4231,13 +4683,13 @@ public boolean hasCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ public java.lang.String getCategoryL1() { java.lang.Object ref = categoryL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL1_ = s; return s; @@ -4246,6 +4698,8 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4253,15 +4707,14 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ - public com.google.protobuf.ByteString - getCategoryL1Bytes() { + public com.google.protobuf.ByteString getCategoryL1Bytes() { java.lang.Object ref = categoryL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL1_ = b; return b; } else { @@ -4269,6 +4722,8 @@ public java.lang.String getCategoryL1() { } } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4276,18 +4731,22 @@ public java.lang.String getCategoryL1() { ** *optional string category_l1 = 8;
+ * * @param value The categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL1_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4295,6 +4754,7 @@ public Builder setCategoryL1( ** *optional string category_l1 = 8;
+ * * @return This builder for chaining. */ public Builder clearCategoryL1() { @@ -4304,6 +4764,8 @@ public Builder clearCategoryL1() { return this; } /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4311,12 +4773,14 @@ public Builder clearCategoryL1() { ** *optional string category_l1 = 8;
+ * * @param value The bytes for categoryL1 to set. * @return This builder for chaining. */ - public Builder setCategoryL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL1_ = value; bitField0_ |= 0x00000400; @@ -4326,6 +4790,8 @@ public Builder setCategoryL1Bytes( private java.lang.Object categoryL2_ = ""; /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4333,12 +4799,15 @@ public Builder setCategoryL1Bytes( ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ public boolean hasCategoryL2() { return ((bitField0_ & 0x00000800) != 0); } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4346,13 +4815,13 @@ public boolean hasCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ public java.lang.String getCategoryL2() { java.lang.Object ref = categoryL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL2_ = s; return s; @@ -4361,6 +4830,8 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4368,15 +4839,14 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ - public com.google.protobuf.ByteString - getCategoryL2Bytes() { + public com.google.protobuf.ByteString getCategoryL2Bytes() { java.lang.Object ref = categoryL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL2_ = b; return b; } else { @@ -4384,6 +4854,8 @@ public java.lang.String getCategoryL2() { } } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4391,18 +4863,22 @@ public java.lang.String getCategoryL2() { ** *optional string category_l2 = 9;
+ * * @param value The categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL2_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4410,6 +4886,7 @@ public Builder setCategoryL2( ** *optional string category_l2 = 9;
+ * * @return This builder for chaining. */ public Builder clearCategoryL2() { @@ -4419,6 +4896,8 @@ public Builder clearCategoryL2() { return this; } /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4426,12 +4905,14 @@ public Builder clearCategoryL2() { ** *optional string category_l2 = 9;
+ * * @param value The bytes for categoryL2 to set. * @return This builder for chaining. */ - public Builder setCategoryL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL2_ = value; bitField0_ |= 0x00000800; @@ -4441,6 +4922,8 @@ public Builder setCategoryL2Bytes( private java.lang.Object categoryL3_ = ""; /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4448,12 +4931,15 @@ public Builder setCategoryL2Bytes( ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ public boolean hasCategoryL3() { return ((bitField0_ & 0x00001000) != 0); } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4461,13 +4947,13 @@ public boolean hasCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ public java.lang.String getCategoryL3() { java.lang.Object ref = categoryL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL3_ = s; return s; @@ -4476,6 +4962,8 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4483,15 +4971,14 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ - public com.google.protobuf.ByteString - getCategoryL3Bytes() { + public com.google.protobuf.ByteString getCategoryL3Bytes() { java.lang.Object ref = categoryL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL3_ = b; return b; } else { @@ -4499,6 +4986,8 @@ public java.lang.String getCategoryL3() { } } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4506,18 +4995,22 @@ public java.lang.String getCategoryL3() { ** *optional string category_l3 = 10;
+ * * @param value The categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL3_ = value; bitField0_ |= 0x00001000; onChanged(); return this; } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4525,6 +5018,7 @@ public Builder setCategoryL3( ** *optional string category_l3 = 10;
+ * * @return This builder for chaining. */ public Builder clearCategoryL3() { @@ -4534,6 +5028,8 @@ public Builder clearCategoryL3() { return this; } /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4541,12 +5037,14 @@ public Builder clearCategoryL3() { ** *optional string category_l3 = 10;
+ * * @param value The bytes for categoryL3 to set. * @return This builder for chaining. */ - public Builder setCategoryL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL3_ = value; bitField0_ |= 0x00001000; @@ -4556,6 +5054,8 @@ public Builder setCategoryL3Bytes( private java.lang.Object categoryL4_ = ""; /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4563,12 +5063,15 @@ public Builder setCategoryL3Bytes( ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ public boolean hasCategoryL4() { return ((bitField0_ & 0x00002000) != 0); } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4576,13 +5079,13 @@ public boolean hasCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ public java.lang.String getCategoryL4() { java.lang.Object ref = categoryL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL4_ = s; return s; @@ -4591,6 +5094,8 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4598,15 +5103,14 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ - public com.google.protobuf.ByteString - getCategoryL4Bytes() { + public com.google.protobuf.ByteString getCategoryL4Bytes() { java.lang.Object ref = categoryL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL4_ = b; return b; } else { @@ -4614,6 +5118,8 @@ public java.lang.String getCategoryL4() { } } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4621,18 +5127,22 @@ public java.lang.String getCategoryL4() { ** *optional string category_l4 = 11;
+ * * @param value The categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL4_ = value; bitField0_ |= 0x00002000; onChanged(); return this; } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4640,6 +5150,7 @@ public Builder setCategoryL4( ** *optional string category_l4 = 11;
+ * * @return This builder for chaining. */ public Builder clearCategoryL4() { @@ -4649,6 +5160,8 @@ public Builder clearCategoryL4() { return this; } /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4656,12 +5169,14 @@ public Builder clearCategoryL4() { ** *optional string category_l4 = 11;
+ * * @param value The bytes for categoryL4 to set. * @return This builder for chaining. */ - public Builder setCategoryL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL4_ = value; bitField0_ |= 0x00002000; @@ -4671,6 +5186,8 @@ public Builder setCategoryL4Bytes( private java.lang.Object categoryL5_ = ""; /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4678,12 +5195,15 @@ public Builder setCategoryL4Bytes( ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ public boolean hasCategoryL5() { return ((bitField0_ & 0x00004000) != 0); } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4691,13 +5211,13 @@ public boolean hasCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ public java.lang.String getCategoryL5() { java.lang.Object ref = categoryL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); categoryL5_ = s; return s; @@ -4706,6 +5226,8 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4713,15 +5235,14 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ - public com.google.protobuf.ByteString - getCategoryL5Bytes() { + public com.google.protobuf.ByteString getCategoryL5Bytes() { java.lang.Object ref = categoryL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); categoryL5_ = b; return b; } else { @@ -4729,6 +5250,8 @@ public java.lang.String getCategoryL5() { } } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4736,18 +5259,22 @@ public java.lang.String getCategoryL5() { ** *optional string category_l5 = 12;
+ * * @param value The categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } categoryL5_ = value; bitField0_ |= 0x00004000; onChanged(); return this; } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4755,6 +5282,7 @@ public Builder setCategoryL5( ** *optional string category_l5 = 12;
+ * * @return This builder for chaining. */ public Builder clearCategoryL5() { @@ -4764,6 +5292,8 @@ public Builder clearCategoryL5() { return this; } /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4771,12 +5301,14 @@ public Builder clearCategoryL5() { ** *optional string category_l5 = 12;
+ * * @param value The bytes for categoryL5 to set. * @return This builder for chaining. */ - public Builder setCategoryL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCategoryL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); categoryL5_ = value; bitField0_ |= 0x00004000; @@ -4786,6 +5318,8 @@ public Builder setCategoryL5Bytes( private java.lang.Object productTypeL1_ = ""; /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4793,12 +5327,15 @@ public Builder setCategoryL5Bytes( ** *optional string product_type_l1 = 13;
+ * * @return Whether the productTypeL1 field is set. */ public boolean hasProductTypeL1() { return ((bitField0_ & 0x00008000) != 0); } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4806,13 +5343,13 @@ public boolean hasProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @return The productTypeL1. */ public java.lang.String getProductTypeL1() { java.lang.Object ref = productTypeL1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL1_ = s; return s; @@ -4821,6 +5358,8 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4828,15 +5367,14 @@ public java.lang.String getProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @return The bytes for productTypeL1. */ - public com.google.protobuf.ByteString - getProductTypeL1Bytes() { + public com.google.protobuf.ByteString getProductTypeL1Bytes() { java.lang.Object ref = productTypeL1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL1_ = b; return b; } else { @@ -4844,6 +5382,8 @@ public java.lang.String getProductTypeL1() { } } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4851,18 +5391,22 @@ public java.lang.String getProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @param value The productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL1_ = value; bitField0_ |= 0x00008000; onChanged(); return this; } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4870,6 +5414,7 @@ public Builder setProductTypeL1( ** *optional string product_type_l1 = 13;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL1() { @@ -4879,6 +5424,8 @@ public Builder clearProductTypeL1() { return this; } /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4886,12 +5433,14 @@ public Builder clearProductTypeL1() { ** *optional string product_type_l1 = 13;
+ * * @param value The bytes for productTypeL1 to set. * @return This builder for chaining. */ - public Builder setProductTypeL1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL1_ = value; bitField0_ |= 0x00008000; @@ -4901,6 +5450,8 @@ public Builder setProductTypeL1Bytes( private java.lang.Object productTypeL2_ = ""; /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4908,12 +5459,15 @@ public Builder setProductTypeL1Bytes( ** *optional string product_type_l2 = 14;
+ * * @return Whether the productTypeL2 field is set. */ public boolean hasProductTypeL2() { return ((bitField0_ & 0x00010000) != 0); } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4921,13 +5475,13 @@ public boolean hasProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @return The productTypeL2. */ public java.lang.String getProductTypeL2() { java.lang.Object ref = productTypeL2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL2_ = s; return s; @@ -4936,6 +5490,8 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4943,15 +5499,14 @@ public java.lang.String getProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @return The bytes for productTypeL2. */ - public com.google.protobuf.ByteString - getProductTypeL2Bytes() { + public com.google.protobuf.ByteString getProductTypeL2Bytes() { java.lang.Object ref = productTypeL2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL2_ = b; return b; } else { @@ -4959,6 +5514,8 @@ public java.lang.String getProductTypeL2() { } } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4966,18 +5523,22 @@ public java.lang.String getProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @param value The productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL2_ = value; bitField0_ |= 0x00010000; onChanged(); return this; } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -4985,6 +5546,7 @@ public Builder setProductTypeL2( ** *optional string product_type_l2 = 14;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL2() { @@ -4994,6 +5556,8 @@ public Builder clearProductTypeL2() { return this; } /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5001,12 +5565,14 @@ public Builder clearProductTypeL2() { ** *optional string product_type_l2 = 14;
+ * * @param value The bytes for productTypeL2 to set. * @return This builder for chaining. */ - public Builder setProductTypeL2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL2_ = value; bitField0_ |= 0x00010000; @@ -5016,6 +5582,8 @@ public Builder setProductTypeL2Bytes( private java.lang.Object productTypeL3_ = ""; /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5023,12 +5591,15 @@ public Builder setProductTypeL2Bytes( ** *optional string product_type_l3 = 15;
+ * * @return Whether the productTypeL3 field is set. */ public boolean hasProductTypeL3() { return ((bitField0_ & 0x00020000) != 0); } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5036,13 +5607,13 @@ public boolean hasProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @return The productTypeL3. */ public java.lang.String getProductTypeL3() { java.lang.Object ref = productTypeL3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL3_ = s; return s; @@ -5051,6 +5622,8 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5058,15 +5631,14 @@ public java.lang.String getProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @return The bytes for productTypeL3. */ - public com.google.protobuf.ByteString - getProductTypeL3Bytes() { + public com.google.protobuf.ByteString getProductTypeL3Bytes() { java.lang.Object ref = productTypeL3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL3_ = b; return b; } else { @@ -5074,6 +5646,8 @@ public java.lang.String getProductTypeL3() { } } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5081,18 +5655,22 @@ public java.lang.String getProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @param value The productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL3_ = value; bitField0_ |= 0x00020000; onChanged(); return this; } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5100,6 +5678,7 @@ public Builder setProductTypeL3( ** *optional string product_type_l3 = 15;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL3() { @@ -5109,6 +5688,8 @@ public Builder clearProductTypeL3() { return this; } /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5116,12 +5697,14 @@ public Builder clearProductTypeL3() { ** *optional string product_type_l3 = 15;
+ * * @param value The bytes for productTypeL3 to set. * @return This builder for chaining. */ - public Builder setProductTypeL3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL3_ = value; bitField0_ |= 0x00020000; @@ -5131,6 +5714,8 @@ public Builder setProductTypeL3Bytes( private java.lang.Object productTypeL4_ = ""; /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5138,12 +5723,15 @@ public Builder setProductTypeL3Bytes( ** *optional string product_type_l4 = 16;
+ * * @return Whether the productTypeL4 field is set. */ public boolean hasProductTypeL4() { return ((bitField0_ & 0x00040000) != 0); } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5151,13 +5739,13 @@ public boolean hasProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @return The productTypeL4. */ public java.lang.String getProductTypeL4() { java.lang.Object ref = productTypeL4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL4_ = s; return s; @@ -5166,6 +5754,8 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5173,15 +5763,14 @@ public java.lang.String getProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @return The bytes for productTypeL4. */ - public com.google.protobuf.ByteString - getProductTypeL4Bytes() { + public com.google.protobuf.ByteString getProductTypeL4Bytes() { java.lang.Object ref = productTypeL4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL4_ = b; return b; } else { @@ -5189,6 +5778,8 @@ public java.lang.String getProductTypeL4() { } } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5196,18 +5787,22 @@ public java.lang.String getProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @param value The productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL4_ = value; bitField0_ |= 0x00040000; onChanged(); return this; } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5215,6 +5810,7 @@ public Builder setProductTypeL4( ** *optional string product_type_l4 = 16;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL4() { @@ -5224,6 +5820,8 @@ public Builder clearProductTypeL4() { return this; } /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5231,12 +5829,14 @@ public Builder clearProductTypeL4() { ** *optional string product_type_l4 = 16;
+ * * @param value The bytes for productTypeL4 to set. * @return This builder for chaining. */ - public Builder setProductTypeL4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL4_ = value; bitField0_ |= 0x00040000; @@ -5246,6 +5846,8 @@ public Builder setProductTypeL4Bytes( private java.lang.Object productTypeL5_ = ""; /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5253,12 +5855,15 @@ public Builder setProductTypeL4Bytes( ** *optional string product_type_l5 = 17;
+ * * @return Whether the productTypeL5 field is set. */ public boolean hasProductTypeL5() { return ((bitField0_ & 0x00080000) != 0); } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5266,13 +5871,13 @@ public boolean hasProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @return The productTypeL5. */ public java.lang.String getProductTypeL5() { java.lang.Object ref = productTypeL5_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); productTypeL5_ = s; return s; @@ -5281,6 +5886,8 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5288,15 +5895,14 @@ public java.lang.String getProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @return The bytes for productTypeL5. */ - public com.google.protobuf.ByteString - getProductTypeL5Bytes() { + public com.google.protobuf.ByteString getProductTypeL5Bytes() { java.lang.Object ref = productTypeL5_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); productTypeL5_ = b; return b; } else { @@ -5304,6 +5910,8 @@ public java.lang.String getProductTypeL5() { } } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5311,18 +5919,22 @@ public java.lang.String getProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @param value The productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } productTypeL5_ = value; bitField0_ |= 0x00080000; onChanged(); return this; } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5330,6 +5942,7 @@ public Builder setProductTypeL5( ** *optional string product_type_l5 = 17;
+ * * @return This builder for chaining. */ public Builder clearProductTypeL5() { @@ -5339,6 +5952,8 @@ public Builder clearProductTypeL5() { return this; } /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -5346,12 +5961,14 @@ public Builder clearProductTypeL5() { ** *optional string product_type_l5 = 17;
+ * * @param value The bytes for productTypeL5 to set. * @return This builder for chaining. */ - public Builder setProductTypeL5Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setProductTypeL5Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); productTypeL5_ = value; bitField0_ |= 0x00080000; @@ -5361,29 +5978,34 @@ public Builder setProductTypeL5Bytes( private java.lang.Object customLabel0_ = ""; /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return Whether the customLabel0 field is set. */ public boolean hasCustomLabel0() { return ((bitField0_ & 0x00100000) != 0); } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The customLabel0. */ public java.lang.String getCustomLabel0() { java.lang.Object ref = customLabel0_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel0_ = s; return s; @@ -5392,20 +6014,21 @@ public java.lang.String getCustomLabel0() { } } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The bytes for customLabel0. */ - public com.google.protobuf.ByteString - getCustomLabel0Bytes() { + public com.google.protobuf.ByteString getCustomLabel0Bytes() { java.lang.Object ref = customLabel0_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel0_ = b; return b; } else { @@ -5413,28 +6036,35 @@ public java.lang.String getCustomLabel0() { } } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @param value The customLabel0 to set. * @return This builder for chaining. */ - public Builder setCustomLabel0( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel0(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customLabel0_ = value; bitField0_ |= 0x00100000; onChanged(); return this; } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return This builder for chaining. */ public Builder clearCustomLabel0() { @@ -5444,17 +6074,21 @@ public Builder clearCustomLabel0() { return this; } /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @param value The bytes for customLabel0 to set. * @return This builder for chaining. */ - public Builder setCustomLabel0Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel0Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customLabel0_ = value; bitField0_ |= 0x00100000; @@ -5464,29 +6098,34 @@ public Builder setCustomLabel0Bytes( private java.lang.Object customLabel1_ = ""; /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return Whether the customLabel1 field is set. */ public boolean hasCustomLabel1() { return ((bitField0_ & 0x00200000) != 0); } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The customLabel1. */ public java.lang.String getCustomLabel1() { java.lang.Object ref = customLabel1_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel1_ = s; return s; @@ -5495,20 +6134,21 @@ public java.lang.String getCustomLabel1() { } } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The bytes for customLabel1. */ - public com.google.protobuf.ByteString - getCustomLabel1Bytes() { + public com.google.protobuf.ByteString getCustomLabel1Bytes() { java.lang.Object ref = customLabel1_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel1_ = b; return b; } else { @@ -5516,28 +6156,35 @@ public java.lang.String getCustomLabel1() { } } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @param value The customLabel1 to set. * @return This builder for chaining. */ - public Builder setCustomLabel1( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel1(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customLabel1_ = value; bitField0_ |= 0x00200000; onChanged(); return this; } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return This builder for chaining. */ public Builder clearCustomLabel1() { @@ -5547,17 +6194,21 @@ public Builder clearCustomLabel1() { return this; } /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @param value The bytes for customLabel1 to set. * @return This builder for chaining. */ - public Builder setCustomLabel1Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel1Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customLabel1_ = value; bitField0_ |= 0x00200000; @@ -5567,29 +6218,34 @@ public Builder setCustomLabel1Bytes( private java.lang.Object customLabel2_ = ""; /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return Whether the customLabel2 field is set. */ public boolean hasCustomLabel2() { return ((bitField0_ & 0x00400000) != 0); } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The customLabel2. */ public java.lang.String getCustomLabel2() { java.lang.Object ref = customLabel2_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel2_ = s; return s; @@ -5598,20 +6254,21 @@ public java.lang.String getCustomLabel2() { } } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The bytes for customLabel2. */ - public com.google.protobuf.ByteString - getCustomLabel2Bytes() { + public com.google.protobuf.ByteString getCustomLabel2Bytes() { java.lang.Object ref = customLabel2_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel2_ = b; return b; } else { @@ -5619,28 +6276,35 @@ public java.lang.String getCustomLabel2() { } } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @param value The customLabel2 to set. * @return This builder for chaining. */ - public Builder setCustomLabel2( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel2(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customLabel2_ = value; bitField0_ |= 0x00400000; onChanged(); return this; } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return This builder for chaining. */ public Builder clearCustomLabel2() { @@ -5650,17 +6314,21 @@ public Builder clearCustomLabel2() { return this; } /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @param value The bytes for customLabel2 to set. * @return This builder for chaining. */ - public Builder setCustomLabel2Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel2Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customLabel2_ = value; bitField0_ |= 0x00400000; @@ -5670,29 +6338,34 @@ public Builder setCustomLabel2Bytes( private java.lang.Object customLabel3_ = ""; /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return Whether the customLabel3 field is set. */ public boolean hasCustomLabel3() { return ((bitField0_ & 0x00800000) != 0); } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The customLabel3. */ public java.lang.String getCustomLabel3() { java.lang.Object ref = customLabel3_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel3_ = s; return s; @@ -5701,20 +6374,21 @@ public java.lang.String getCustomLabel3() { } } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The bytes for customLabel3. */ - public com.google.protobuf.ByteString - getCustomLabel3Bytes() { + public com.google.protobuf.ByteString getCustomLabel3Bytes() { java.lang.Object ref = customLabel3_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel3_ = b; return b; } else { @@ -5722,28 +6396,35 @@ public java.lang.String getCustomLabel3() { } } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @param value The customLabel3 to set. * @return This builder for chaining. */ - public Builder setCustomLabel3( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel3(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customLabel3_ = value; bitField0_ |= 0x00800000; onChanged(); return this; } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return This builder for chaining. */ public Builder clearCustomLabel3() { @@ -5753,17 +6434,21 @@ public Builder clearCustomLabel3() { return this; } /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @param value The bytes for customLabel3 to set. * @return This builder for chaining. */ - public Builder setCustomLabel3Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel3Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customLabel3_ = value; bitField0_ |= 0x00800000; @@ -5773,29 +6458,34 @@ public Builder setCustomLabel3Bytes( private java.lang.Object customLabel4_ = ""; /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return Whether the customLabel4 field is set. */ public boolean hasCustomLabel4() { return ((bitField0_ & 0x01000000) != 0); } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The customLabel4. */ public java.lang.String getCustomLabel4() { java.lang.Object ref = customLabel4_; if (!(ref instanceof java.lang.String)) { - com.google.protobuf.ByteString bs = - (com.google.protobuf.ByteString) ref; + com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); customLabel4_ = s; return s; @@ -5804,20 +6494,21 @@ public java.lang.String getCustomLabel4() { } } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The bytes for customLabel4. */ - public com.google.protobuf.ByteString - getCustomLabel4Bytes() { + public com.google.protobuf.ByteString getCustomLabel4Bytes() { java.lang.Object ref = customLabel4_; if (ref instanceof String) { - com.google.protobuf.ByteString b = - com.google.protobuf.ByteString.copyFromUtf8( - (java.lang.String) ref); + com.google.protobuf.ByteString b = + com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref); customLabel4_ = b; return b; } else { @@ -5825,28 +6516,35 @@ public java.lang.String getCustomLabel4() { } } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @param value The customLabel4 to set. * @return This builder for chaining. */ - public Builder setCustomLabel4( - java.lang.String value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel4(java.lang.String value) { + if (value == null) { + throw new NullPointerException(); + } customLabel4_ = value; bitField0_ |= 0x01000000; onChanged(); return this; } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return This builder for chaining. */ public Builder clearCustomLabel4() { @@ -5856,17 +6554,21 @@ public Builder clearCustomLabel4() { return this; } /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @param value The bytes for customLabel4 to set. * @return This builder for chaining. */ - public Builder setCustomLabel4Bytes( - com.google.protobuf.ByteString value) { - if (value == null) { throw new NullPointerException(); } + public Builder setCustomLabel4Bytes(com.google.protobuf.ByteString value) { + if (value == null) { + throw new NullPointerException(); + } checkByteStringIsUtf8(value); customLabel4_ = value; bitField0_ |= 0x01000000; @@ -5874,13 +6576,16 @@ public Builder setCustomLabel4Bytes( return this; } - private long clicks_ ; + private long clicks_; /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return Whether the clicks field is set. */ @java.lang.Override @@ -5888,11 +6593,14 @@ public boolean hasClicks() { return ((bitField0_ & 0x02000000) != 0); } /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return The clicks. */ @java.lang.Override @@ -5900,11 +6608,14 @@ public long getClicks() { return clicks_; } /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @param value The clicks to set. * @return This builder for chaining. */ @@ -5916,11 +6627,14 @@ public Builder setClicks(long value) { return this; } /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return This builder for chaining. */ public Builder clearClicks() { @@ -5930,13 +6644,16 @@ public Builder clearClicks() { return this; } - private long impressions_ ; + private long impressions_; /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return Whether the impressions field is set. */ @java.lang.Override @@ -5944,11 +6661,14 @@ public boolean hasImpressions() { return ((bitField0_ & 0x04000000) != 0); } /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return The impressions. */ @java.lang.Override @@ -5956,11 +6676,14 @@ public long getImpressions() { return impressions_; } /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @param value The impressions to set. * @return This builder for chaining. */ @@ -5972,11 +6695,14 @@ public Builder setImpressions(long value) { return this; } /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return This builder for chaining. */ public Builder clearImpressions() { @@ -5986,8 +6712,10 @@ public Builder clearImpressions() { return this; } - private double clickThroughRate_ ; + private double clickThroughRate_; /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -5995,6 +6723,7 @@ public Builder clearImpressions() { ** *optional double click_through_rate = 25;
+ * * @return Whether the clickThroughRate field is set. */ @java.lang.Override @@ -6002,6 +6731,8 @@ public boolean hasClickThroughRate() { return ((bitField0_ & 0x08000000) != 0); } /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -6009,6 +6740,7 @@ public boolean hasClickThroughRate() { ** *optional double click_through_rate = 25;
+ * * @return The clickThroughRate. */ @java.lang.Override @@ -6016,6 +6748,8 @@ public double getClickThroughRate() { return clickThroughRate_; } /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -6023,6 +6757,7 @@ public double getClickThroughRate() { ** *optional double click_through_rate = 25;
+ * * @param value The clickThroughRate to set. * @return This builder for chaining. */ @@ -6034,6 +6769,8 @@ public Builder setClickThroughRate(double value) { return this; } /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -6041,6 +6778,7 @@ public Builder setClickThroughRate(double value) { ** *optional double click_through_rate = 25;
+ * * @return This builder for chaining. */ public Builder clearClickThroughRate() { @@ -6050,8 +6788,10 @@ public Builder clearClickThroughRate() { return this; } - private double conversions_ ; + private double conversions_; /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -6062,6 +6802,7 @@ public Builder clearClickThroughRate() { ** *optional double conversions = 26;
+ * * @return Whether the conversions field is set. */ @java.lang.Override @@ -6069,6 +6810,8 @@ public boolean hasConversions() { return ((bitField0_ & 0x10000000) != 0); } /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -6079,6 +6822,7 @@ public boolean hasConversions() { ** *optional double conversions = 26;
+ * * @return The conversions. */ @java.lang.Override @@ -6086,6 +6830,8 @@ public double getConversions() { return conversions_; } /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -6096,6 +6842,7 @@ public double getConversions() { ** *optional double conversions = 26;
+ * * @param value The conversions to set. * @return This builder for chaining. */ @@ -6107,6 +6854,8 @@ public Builder setConversions(double value) { return this; } /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -6117,6 +6866,7 @@ public Builder setConversions(double value) { ** *optional double conversions = 26;
+ * * @return This builder for chaining. */ public Builder clearConversions() { @@ -6128,8 +6878,13 @@ public Builder clearConversions() { private com.google.shopping.type.Price conversionValue_; private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> conversionValueBuilder_; + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> + conversionValueBuilder_; /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6138,12 +6893,15 @@ public Builder clearConversions() { ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return Whether the conversionValue field is set. */ public boolean hasConversionValue() { return ((bitField0_ & 0x20000000) != 0); } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6152,16 +6910,21 @@ public boolean hasConversionValue() { ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return The conversionValue. */ public com.google.shopping.type.Price getConversionValue() { if (conversionValueBuilder_ == null) { - return conversionValue_ == null ? com.google.shopping.type.Price.getDefaultInstance() : conversionValue_; + return conversionValue_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : conversionValue_; } else { return conversionValueBuilder_.getMessage(); } } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6185,6 +6948,8 @@ public Builder setConversionValue(com.google.shopping.type.Price value) { return this; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6194,8 +6959,7 @@ public Builder setConversionValue(com.google.shopping.type.Price value) { * *.google.shopping.type.Price conversion_value = 27;
*/ - public Builder setConversionValue( - com.google.shopping.type.Price.Builder builderForValue) { + public Builder setConversionValue(com.google.shopping.type.Price.Builder builderForValue) { if (conversionValueBuilder_ == null) { conversionValue_ = builderForValue.build(); } else { @@ -6206,6 +6970,8 @@ public Builder setConversionValue( return this; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6217,9 +6983,9 @@ public Builder setConversionValue( */ public Builder mergeConversionValue(com.google.shopping.type.Price value) { if (conversionValueBuilder_ == null) { - if (((bitField0_ & 0x20000000) != 0) && - conversionValue_ != null && - conversionValue_ != com.google.shopping.type.Price.getDefaultInstance()) { + if (((bitField0_ & 0x20000000) != 0) + && conversionValue_ != null + && conversionValue_ != com.google.shopping.type.Price.getDefaultInstance()) { getConversionValueBuilder().mergeFrom(value); } else { conversionValue_ = value; @@ -6232,6 +6998,8 @@ public Builder mergeConversionValue(com.google.shopping.type.Price value) { return this; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6252,6 +7020,8 @@ public Builder clearConversionValue() { return this; } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6267,6 +7037,8 @@ public com.google.shopping.type.Price.Builder getConversionValueBuilder() { return getConversionValueFieldBuilder().getBuilder(); } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6280,11 +7052,14 @@ public com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder() { if (conversionValueBuilder_ != null) { return conversionValueBuilder_.getMessageOrBuilder(); } else { - return conversionValue_ == null ? - com.google.shopping.type.Price.getDefaultInstance() : conversionValue_; + return conversionValue_ == null + ? com.google.shopping.type.Price.getDefaultInstance() + : conversionValue_; } } /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -6295,21 +7070,26 @@ public com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder() { *.google.shopping.type.Price conversion_value = 27;
*/ private com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder> + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder> getConversionValueFieldBuilder() { if (conversionValueBuilder_ == null) { - conversionValueBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< - com.google.shopping.type.Price, com.google.shopping.type.Price.Builder, com.google.shopping.type.PriceOrBuilder>( - getConversionValue(), - getParentForChildren(), - isClean()); + conversionValueBuilder_ = + new com.google.protobuf.SingleFieldBuilderV3< + com.google.shopping.type.Price, + com.google.shopping.type.Price.Builder, + com.google.shopping.type.PriceOrBuilder>( + getConversionValue(), getParentForChildren(), isClean()); conversionValue_ = null; } return conversionValueBuilder_; } - private double conversionRate_ ; + private double conversionRate_; /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -6318,6 +7098,7 @@ public com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder() { ** *optional double conversion_rate = 28;
+ * * @return Whether the conversionRate field is set. */ @java.lang.Override @@ -6325,6 +7106,8 @@ public boolean hasConversionRate() { return ((bitField0_ & 0x40000000) != 0); } /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -6333,6 +7116,7 @@ public boolean hasConversionRate() { ** *optional double conversion_rate = 28;
+ * * @return The conversionRate. */ @java.lang.Override @@ -6340,6 +7124,8 @@ public double getConversionRate() { return conversionRate_; } /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -6348,6 +7134,7 @@ public double getConversionRate() { ** *optional double conversion_rate = 28;
+ * * @param value The conversionRate to set. * @return This builder for chaining. */ @@ -6359,6 +7146,8 @@ public Builder setConversionRate(double value) { return this; } /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -6367,6 +7156,7 @@ public Builder setConversionRate(double value) { ** *optional double conversion_rate = 28;
+ * * @return This builder for chaining. */ public Builder clearConversionRate() { @@ -6375,9 +7165,9 @@ public Builder clearConversionRate() { onChanged(); return this; } + @java.lang.Override - public final Builder setUnknownFields( - final com.google.protobuf.UnknownFieldSet unknownFields) { + public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @@ -6387,41 +7177,43 @@ public final Builder mergeUnknownFields( return super.mergeUnknownFields(unknownFields); } - // @@protoc_insertion_point(builder_scope:google.shopping.merchant.reports.v1beta.ProductPerformanceView) } // @@protoc_insertion_point(class_scope:google.shopping.merchant.reports.v1beta.ProductPerformanceView) - private static final com.google.shopping.merchant.reports.v1beta.ProductPerformanceView DEFAULT_INSTANCE; + private static final com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + DEFAULT_INSTANCE; + static { DEFAULT_INSTANCE = new com.google.shopping.merchant.reports.v1beta.ProductPerformanceView(); } - public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView getDefaultInstance() { + public static com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + getDefaultInstance() { return DEFAULT_INSTANCE; } - private static final com.google.protobuf.Parser- PARSER = new com.google.protobuf.AbstractParser () { - @java.lang.Override - public ProductPerformanceView 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(); - } - }; + private static final com.google.protobuf.Parser PARSER = + new com.google.protobuf.AbstractParser () { + @java.lang.Override + public ProductPerformanceView 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; @@ -6433,9 +7225,8 @@ public com.google.protobuf.Parser getParserForType() { } @java.lang.Override - public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView getDefaultInstanceForType() { + public com.google.shopping.merchant.reports.v1beta.ProductPerformanceView + getDefaultInstanceForType() { return DEFAULT_INSTANCE; } - } - diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java similarity index 87% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java index 707687553069..527d7b11ae70 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductPerformanceViewOrBuilder.java @@ -1,41 +1,75 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; -public interface ProductPerformanceViewOrBuilder extends +public interface ProductPerformanceViewOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.ProductPerformanceView) com.google.protobuf.MessageOrBuilder { /** + * + * * * Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return Whether the marketingMethod field is set. */ boolean hasMarketingMethod(); /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The enum numeric value on the wire for marketingMethod. */ int getMarketingMethodValue(); /** + * + * ** Marketing method to which metrics apply. Segment. ** - *optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1;
+ *+ * optional .google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum marketing_method = 1; + *
+ * * @return The marketingMethod. */ - com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum getMarketingMethod(); + com.google.shopping.merchant.reports.v1beta.MarketingMethod.MarketingMethodEnum + getMarketingMethod(); /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -43,10 +77,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *.google.type.Date date = 2;
+ * * @return Whether the date field is set. */ boolean hasDate(); /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -54,10 +91,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *.google.type.Date date = 2;
+ * * @return The date. */ com.google.type.Date getDate(); /** + * + * ** Date in the merchant timezone to which metrics apply. Segment. * @@ -69,26 +109,34 @@ public interface ProductPerformanceViewOrBuilder extends com.google.type.DateOrBuilder getDateOrBuilder(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return Whether the week field is set. */ boolean hasWeek(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. ** *.google.type.Date week = 3;
+ * * @return The week. */ com.google.type.Date getWeek(); /** + * + * ** First day of the week (Monday) of the metrics date in the merchant * timezone. Segment. @@ -99,6 +147,8 @@ public interface ProductPerformanceViewOrBuilder extends com.google.type.DateOrBuilder getWeekOrBuilder(); /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -108,10 +158,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string customer_country_code = 4;
+ * * @return Whether the customerCountryCode field is set. */ boolean hasCustomerCountryCode(); /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -121,10 +174,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string customer_country_code = 4;
+ * * @return The customerCountryCode. */ java.lang.String getCustomerCountryCode(); /** + * + * ** Code of the country where the customer is located at the time of the event. * Represented in the ISO 3166 format. Segment. @@ -134,12 +190,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string customer_country_code = 4;
+ * * @return The bytes for customerCountryCode. */ - com.google.protobuf.ByteString - getCustomerCountryCodeBytes(); + com.google.protobuf.ByteString getCustomerCountryCodeBytes(); /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -147,10 +205,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional int64 account_id = 29;
+ * * @return Whether the accountId field is set. */ boolean hasAccountId(); /** + * + * ** Merchant Center account id of the seller of the offer. Segment. * @@ -158,11 +219,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional int64 account_id = 29;
+ * * @return The accountId. */ long getAccountId(); /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -170,10 +234,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string account_display_name = 30;
+ * * @return Whether the accountDisplayName field is set. */ boolean hasAccountDisplayName(); /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -181,10 +248,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string account_display_name = 30;
+ * * @return The accountDisplayName. */ java.lang.String getAccountDisplayName(); /** + * + * ** Merchant Center account name of the seller of the offer. Segment. * @@ -192,12 +262,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string account_display_name = 30;
+ * * @return The bytes for accountDisplayName. */ - com.google.protobuf.ByteString - getAccountDisplayNameBytes(); + com.google.protobuf.ByteString getAccountDisplayNameBytes(); /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -209,10 +281,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string external_account_id = 31;
+ * * @return Whether the externalAccountId field is set. */ boolean hasExternalAccountId(); /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -224,10 +299,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string external_account_id = 31;
+ * * @return The externalAccountId. */ java.lang.String getExternalAccountId(); /** + * + * ** [External account * id](https://support.google.com/merchants/answer/11537846?hl=en) submitted @@ -239,99 +317,125 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string external_account_id = 31;
+ * * @return The bytes for externalAccountId. */ - com.google.protobuf.ByteString - getExternalAccountIdBytes(); + com.google.protobuf.ByteString getExternalAccountIdBytes(); /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return Whether the offerId field is set. */ boolean hasOfferId(); /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The offerId. */ java.lang.String getOfferId(); /** + * + * ** Merchant-provided id of the product. Segment. ** *optional string offer_id = 5;
+ * * @return The bytes for offerId. */ - com.google.protobuf.ByteString - getOfferIdBytes(); + com.google.protobuf.ByteString getOfferIdBytes(); /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return Whether the title field is set. */ boolean hasTitle(); /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The title. */ java.lang.String getTitle(); /** + * + * ** Title of the product. Segment. ** *optional string title = 6;
+ * * @return The bytes for title. */ - com.google.protobuf.ByteString - getTitleBytes(); + com.google.protobuf.ByteString getTitleBytes(); /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return Whether the brand field is set. */ boolean hasBrand(); /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The brand. */ java.lang.String getBrand(); /** + * + * ** Brand of the product. Segment. ** *optional string brand = 7;
+ * * @return The bytes for brand. */ - com.google.protobuf.ByteString - getBrandBytes(); + com.google.protobuf.ByteString getBrandBytes(); /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -339,10 +443,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return Whether the categoryL1 field is set. */ boolean hasCategoryL1(); /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -350,10 +457,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return The categoryL1. */ java.lang.String getCategoryL1(); /** + * + * ** [Product category (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -361,12 +471,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l1 = 8;
+ * * @return The bytes for categoryL1. */ - com.google.protobuf.ByteString - getCategoryL1Bytes(); + com.google.protobuf.ByteString getCategoryL1Bytes(); /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -374,10 +486,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return Whether the categoryL2 field is set. */ boolean hasCategoryL2(); /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -385,10 +500,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return The categoryL2. */ java.lang.String getCategoryL2(); /** + * + * ** [Product category (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -396,12 +514,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l2 = 9;
+ * * @return The bytes for categoryL2. */ - com.google.protobuf.ByteString - getCategoryL2Bytes(); + com.google.protobuf.ByteString getCategoryL2Bytes(); /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -409,10 +529,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return Whether the categoryL3 field is set. */ boolean hasCategoryL3(); /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -420,10 +543,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return The categoryL3. */ java.lang.String getCategoryL3(); /** + * + * ** [Product category (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -431,12 +557,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l3 = 10;
+ * * @return The bytes for categoryL3. */ - com.google.protobuf.ByteString - getCategoryL3Bytes(); + com.google.protobuf.ByteString getCategoryL3Bytes(); /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -444,10 +572,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return Whether the categoryL4 field is set. */ boolean hasCategoryL4(); /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -455,10 +586,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return The categoryL4. */ java.lang.String getCategoryL4(); /** + * + * ** [Product category (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -466,12 +600,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l4 = 11;
+ * * @return The bytes for categoryL4. */ - com.google.protobuf.ByteString - getCategoryL4Bytes(); + com.google.protobuf.ByteString getCategoryL4Bytes(); /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -479,10 +615,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return Whether the categoryL5 field is set. */ boolean hasCategoryL5(); /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -490,10 +629,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return The categoryL5. */ java.lang.String getCategoryL5(); /** + * + * ** [Product category (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -501,12 +643,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string category_l5 = 12;
+ * * @return The bytes for categoryL5. */ - com.google.protobuf.ByteString - getCategoryL5Bytes(); + com.google.protobuf.ByteString getCategoryL5Bytes(); /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -514,10 +658,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l1 = 13;
+ * * @return Whether the productTypeL1 field is set. */ boolean hasProductTypeL1(); /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -525,10 +672,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l1 = 13;
+ * * @return The productTypeL1. */ java.lang.String getProductTypeL1(); /** + * + * ** [Product type (1st * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -536,12 +686,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l1 = 13;
+ * * @return The bytes for productTypeL1. */ - com.google.protobuf.ByteString - getProductTypeL1Bytes(); + com.google.protobuf.ByteString getProductTypeL1Bytes(); /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -549,10 +701,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l2 = 14;
+ * * @return Whether the productTypeL2 field is set. */ boolean hasProductTypeL2(); /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -560,10 +715,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l2 = 14;
+ * * @return The productTypeL2. */ java.lang.String getProductTypeL2(); /** + * + * ** [Product type (2nd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -571,12 +729,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l2 = 14;
+ * * @return The bytes for productTypeL2. */ - com.google.protobuf.ByteString - getProductTypeL2Bytes(); + com.google.protobuf.ByteString getProductTypeL2Bytes(); /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -584,10 +744,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l3 = 15;
+ * * @return Whether the productTypeL3 field is set. */ boolean hasProductTypeL3(); /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -595,10 +758,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l3 = 15;
+ * * @return The productTypeL3. */ java.lang.String getProductTypeL3(); /** + * + * ** [Product type (3rd * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -606,12 +772,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l3 = 15;
+ * * @return The bytes for productTypeL3. */ - com.google.protobuf.ByteString - getProductTypeL3Bytes(); + com.google.protobuf.ByteString getProductTypeL3Bytes(); /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -619,10 +787,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l4 = 16;
+ * * @return Whether the productTypeL4 field is set. */ boolean hasProductTypeL4(); /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -630,10 +801,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l4 = 16;
+ * * @return The productTypeL4. */ java.lang.String getProductTypeL4(); /** + * + * ** [Product type (4th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -641,12 +815,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l4 = 16;
+ * * @return The bytes for productTypeL4. */ - com.google.protobuf.ByteString - getProductTypeL4Bytes(); + com.google.protobuf.ByteString getProductTypeL4Bytes(); /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -654,10 +830,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l5 = 17;
+ * * @return Whether the productTypeL5 field is set. */ boolean hasProductTypeL5(); /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -665,10 +844,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l5 = 17;
+ * * @return The productTypeL5. */ java.lang.String getProductTypeL5(); /** + * + * ** [Product type (5th * level)](https://developers.google.com/shopping-content/guides/reports/segmentation#category_and_product_type) @@ -676,195 +858,249 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional string product_type_l5 = 17;
+ * * @return The bytes for productTypeL5. */ - com.google.protobuf.ByteString - getProductTypeL5Bytes(); + com.google.protobuf.ByteString getProductTypeL5Bytes(); /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return Whether the customLabel0 field is set. */ boolean hasCustomLabel0(); /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The customLabel0. */ java.lang.String getCustomLabel0(); /** + * + * ** Custom label 0 for custom grouping of products. Segment. ** *optional string custom_label0 = 18;
+ * * @return The bytes for customLabel0. */ - com.google.protobuf.ByteString - getCustomLabel0Bytes(); + com.google.protobuf.ByteString getCustomLabel0Bytes(); /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return Whether the customLabel1 field is set. */ boolean hasCustomLabel1(); /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The customLabel1. */ java.lang.String getCustomLabel1(); /** + * + * ** Custom label 1 for custom grouping of products. Segment. ** *optional string custom_label1 = 19;
+ * * @return The bytes for customLabel1. */ - com.google.protobuf.ByteString - getCustomLabel1Bytes(); + com.google.protobuf.ByteString getCustomLabel1Bytes(); /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return Whether the customLabel2 field is set. */ boolean hasCustomLabel2(); /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The customLabel2. */ java.lang.String getCustomLabel2(); /** + * + * ** Custom label 2 for custom grouping of products. Segment. ** *optional string custom_label2 = 20;
+ * * @return The bytes for customLabel2. */ - com.google.protobuf.ByteString - getCustomLabel2Bytes(); + com.google.protobuf.ByteString getCustomLabel2Bytes(); /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return Whether the customLabel3 field is set. */ boolean hasCustomLabel3(); /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The customLabel3. */ java.lang.String getCustomLabel3(); /** + * + * ** Custom label 3 for custom grouping of products. Segment. ** *optional string custom_label3 = 21;
+ * * @return The bytes for customLabel3. */ - com.google.protobuf.ByteString - getCustomLabel3Bytes(); + com.google.protobuf.ByteString getCustomLabel3Bytes(); /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return Whether the customLabel4 field is set. */ boolean hasCustomLabel4(); /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The customLabel4. */ java.lang.String getCustomLabel4(); /** + * + * ** Custom label 4 for custom grouping of products. Segment. ** *optional string custom_label4 = 22;
+ * * @return The bytes for customLabel4. */ - com.google.protobuf.ByteString - getCustomLabel4Bytes(); + com.google.protobuf.ByteString getCustomLabel4Bytes(); /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return Whether the clicks field is set. */ boolean hasClicks(); /** + * + * ** Number of clicks. Metric. ** *optional int64 clicks = 23;
+ * * @return The clicks. */ long getClicks(); /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return Whether the impressions field is set. */ boolean hasImpressions(); /** + * + * ** Number of times merchant's products are shown. Metric. ** *optional int64 impressions = 24;
+ * * @return The impressions. */ long getImpressions(); /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -872,10 +1108,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double click_through_rate = 25;
+ * * @return Whether the clickThroughRate field is set. */ boolean hasClickThroughRate(); /** + * + * ** Click-through rate - the number of clicks merchant's products receive * (clicks) divided by the number of times the products are shown @@ -883,11 +1122,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double click_through_rate = 25;
+ * * @return The clickThroughRate. */ double getClickThroughRate(); /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -898,10 +1140,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double conversions = 26;
+ * * @return Whether the conversions field is set. */ boolean hasConversions(); /** + * + * ** Number of conversions attributed to the product, reported on the conversion * date. Depending on the attribution model, a conversion might be distributed @@ -912,11 +1157,14 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double conversions = 26;
+ * * @return The conversions. */ double getConversions(); /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -925,10 +1173,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return Whether the conversionValue field is set. */ boolean hasConversionValue(); /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -937,10 +1188,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *.google.shopping.type.Price conversion_value = 27;
+ * * @return The conversionValue. */ com.google.shopping.type.Price getConversionValue(); /** + * + * ** Value of conversions attributed to the product, reported on the conversion * date. Metric. @@ -953,6 +1207,8 @@ public interface ProductPerformanceViewOrBuilder extends com.google.shopping.type.PriceOrBuilder getConversionValueOrBuilder(); /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -961,10 +1217,13 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double conversion_rate = 28;
+ * * @return Whether the conversionRate field is set. */ boolean hasConversionRate(); /** + * + * ** Number of conversions divided by the number of clicks, reported on the * impression date. Metric. @@ -973,6 +1232,7 @@ public interface ProductPerformanceViewOrBuilder extends ** *optional double conversion_rate = 28;
+ * * @return The conversionRate. */ double getConversionRate(); diff --git a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java similarity index 68% rename from owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java rename to java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java index a43aa3f09383..1ec056c8585d 100644 --- a/owl-bot-staging/java-shopping-merchant-reports/v1beta/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java +++ b/java-shopping-merchant-reports/proto-google-shopping-merchant-reports-v1beta/src/main/java/com/google/shopping/merchant/reports/v1beta/ProductView.java @@ -1,9 +1,26 @@ +/* + * Copyright 2023 Google LLC + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * https://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ // Generated by the protocol buffer compiler. DO NOT EDIT! // source: google/shopping/merchant/reports/v1beta/reports.proto package com.google.shopping.merchant.reports.v1beta; /** + * + * ** Fields available for query in `product_view` table. * @@ -20,15 +37,16 @@ * * Protobuf type {@code google.shopping.merchant.reports.v1beta.ProductView} */ -public final class ProductView extends - com.google.protobuf.GeneratedMessageV3 implements +public final class ProductView extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.ProductView) ProductViewOrBuilder { -private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ProductView.newBuilder() to construct. private ProductView(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private ProductView() { id_ = ""; channel_ = 0; @@ -50,8 +68,7 @@ private ProductView() { condition_ = ""; availability_ = ""; shippingLabel_ = ""; - gtin_ = - com.google.protobuf.LazyStringArrayList.emptyList(); + gtin_ = com.google.protobuf.LazyStringArrayList.emptyList(); itemGroupId_ = ""; thumbnailLink_ = ""; aggregatedReportingContextStatus_ = 0; @@ -60,25 +77,28 @@ private ProductView() { @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ProductView(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductView_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductView_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductView_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductView_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.ProductView.class, com.google.shopping.merchant.reports.v1beta.ProductView.Builder.class); + com.google.shopping.merchant.reports.v1beta.ProductView.class, + com.google.shopping.merchant.reports.v1beta.ProductView.Builder.class); } /** + * + * ** Status of the product aggregated for all reporting contexts. * @@ -93,11 +113,13 @@ protected java.lang.Object newInstance( * Disapproved | Disapproved | NOT_ELIGIBLE_OR_DISAPPROVED ** - * Protobuf enum {@code google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus} + * Protobuf enum {@code + * google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus} */ - public enum AggregatedReportingContextStatus - implements com.google.protobuf.ProtocolMessageEnum { + public enum AggregatedReportingContextStatus implements com.google.protobuf.ProtocolMessageEnum { /** + * + * ** Not specified. *@@ -106,6 +128,8 @@ public enum AggregatedReportingContextStatus */ AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED(0), /** + * + * ** Product is not eligible or is disapproved for all reporting contexts. *@@ -114,6 +138,8 @@ public enum AggregatedReportingContextStatus */ NOT_ELIGIBLE_OR_DISAPPROVED(1), /** + * + * ** Product's status is pending in all reporting contexts. *@@ -122,6 +148,8 @@ public enum AggregatedReportingContextStatus */ PENDING(2), /** + * + * ** Product is eligible for some (but not all) reporting contexts. *@@ -130,6 +158,8 @@ public enum AggregatedReportingContextStatus */ ELIGIBLE_LIMITED(3), /** + * + * ** Product is eligible for all reporting contexts. *@@ -141,6 +171,8 @@ public enum AggregatedReportingContextStatus ; /** + * + * ** Not specified. *@@ -149,6 +181,8 @@ public enum AggregatedReportingContextStatus */ public static final int AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED_VALUE = 0; /** + * + * ** Product is not eligible or is disapproved for all reporting contexts. *@@ -157,6 +191,8 @@ public enum AggregatedReportingContextStatus */ public static final int NOT_ELIGIBLE_OR_DISAPPROVED_VALUE = 1; /** + * + * ** Product's status is pending in all reporting contexts. *@@ -165,6 +201,8 @@ public enum AggregatedReportingContextStatus */ public static final int PENDING_VALUE = 2; /** + * + * ** Product is eligible for some (but not all) reporting contexts. *@@ -173,6 +211,8 @@ public enum AggregatedReportingContextStatus */ public static final int ELIGIBLE_LIMITED_VALUE = 3; /** + * + * ** Product is eligible for all reporting contexts. *@@ -181,7 +221,6 @@ public enum AggregatedReportingContextStatus */ public static final int ELIGIBLE_VALUE = 4; - public final int getNumber() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalArgumentException( @@ -206,12 +245,18 @@ public static AggregatedReportingContextStatus valueOf(int value) { */ public static AggregatedReportingContextStatus forNumber(int value) { switch (value) { - case 0: return AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED; - case 1: return NOT_ELIGIBLE_OR_DISAPPROVED; - case 2: return PENDING; - case 3: return ELIGIBLE_LIMITED; - case 4: return ELIGIBLE; - default: return null; + case 0: + return AGGREGATED_REPORTING_CONTEXT_STATUS_UNSPECIFIED; + case 1: + return NOT_ELIGIBLE_OR_DISAPPROVED; + case 2: + return PENDING; + case 3: + return ELIGIBLE_LIMITED; + case 4: + return ELIGIBLE; + default: + return null; } } @@ -219,29 +264,31 @@ public static AggregatedReportingContextStatus forNumber(int value) { internalGetValueMap() { return internalValueMap; } - private static final com.google.protobuf.Internal.EnumLiteMap< - AggregatedReportingContextStatus> internalValueMap = - new com.google.protobuf.Internal.EnumLiteMap() { - public AggregatedReportingContextStatus findValueByNumber(int number) { - return AggregatedReportingContextStatus.forNumber(number); - } - }; - public final com.google.protobuf.Descriptors.EnumValueDescriptor - getValueDescriptor() { + private static final com.google.protobuf.Internal.EnumLiteMap + internalValueMap = + new com.google.protobuf.Internal.EnumLiteMap () { + public AggregatedReportingContextStatus findValueByNumber(int number) { + return AggregatedReportingContextStatus.forNumber(number); + } + }; + + public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { if (this == UNRECOGNIZED) { throw new java.lang.IllegalStateException( "Can't get the descriptor of an unrecognized enum value."); } return getDescriptor().getValues().get(ordinal()); } - public final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptorForType() { + + public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } - public static final com.google.protobuf.Descriptors.EnumDescriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ProductView.getDescriptor().getEnumTypes().get(0); + + public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ProductView.getDescriptor() + .getEnumTypes() + .get(0); } private static final AggregatedReportingContextStatus[] VALUES = values(); @@ -249,8 +296,7 @@ public AggregatedReportingContextStatus findValueByNumber(int number) { public static AggregatedReportingContextStatus valueOf( com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { - throw new java.lang.IllegalArgumentException( - "EnumValueDescriptor is not for this type."); + throw new java.lang.IllegalArgumentException("EnumValueDescriptor is not for this type."); } if (desc.getIndex() == -1) { return UNRECOGNIZED; @@ -267,142 +313,195 @@ private AggregatedReportingContextStatus(int value) { // @@protoc_insertion_point(enum_scope:google.shopping.merchant.reports.v1beta.ProductView.AggregatedReportingContextStatus) } - public interface ItemIssueOrBuilder extends + public interface ItemIssueOrBuilder + extends // @@protoc_insertion_point(interface_extends:google.shopping.merchant.reports.v1beta.ProductView.ItemIssue) com.google.protobuf.MessageOrBuilder { /** + * + * * * Item issue type. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;
+ *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1; + *
+ * * @return Whether the type field is set. */ boolean hasType(); /** + * + * ** Item issue type. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;
+ *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1; + *
+ * * @return The type. */ com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType getType(); /** + * + * ** Item issue type. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1;
+ *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueType type = 1; + *
*/ - com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueTypeOrBuilder getTypeOrBuilder(); + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueTypeOrBuilder + getTypeOrBuilder(); /** + * + * ** Item issue severity. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;
+ *+ * .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2; + *
+ * * @return Whether the severity field is set. */ boolean hasSeverity(); /** + * + * ** Item issue severity. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;
+ *+ * .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2; + *
+ * * @return The severity. */ - com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity getSeverity(); + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity + getSeverity(); /** + * + * ** Item issue severity. ** - *.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2;
+ *+ * .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverity severity = 2; + *
*/ - com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverityOrBuilder getSeverityOrBuilder(); + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueSeverityOrBuilder + getSeverityOrBuilder(); /** + * + * ** Item issue resolution. ** - *optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3; + *
+ * * @return Whether the resolution field is set. */ boolean hasResolution(); /** + * + * ** Item issue resolution. ** - *optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3; + *
+ * * @return The enum numeric value on the wire for resolution. */ int getResolutionValue(); /** + * + * ** Item issue resolution. ** - *optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3;
+ *+ * optional .google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution resolution = 3; + *
+ * * @return The resolution. */ - com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution getResolution(); + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution + getResolution(); } /** + * + * ** Item issue associated with the product. ** * Protobuf type {@code google.shopping.merchant.reports.v1beta.ProductView.ItemIssue} */ - public static final class ItemIssue extends - com.google.protobuf.GeneratedMessageV3 implements + public static final class ItemIssue extends com.google.protobuf.GeneratedMessageV3 + implements // @@protoc_insertion_point(message_implements:google.shopping.merchant.reports.v1beta.ProductView.ItemIssue) ItemIssueOrBuilder { - private static final long serialVersionUID = 0L; + private static final long serialVersionUID = 0L; // Use ItemIssue.newBuilder() to construct. private ItemIssue(com.google.protobuf.GeneratedMessageV3.Builder> builder) { super(builder); } + private ItemIssue() { resolution_ = 0; } @java.lang.Override @SuppressWarnings({"unused"}) - protected java.lang.Object newInstance( - UnusedPrivateParameter unused) { + protected java.lang.Object newInstance(UnusedPrivateParameter unused) { return new ItemIssue(); } - public static final com.google.protobuf.Descriptors.Descriptor - getDescriptor() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductView_ItemIssue_descriptor; + public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductView_ItemIssue_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { - return com.google.shopping.merchant.reports.v1beta.ReportsProto.internal_static_google_shopping_merchant_reports_v1beta_ProductView_ItemIssue_fieldAccessorTable + return com.google.shopping.merchant.reports.v1beta.ReportsProto + .internal_static_google_shopping_merchant_reports_v1beta_ProductView_ItemIssue_fieldAccessorTable .ensureFieldAccessorsInitialized( - com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.class, com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.Builder.class); + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.class, + com.google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.Builder.class); } /** + * + * ** How to resolve the issue. ** - * Protobuf enum {@code google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution} + * Protobuf enum {@code + * google.shopping.merchant.reports.v1beta.ProductView.ItemIssue.ItemIssueResolution} */ - public enum ItemIssueResolution - implements com.google.protobuf.ProtocolMessageEnum { + public enum ItemIssueResolution implements com.google.protobuf.ProtocolMessageEnum { /** + * + * ** Not specified. *@@ -411,6 +510,8 @@ public enum ItemIssueResolution */ ITEM_ISSUE_RESOLUTION_UNSPECIFIED(0), /** + * + * ** The merchant has to fix the issue. *@@ -419,6 +520,8 @@ public enum ItemIssueResolution */ MERCHANT_ACTION(1), /** + * + * ** The issue will be resolved automatically (for example, image crawl) or * through a Google review. No merchant action is required now. Resolution @@ -432,6 +535,8 @@ public enum ItemIssueResolution ; /** + * + * *