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

main.java.com.streamlayer.sdkSettings.common.AdvertisingTemplates Maven / Gradle / Ivy

There is a newer version: 5.133.1
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: streamlayer/sdkSettings/sdkSettings.common.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.sdkSettings.common;

/**
 * 
 * Contains a global template
 * 
* * Protobuf type {@code streamlayer.sdkSettings.AdvertisingTemplates} */ public final class AdvertisingTemplates extends com.google.protobuf.GeneratedMessageLite< AdvertisingTemplates, AdvertisingTemplates.Builder> implements // @@protoc_insertion_point(message_implements:streamlayer.sdkSettings.AdvertisingTemplates) AdvertisingTemplatesOrBuilder { private AdvertisingTemplates() { templates_ = emptyProtobufList(); } public static final int TEMPLATES_FIELD_NUMBER = 1; private com.google.protobuf.Internal.ProtobufList templates_; /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public java.util.List getTemplatesList() { return templates_; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public java.util.List getTemplatesOrBuilderList() { return templates_; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public int getTemplatesCount() { return templates_.size(); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public com.streamlayer.sdkSettings.common.AdvertisingTemplate getTemplates(int index) { return templates_.get(index); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public com.streamlayer.sdkSettings.common.AdvertisingTemplateOrBuilder getTemplatesOrBuilder( int index) { return templates_.get(index); } private void ensureTemplatesIsMutable() { com.google.protobuf.Internal.ProtobufList tmp = templates_; if (!tmp.isModifiable()) { templates_ = com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp); } } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void setTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { value.getClass(); ensureTemplatesIsMutable(); templates_.set(index, value); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void addTemplates(com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { value.getClass(); ensureTemplatesIsMutable(); templates_.add(value); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void addTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { value.getClass(); ensureTemplatesIsMutable(); templates_.add(index, value); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void addAllTemplates( java.lang.Iterable values) { ensureTemplatesIsMutable(); com.google.protobuf.AbstractMessageLite.addAll( values, templates_); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void clearTemplates() { templates_ = emptyProtobufList(); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ private void removeTemplates(int index) { ensureTemplatesIsMutable(); templates_.remove(index); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data, extensionRegistry); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input, extensionRegistry); } public static Builder newBuilder() { return (Builder) DEFAULT_INSTANCE.createBuilder(); } public static Builder newBuilder(com.streamlayer.sdkSettings.common.AdvertisingTemplates prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** *
   * Contains a global template
   * 
* * Protobuf type {@code streamlayer.sdkSettings.AdvertisingTemplates} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.sdkSettings.common.AdvertisingTemplates, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.sdkSettings.AdvertisingTemplates) com.streamlayer.sdkSettings.common.AdvertisingTemplatesOrBuilder { // Construct using com.streamlayer.sdkSettings.common.AdvertisingTemplates.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public java.util.List getTemplatesList() { return java.util.Collections.unmodifiableList( instance.getTemplatesList()); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public int getTemplatesCount() { return instance.getTemplatesCount(); }/** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ @java.lang.Override public com.streamlayer.sdkSettings.common.AdvertisingTemplate getTemplates(int index) { return instance.getTemplates(index); } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder setTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { copyOnWrite(); instance.setTemplates(index, value); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder setTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate.Builder builderForValue) { copyOnWrite(); instance.setTemplates(index, builderForValue.build()); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder addTemplates(com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { copyOnWrite(); instance.addTemplates(value); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder addTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate value) { copyOnWrite(); instance.addTemplates(index, value); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder addTemplates( com.streamlayer.sdkSettings.common.AdvertisingTemplate.Builder builderForValue) { copyOnWrite(); instance.addTemplates(builderForValue.build()); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder addTemplates( int index, com.streamlayer.sdkSettings.common.AdvertisingTemplate.Builder builderForValue) { copyOnWrite(); instance.addTemplates(index, builderForValue.build()); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder addAllTemplates( java.lang.Iterable values) { copyOnWrite(); instance.addAllTemplates(values); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder clearTemplates() { copyOnWrite(); instance.clearTemplates(); return this; } /** * repeated .streamlayer.sdkSettings.AdvertisingTemplate templates = 1 [json_name = "templates"]; */ public Builder removeTemplates(int index) { copyOnWrite(); instance.removeTemplates(index); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.sdkSettings.AdvertisingTemplates) } @java.lang.Override @java.lang.SuppressWarnings({"unchecked", "fallthrough"}) protected final java.lang.Object dynamicMethod( com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1) { switch (method) { case NEW_MUTABLE_INSTANCE: { return new com.streamlayer.sdkSettings.common.AdvertisingTemplates(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "templates_", com.streamlayer.sdkSettings.common.AdvertisingTemplate.class, }; java.lang.String info = "\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0001\u0000\u0001\u001b"; return newMessageInfo(DEFAULT_INSTANCE, info, objects); } // fall through case GET_DEFAULT_INSTANCE: { return DEFAULT_INSTANCE; } case GET_PARSER: { com.google.protobuf.Parser parser = PARSER; if (parser == null) { synchronized (com.streamlayer.sdkSettings.common.AdvertisingTemplates.class) { parser = PARSER; if (parser == null) { parser = new DefaultInstanceBasedParser( DEFAULT_INSTANCE); PARSER = parser; } } } return parser; } case GET_MEMOIZED_IS_INITIALIZED: { return (byte) 1; } case SET_MEMOIZED_IS_INITIALIZED: { return null; } } throw new UnsupportedOperationException(); } // @@protoc_insertion_point(class_scope:streamlayer.sdkSettings.AdvertisingTemplates) private static final com.streamlayer.sdkSettings.common.AdvertisingTemplates DEFAULT_INSTANCE; static { AdvertisingTemplates defaultInstance = new AdvertisingTemplates(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( AdvertisingTemplates.class, defaultInstance); } public static com.streamlayer.sdkSettings.common.AdvertisingTemplates getDefaultInstance() { return DEFAULT_INSTANCE; } private static volatile com.google.protobuf.Parser PARSER; public static com.google.protobuf.Parser parser() { return DEFAULT_INSTANCE.getParserForType(); } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy