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

main.java.com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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/analytics/v2/studio/dashboard.proto

// Protobuf Java Version: 3.25.3
package com.streamlayer.analytics.studio.v2;

/**
 * Protobuf type {@code streamlayer.analytics.v2.studio.PollsStatsByTimeLineResponseData}
 */
public  final class PollsStatsByTimeLineResponseData extends
    com.google.protobuf.GeneratedMessageLite<
        PollsStatsByTimeLineResponseData, PollsStatsByTimeLineResponseData.Builder> implements
    // @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.studio.PollsStatsByTimeLineResponseData)
    PollsStatsByTimeLineResponseDataOrBuilder {
  private PollsStatsByTimeLineResponseData() {
    timeFrame_ = "";
  }
  private int bitField0_;
  public static final int TIME_FRAME_FIELD_NUMBER = 1;
  private java.lang.String timeFrame_;
  /**
   * 
   * UNIX timestamp (EPOCH)
   * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @return The timeFrame. */ @java.lang.Override public java.lang.String getTimeFrame() { return timeFrame_; } /** *
   * UNIX timestamp (EPOCH)
   * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @return The bytes for timeFrame. */ @java.lang.Override public com.google.protobuf.ByteString getTimeFrameBytes() { return com.google.protobuf.ByteString.copyFromUtf8(timeFrame_); } /** *
   * UNIX timestamp (EPOCH)
   * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @param value The timeFrame to set. */ private void setTimeFrame( java.lang.String value) { java.lang.Class valueClass = value.getClass(); timeFrame_ = value; } /** *
   * UNIX timestamp (EPOCH)
   * 
* * string time_frame = 1 [json_name = "timeFrame"]; */ private void clearTimeFrame() { timeFrame_ = getDefaultInstance().getTimeFrame(); } /** *
   * UNIX timestamp (EPOCH)
   * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @param value The bytes for timeFrame to set. */ private void setTimeFrameBytes( com.google.protobuf.ByteString value) { checkByteStringIsUtf8(value); timeFrame_ = value.toStringUtf8(); } public static final int COMMON_FIELD_NUMBER = 2; private com.streamlayer.analytics.studio.v2.MetricsData common_; /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ @java.lang.Override public boolean hasCommon() { return ((bitField0_ & 0x00000001) != 0); } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ @java.lang.Override public com.streamlayer.analytics.studio.v2.MetricsData getCommon() { return common_ == null ? com.streamlayer.analytics.studio.v2.MetricsData.getDefaultInstance() : common_; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ private void setCommon(com.streamlayer.analytics.studio.v2.MetricsData value) { value.getClass(); common_ = value; bitField0_ |= 0x00000001; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ @java.lang.SuppressWarnings({"ReferenceEquality"}) private void mergeCommon(com.streamlayer.analytics.studio.v2.MetricsData value) { value.getClass(); if (common_ != null && common_ != com.streamlayer.analytics.studio.v2.MetricsData.getDefaultInstance()) { common_ = com.streamlayer.analytics.studio.v2.MetricsData.newBuilder(common_).mergeFrom(value).buildPartial(); } else { common_ = value; } bitField0_ |= 0x00000001; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ private void clearCommon() { common_ = null; bitField0_ = (bitField0_ & ~0x00000001); } public static final int BY_TYPE_FIELD_NUMBER = 3; private static final class ByTypeDefaultEntryHolder { static final com.google.protobuf.MapEntryLite< java.lang.String, com.streamlayer.analytics.studio.v2.MetricsData> defaultEntry = com.google.protobuf.MapEntryLite .newDefaultInstance( com.google.protobuf.WireFormat.FieldType.STRING, "", com.google.protobuf.WireFormat.FieldType.MESSAGE, com.streamlayer.analytics.studio.v2.MetricsData.getDefaultInstance()); } private com.google.protobuf.MapFieldLite< java.lang.String, com.streamlayer.analytics.studio.v2.MetricsData> byType_ = com.google.protobuf.MapFieldLite.emptyMapField(); private com.google.protobuf.MapFieldLite internalGetByType() { return byType_; } private com.google.protobuf.MapFieldLite internalGetMutableByType() { if (!byType_.isMutable()) { byType_ = byType_.mutableCopy(); } return byType_; } @java.lang.Override public int getByTypeCount() { return internalGetByType().size(); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public boolean containsByType( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return internalGetByType().containsKey(key); } /** * Use {@link #getByTypeMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getByType() { return getByTypeMap(); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public java.util.Map getByTypeMap() { return java.util.Collections.unmodifiableMap( internalGetByType()); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public /* nullable */ com.streamlayer.analytics.studio.v2.MetricsData getByTypeOrDefault( java.lang.String key, /* nullable */ com.streamlayer.analytics.studio.v2.MetricsData defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetByType(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public com.streamlayer.analytics.studio.v2.MetricsData getByTypeOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = internalGetByType(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ private java.util.Map getMutableByTypeMap() { return internalGetMutableByType(); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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.analytics.studio.v2.PollsStatsByTimeLineResponseData parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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.analytics.studio.v2.PollsStatsByTimeLineResponseData parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, data); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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.analytics.studio.v2.PollsStatsByTimeLineResponseData parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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.analytics.studio.v2.PollsStatsByTimeLineResponseData parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageLite.parseFrom( DEFAULT_INSTANCE, input); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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.analytics.studio.v2.PollsStatsByTimeLineResponseData prototype) { return DEFAULT_INSTANCE.createBuilder(prototype); } /** * Protobuf type {@code streamlayer.analytics.v2.studio.PollsStatsByTimeLineResponseData} */ public static final class Builder extends com.google.protobuf.GeneratedMessageLite.Builder< com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData, Builder> implements // @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.studio.PollsStatsByTimeLineResponseData) com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseDataOrBuilder { // Construct using com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData.newBuilder() private Builder() { super(DEFAULT_INSTANCE); } /** *
     * UNIX timestamp (EPOCH)
     * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @return The timeFrame. */ @java.lang.Override public java.lang.String getTimeFrame() { return instance.getTimeFrame(); } /** *
     * UNIX timestamp (EPOCH)
     * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @return The bytes for timeFrame. */ @java.lang.Override public com.google.protobuf.ByteString getTimeFrameBytes() { return instance.getTimeFrameBytes(); } /** *
     * UNIX timestamp (EPOCH)
     * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @param value The timeFrame to set. * @return This builder for chaining. */ public Builder setTimeFrame( java.lang.String value) { copyOnWrite(); instance.setTimeFrame(value); return this; } /** *
     * UNIX timestamp (EPOCH)
     * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @return This builder for chaining. */ public Builder clearTimeFrame() { copyOnWrite(); instance.clearTimeFrame(); return this; } /** *
     * UNIX timestamp (EPOCH)
     * 
* * string time_frame = 1 [json_name = "timeFrame"]; * @param value The bytes for timeFrame to set. * @return This builder for chaining. */ public Builder setTimeFrameBytes( com.google.protobuf.ByteString value) { copyOnWrite(); instance.setTimeFrameBytes(value); return this; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ @java.lang.Override public boolean hasCommon() { return instance.hasCommon(); } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ @java.lang.Override public com.streamlayer.analytics.studio.v2.MetricsData getCommon() { return instance.getCommon(); } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ public Builder setCommon(com.streamlayer.analytics.studio.v2.MetricsData value) { copyOnWrite(); instance.setCommon(value); return this; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ public Builder setCommon( com.streamlayer.analytics.studio.v2.MetricsData.Builder builderForValue) { copyOnWrite(); instance.setCommon(builderForValue.build()); return this; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ public Builder mergeCommon(com.streamlayer.analytics.studio.v2.MetricsData value) { copyOnWrite(); instance.mergeCommon(value); return this; } /** * .streamlayer.analytics.v2.studio.MetricsData common = 2 [json_name = "common"]; */ public Builder clearCommon() { copyOnWrite(); instance.clearCommon(); return this; } @java.lang.Override public int getByTypeCount() { return instance.getByTypeMap().size(); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public boolean containsByType( java.lang.String key) { java.lang.Class keyClass = key.getClass(); return instance.getByTypeMap().containsKey(key); } public Builder clearByType() { copyOnWrite(); instance.getMutableByTypeMap().clear(); return this; } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ public Builder removeByType( java.lang.String key) { java.lang.Class keyClass = key.getClass(); copyOnWrite(); instance.getMutableByTypeMap().remove(key); return this; } /** * Use {@link #getByTypeMap()} instead. */ @java.lang.Override @java.lang.Deprecated public java.util.Map getByType() { return getByTypeMap(); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public java.util.Map getByTypeMap() { return java.util.Collections.unmodifiableMap( instance.getByTypeMap()); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public /* nullable */ com.streamlayer.analytics.studio.v2.MetricsData getByTypeOrDefault( java.lang.String key, /* nullable */ com.streamlayer.analytics.studio.v2.MetricsData defaultValue) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getByTypeMap(); return map.containsKey(key) ? map.get(key) : defaultValue; } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ @java.lang.Override public com.streamlayer.analytics.studio.v2.MetricsData getByTypeOrThrow( java.lang.String key) { java.lang.Class keyClass = key.getClass(); java.util.Map map = instance.getByTypeMap(); if (!map.containsKey(key)) { throw new java.lang.IllegalArgumentException(); } return map.get(key); } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ public Builder putByType( java.lang.String key, com.streamlayer.analytics.studio.v2.MetricsData value) { java.lang.Class keyClass = key.getClass(); java.lang.Class valueClass = value.getClass(); copyOnWrite(); instance.getMutableByTypeMap().put(key, value); return this; } /** * map<string, .streamlayer.analytics.v2.studio.MetricsData> by_type = 3 [json_name = "byType"]; */ public Builder putAllByType( java.util.Map values) { copyOnWrite(); instance.getMutableByTypeMap().putAll(values); return this; } // @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.studio.PollsStatsByTimeLineResponseData) } @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.analytics.studio.v2.PollsStatsByTimeLineResponseData(); } case NEW_BUILDER: { return new Builder(); } case BUILD_MESSAGE_INFO: { java.lang.Object[] objects = new java.lang.Object[] { "bitField0_", "timeFrame_", "common_", "byType_", ByTypeDefaultEntryHolder.defaultEntry, }; java.lang.String info = "\u0000\u0003\u0000\u0001\u0001\u0003\u0003\u0001\u0000\u0000\u0001\u0208\u0002\u1009" + "\u0000\u00032"; 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.analytics.studio.v2.PollsStatsByTimeLineResponseData.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.analytics.v2.studio.PollsStatsByTimeLineResponseData) private static final com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData DEFAULT_INSTANCE; static { PollsStatsByTimeLineResponseData defaultInstance = new PollsStatsByTimeLineResponseData(); // New instances are implicitly immutable so no need to make // immutable. DEFAULT_INSTANCE = defaultInstance; com.google.protobuf.GeneratedMessageLite.registerDefaultInstance( PollsStatsByTimeLineResponseData.class, defaultInstance); } public static com.streamlayer.analytics.studio.v2.PollsStatsByTimeLineResponseData 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