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

io.bloombox.schema.services.marketing.v1beta1.CampaignGet Maven / Gradle / Ivy

The newest version!
/*
 * Copyright 2019, Momentum Ideas, Co. All rights reserved.
 *
 * Source and object computer code contained herein is the private intellectual
 * property of Momentum Ideas Co., a Delaware Corporation. Use of this
 * code in source form requires permission in writing before use or the
 * assembly, distribution, or publishing of derivative works, for commercial
 * purposes or any other purpose, from a duly authorized officer of Momentum
 * Ideas Co.
 *
 * 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: marketing/v1beta1/MarketingService_Beta1.proto

package io.bloombox.schema.services.marketing.v1beta1;

/**
 * 
 * Represents an RPC operation to retrieve campaign info by its ID.
 * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet} */ public final class CampaignGet extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.marketing.v1beta1.CampaignGet) CampaignGetOrBuilder { private static final long serialVersionUID = 0L; // Use CampaignGet.newBuilder() to construct. private CampaignGet(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private CampaignGet() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private CampaignGet( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Builder.class); } public interface RequestOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.marketing.v1beta1.CampaignGet.Request) com.google.protobuf.MessageOrBuilder { /** *
     * ID for the campaign to fetch.
     * 
* * string campaign_id = 1; */ java.lang.String getCampaignId(); /** *
     * ID for the campaign to fetch.
     * 
* * string campaign_id = 1; */ com.google.protobuf.ByteString getCampaignIdBytes(); } /** *
   * Request for campaign info.
   * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet.Request} */ public static final class Request extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.marketing.v1beta1.CampaignGet.Request) RequestOrBuilder { private static final long serialVersionUID = 0L; // Use Request.newBuilder() to construct. private Request(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Request() { campaignId_ = ""; } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Request( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { java.lang.String s = input.readStringRequireUtf8(); campaignId_ = s; break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.Builder.class); } public static final int CAMPAIGN_ID_FIELD_NUMBER = 1; private volatile java.lang.Object campaignId_; /** *
     * ID for the campaign to fetch.
     * 
* * string campaign_id = 1; */ public java.lang.String getCampaignId() { java.lang.Object ref = campaignId_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); campaignId_ = s; return s; } } /** *
     * ID for the campaign to fetch.
     * 
* * string campaign_id = 1; */ public com.google.protobuf.ByteString getCampaignIdBytes() { java.lang.Object ref = campaignId_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); campaignId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!getCampaignIdBytes().isEmpty()) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, campaignId_); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!getCampaignIdBytes().isEmpty()) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, campaignId_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request)) { return super.equals(obj); } io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request other = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request) obj; if (!getCampaignId() .equals(other.getCampaignId())) return false; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + CAMPAIGN_ID_FIELD_NUMBER; hash = (53 * hash) + getCampaignId().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Request for campaign info.
     * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet.Request} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.marketing.v1beta1.CampaignGet.Request) io.bloombox.schema.services.marketing.v1beta1.CampaignGet.RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Request_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.Builder.class); } // Construct using io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); campaignId_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Request_descriptor; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request getDefaultInstanceForType() { return io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request build() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request buildPartial() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request result = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request(this); result.campaignId_ = campaignId_; onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request) { return mergeFrom((io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request other) { if (other == io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request.getDefaultInstance()) return this; if (!other.getCampaignId().isEmpty()) { campaignId_ = other.campaignId_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private java.lang.Object campaignId_ = ""; /** *
       * ID for the campaign to fetch.
       * 
* * string campaign_id = 1; */ public java.lang.String getCampaignId() { java.lang.Object ref = campaignId_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); campaignId_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * ID for the campaign to fetch.
       * 
* * string campaign_id = 1; */ public com.google.protobuf.ByteString getCampaignIdBytes() { java.lang.Object ref = campaignId_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); campaignId_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * ID for the campaign to fetch.
       * 
