Class AdvertisingTemplate
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<AdvertisingTemplate,AdvertisingTemplate.Builder>
-
- com.streamlayer.sdkSettings.common.AdvertisingTemplate
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,AdvertisingTemplateOrBuilder
public final class AdvertisingTemplate extends com.google.protobuf.GeneratedMessageLite<AdvertisingTemplate,AdvertisingTemplate.Builder> implements AdvertisingTemplateOrBuilder
Protobuf typestreamlayer.sdkSettings.AdvertisingTemplate
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAdvertisingTemplate.BuilderProtobuf typestreamlayer.sdkSettings.AdvertisingTemplate-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intCONSTRAINTS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intNAME_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsConstraints(java.lang.String key)key is AdvertisingPlacementprotected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.util.Map<java.lang.String,AdvertisingConstraints>getConstraints()Deprecated.intgetConstraintsCount()key is AdvertisingPlacementjava.util.Map<java.lang.String,AdvertisingConstraints>getConstraintsMap()key is AdvertisingPlacementAdvertisingConstraintsgetConstraintsOrDefault(java.lang.String key, AdvertisingConstraints defaultValue)key is AdvertisingPlacementAdvertisingConstraintsgetConstraintsOrThrow(java.lang.String key)key is AdvertisingPlacementstatic AdvertisingTemplategetDefaultInstance()java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetName()string name = 2 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()string name = 2 [json_name = "name"];static AdvertisingTemplate.BuildernewBuilder()static AdvertisingTemplate.BuildernewBuilder(AdvertisingTemplate prototype)static AdvertisingTemplateparseDelimitedFrom(java.io.InputStream input)static AdvertisingTemplateparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdvertisingTemplateparseFrom(byte[] data)static AdvertisingTemplateparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdvertisingTemplateparseFrom(com.google.protobuf.ByteString data)static AdvertisingTemplateparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdvertisingTemplateparseFrom(com.google.protobuf.CodedInputStream input)static AdvertisingTemplateparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdvertisingTemplateparseFrom(java.io.InputStream input)static AdvertisingTemplateparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AdvertisingTemplateparseFrom(java.nio.ByteBuffer data)static AdvertisingTemplateparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AdvertisingTemplate>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CONSTRAINTS_FIELD_NUMBER
public static final int CONSTRAINTS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceAdvertisingTemplateOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceAdvertisingTemplateOrBuilder- Returns:
- The bytes for id.
-
getName
public java.lang.String getName()
string name = 2 [json_name = "name"];- Specified by:
getNamein interfaceAdvertisingTemplateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
string name = 2 [json_name = "name"];- Specified by:
getNameBytesin interfaceAdvertisingTemplateOrBuilder- Returns:
- The bytes for name.
-
getConstraintsCount
public int getConstraintsCount()
Description copied from interface:AdvertisingTemplateOrBuilderkey is AdvertisingPlacement
map<string, .streamlayer.sdkSettings.AdvertisingConstraints> constraints = 3 [json_name = "constraints"];- Specified by:
getConstraintsCountin interfaceAdvertisingTemplateOrBuilder
-
containsConstraints
public boolean containsConstraints(java.lang.String key)
key is AdvertisingPlacement
map<string, .streamlayer.sdkSettings.AdvertisingConstraints> constraints = 3 [json_name = "constraints"];- Specified by:
containsConstraintsin interfaceAdvertisingTemplateOrBuilder
-
getConstraints
@Deprecated public java.util.Map<java.lang.String,AdvertisingConstraints> getConstraints()
Deprecated.UsegetConstraintsMap()instead.- Specified by:
getConstraintsin interfaceAdvertisingTemplateOrBuilder
-
getConstraintsMap
public java.util.Map<java.lang.String,AdvertisingConstraints> getConstraintsMap()
key is AdvertisingPlacement
map<string, .streamlayer.sdkSettings.AdvertisingConstraints> constraints = 3 [json_name = "constraints"];- Specified by:
getConstraintsMapin interfaceAdvertisingTemplateOrBuilder
-
getConstraintsOrDefault
public AdvertisingConstraints getConstraintsOrDefault(java.lang.String key, AdvertisingConstraints defaultValue)
key is AdvertisingPlacement
map<string, .streamlayer.sdkSettings.AdvertisingConstraints> constraints = 3 [json_name = "constraints"];- Specified by:
getConstraintsOrDefaultin interfaceAdvertisingTemplateOrBuilder
-
getConstraintsOrThrow
public AdvertisingConstraints getConstraintsOrThrow(java.lang.String key)
key is AdvertisingPlacement
map<string, .streamlayer.sdkSettings.AdvertisingConstraints> constraints = 3 [json_name = "constraints"];- Specified by:
getConstraintsOrThrowin interfaceAdvertisingTemplateOrBuilder
-
parseFrom
public static AdvertisingTemplate parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AdvertisingTemplate parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AdvertisingTemplate parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AdvertisingTemplate parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static AdvertisingTemplate parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AdvertisingTemplate parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static AdvertisingTemplate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static AdvertisingTemplate.Builder newBuilder()
-
newBuilder
public static AdvertisingTemplate.Builder newBuilder(AdvertisingTemplate prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<AdvertisingTemplate,AdvertisingTemplate.Builder>
-
getDefaultInstance
public static AdvertisingTemplate getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AdvertisingTemplate> parser()
-
-