* * string campaign_id = 1; */ public Builder setCampaignId( java.lang.String value) { if (value == null) { throw new NullPointerException(); } campaignId_ = value; onChanged(); return this; } /** *
       * ID for the campaign to fetch.
       * 
* * string campaign_id = 1; */ public Builder clearCampaignId() { campaignId_ = getDefaultInstance().getCampaignId(); onChanged(); return this; } /** *
       * ID for the campaign to fetch.
       * 
* * string campaign_id = 1; */ public Builder setCampaignIdBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); campaignId_ = value; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:bloombox.services.marketing.v1beta1.CampaignGet.Request) } // @@protoc_insertion_point(class_scope:bloombox.services.marketing.v1beta1.CampaignGet.Request) private static final io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request(); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Request parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Request(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Request getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ResponseOrBuilder extends // @@protoc_insertion_point(interface_extends:bloombox.services.marketing.v1beta1.CampaignGet.Response) com.google.protobuf.MessageOrBuilder { /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ boolean hasCampaign(); /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ io.bloombox.schema.marketing.MarketingCampaign.Campaign getCampaign(); /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder getCampaignOrBuilder(); } /** *
   * Response to a request for campaign info.
   * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet.Response} */ public static final class Response extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:bloombox.services.marketing.v1beta1.CampaignGet.Response) ResponseOrBuilder { private static final long serialVersionUID = 0L; // Use Response.newBuilder() to construct. private Response(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Response() { } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Response( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder subBuilder = null; if (campaign_ != null) { subBuilder = campaign_.toBuilder(); } campaign_ = input.readMessage(io.bloombox.schema.marketing.MarketingCampaign.Campaign.parser(), extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(campaign_); campaign_ = subBuilder.buildPartial(); } break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.Builder.class); } public static final int CAMPAIGN_FIELD_NUMBER = 1; private io.bloombox.schema.marketing.MarketingCampaign.Campaign campaign_; /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ public boolean hasCampaign() { return campaign_ != null; } /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ public io.bloombox.schema.marketing.MarketingCampaign.Campaign getCampaign() { return campaign_ == null ? io.bloombox.schema.marketing.MarketingCampaign.Campaign.getDefaultInstance() : campaign_; } /** *
     * Marketing campaign payload data.
     * 
* * .bloombox.marketing.Campaign campaign = 1; */ public io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder getCampaignOrBuilder() { return getCampaign(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (campaign_ != null) { output.writeMessage(1, getCampaign()); } unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (campaign_ != null) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getCampaign()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response)) { return super.equals(obj); } io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response other = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response) obj; if (hasCampaign() != other.hasCampaign()) return false; if (hasCampaign()) { if (!getCampaign() .equals(other.getCampaign())) return false; } if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasCampaign()) { hash = (37 * hash) + CAMPAIGN_FIELD_NUMBER; hash = (53 * hash) + getCampaign().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Response to a request for campaign info.
     * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet.Response} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.marketing.v1beta1.CampaignGet.Response) io.bloombox.schema.services.marketing.v1beta1.CampaignGet.ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Response_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.Builder.class); } // Construct using io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); if (campaignBuilder_ == null) { campaign_ = null; } else { campaign_ = null; campaignBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_Response_descriptor; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response getDefaultInstanceForType() { return io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response build() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response buildPartial() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response result = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response(this); if (campaignBuilder_ == null) { result.campaign_ = campaign_; } else { result.campaign_ = campaignBuilder_.build(); } onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response) { return mergeFrom((io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response other) { if (other == io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response.getDefaultInstance()) return this; if (other.hasCampaign()) { mergeCampaign(other.getCampaign()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private io.bloombox.schema.marketing.MarketingCampaign.Campaign campaign_; private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.marketing.MarketingCampaign.Campaign, io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder, io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder> campaignBuilder_; /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public boolean hasCampaign() { return campaignBuilder_ != null || campaign_ != null; } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public io.bloombox.schema.marketing.MarketingCampaign.Campaign getCampaign() { if (campaignBuilder_ == null) { return campaign_ == null ? io.bloombox.schema.marketing.MarketingCampaign.Campaign.getDefaultInstance() : campaign_; } else { return campaignBuilder_.getMessage(); } } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public Builder setCampaign(io.bloombox.schema.marketing.MarketingCampaign.Campaign value) { if (campaignBuilder_ == null) { if (value == null) { throw new NullPointerException(); } campaign_ = value; onChanged(); } else { campaignBuilder_.setMessage(value); } return this; } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public Builder setCampaign( io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder builderForValue) { if (campaignBuilder_ == null) { campaign_ = builderForValue.build(); onChanged(); } else { campaignBuilder_.setMessage(builderForValue.build()); } return this; } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public Builder mergeCampaign(io.bloombox.schema.marketing.MarketingCampaign.Campaign value) { if (campaignBuilder_ == null) { if (campaign_ != null) { campaign_ = io.bloombox.schema.marketing.MarketingCampaign.Campaign.newBuilder(campaign_).mergeFrom(value).buildPartial(); } else { campaign_ = value; } onChanged(); } else { campaignBuilder_.mergeFrom(value); } return this; } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public Builder clearCampaign() { if (campaignBuilder_ == null) { campaign_ = null; onChanged(); } else { campaign_ = null; campaignBuilder_ = null; } return this; } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder getCampaignBuilder() { onChanged(); return getCampaignFieldBuilder().getBuilder(); } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ public io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder getCampaignOrBuilder() { if (campaignBuilder_ != null) { return campaignBuilder_.getMessageOrBuilder(); } else { return campaign_ == null ? io.bloombox.schema.marketing.MarketingCampaign.Campaign.getDefaultInstance() : campaign_; } } /** *
       * Marketing campaign payload data.
       * 
* * .bloombox.marketing.Campaign campaign = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.marketing.MarketingCampaign.Campaign, io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder, io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder> getCampaignFieldBuilder() { if (campaignBuilder_ == null) { campaignBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.bloombox.schema.marketing.MarketingCampaign.Campaign, io.bloombox.schema.marketing.MarketingCampaign.Campaign.Builder, io.bloombox.schema.marketing.MarketingCampaign.CampaignOrBuilder>( getCampaign(), getParentForChildren(), isClean()); campaign_ = null; } return campaignBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:bloombox.services.marketing.v1beta1.CampaignGet.Response) } // @@protoc_insertion_point(class_scope:bloombox.services.marketing.v1beta1.CampaignGet.Response) private static final io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response(); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Response parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new Response(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Response getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { unknownFields.writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet)) { return super.equals(obj); } io.bloombox.schema.services.marketing.v1beta1.CampaignGet other = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet) obj; if (!unknownFields.equals(other.unknownFields)) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet 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 io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.bloombox.schema.services.marketing.v1beta1.CampaignGet prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
   * Represents an RPC operation to retrieve campaign info by its ID.
   * 
* * Protobuf type {@code bloombox.services.marketing.v1beta1.CampaignGet} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:bloombox.services.marketing.v1beta1.CampaignGet) io.bloombox.schema.services.marketing.v1beta1.CampaignGetOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_fieldAccessorTable .ensureFieldAccessorsInitialized( io.bloombox.schema.services.marketing.v1beta1.CampaignGet.class, io.bloombox.schema.services.marketing.v1beta1.CampaignGet.Builder.class); } // Construct using io.bloombox.schema.services.marketing.v1beta1.CampaignGet.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.google.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.bloombox.schema.services.marketing.v1beta1.MarketingServiceBeta1.internal_static_bloombox_services_marketing_v1beta1_CampaignGet_descriptor; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet getDefaultInstanceForType() { return io.bloombox.schema.services.marketing.v1beta1.CampaignGet.getDefaultInstance(); } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet build() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet buildPartial() { io.bloombox.schema.services.marketing.v1beta1.CampaignGet result = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet(this); onBuilt(); return result; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.bloombox.schema.services.marketing.v1beta1.CampaignGet) { return mergeFrom((io.bloombox.schema.services.marketing.v1beta1.CampaignGet)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.bloombox.schema.services.marketing.v1beta1.CampaignGet other) { if (other == io.bloombox.schema.services.marketing.v1beta1.CampaignGet.getDefaultInstance()) return this; this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.bloombox.schema.services.marketing.v1beta1.CampaignGet parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.bloombox.schema.services.marketing.v1beta1.CampaignGet) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:bloombox.services.marketing.v1beta1.CampaignGet) } // @@protoc_insertion_point(class_scope:bloombox.services.marketing.v1beta1.CampaignGet) private static final io.bloombox.schema.services.marketing.v1beta1.CampaignGet DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.bloombox.schema.services.marketing.v1beta1.CampaignGet(); } public static io.bloombox.schema.services.marketing.v1beta1.CampaignGet getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public CampaignGet parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new CampaignGet(input, extensionRegistry); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.bloombox.schema.services.marketing.v1beta1.CampaignGet getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy