main.java.com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sl-protofiles Show documentation
Show all versions of sl-protofiles Show documentation
StreamLayer Java Protofiles
// 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.UsersByTimeLineResponseData}
*/
public final class UsersByTimeLineResponseData extends
com.google.protobuf.GeneratedMessageLite<
UsersByTimeLineResponseData, UsersByTimeLineResponseData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.analytics.v2.studio.UsersByTimeLineResponseData)
UsersByTimeLineResponseDataOrBuilder {
private UsersByTimeLineResponseData() {
}
public static final int TIME_FRAME_FIELD_NUMBER = 1;
private long timeFrame_;
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
* @return The timeFrame.
*/
@java.lang.Override
public long getTimeFrame() {
return timeFrame_;
}
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
* @param value The timeFrame to set.
*/
private void setTimeFrame(long value) {
timeFrame_ = value;
}
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
*/
private void clearTimeFrame() {
timeFrame_ = 0L;
}
public static final int REGISTERED_USERS_FIELD_NUMBER = 2;
private int registeredUsers_;
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
* @return The registeredUsers.
*/
@java.lang.Override
public int getRegisteredUsers() {
return registeredUsers_;
}
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
* @param value The registeredUsers to set.
*/
private void setRegisteredUsers(int value) {
registeredUsers_ = value;
}
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
*/
private void clearRegisteredUsers() {
registeredUsers_ = 0;
}
public static final int TOTAL_DEVICES_FIELD_NUMBER = 3;
private int totalDevices_;
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
* @return The totalDevices.
*/
@java.lang.Override
public int getTotalDevices() {
return totalDevices_;
}
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
* @param value The totalDevices to set.
*/
private void setTotalDevices(int value) {
totalDevices_ = value;
}
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
*/
private void clearTotalDevices() {
totalDevices_ = 0;
}
public static final int ENGAGED_USERS_FIELD_NUMBER = 4;
private int engagedUsers_;
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
* @return The engagedUsers.
*/
@java.lang.Override
public int getEngagedUsers() {
return engagedUsers_;
}
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
* @param value The engagedUsers to set.
*/
private void setEngagedUsers(int value) {
engagedUsers_ = value;
}
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
*/
private void clearEngagedUsers() {
engagedUsers_ = 0;
}
public static com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData 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.UsersByTimeLineResponseData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.analytics.v2.studio.UsersByTimeLineResponseData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.analytics.v2.studio.UsersByTimeLineResponseData)
com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseDataOrBuilder {
// Construct using com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
* @return The timeFrame.
*/
@java.lang.Override
public long getTimeFrame() {
return instance.getTimeFrame();
}
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
* @param value The timeFrame to set.
* @return This builder for chaining.
*/
public Builder setTimeFrame(long value) {
copyOnWrite();
instance.setTimeFrame(value);
return this;
}
/**
*
* UNIX timestamp (EPOCH)
*
*
* int64 time_frame = 1 [json_name = "timeFrame"];
* @return This builder for chaining.
*/
public Builder clearTimeFrame() {
copyOnWrite();
instance.clearTimeFrame();
return this;
}
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
* @return The registeredUsers.
*/
@java.lang.Override
public int getRegisteredUsers() {
return instance.getRegisteredUsers();
}
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
* @param value The registeredUsers to set.
* @return This builder for chaining.
*/
public Builder setRegisteredUsers(int value) {
copyOnWrite();
instance.setRegisteredUsers(value);
return this;
}
/**
* int32 registered_users = 2 [json_name = "registeredUsers"];
* @return This builder for chaining.
*/
public Builder clearRegisteredUsers() {
copyOnWrite();
instance.clearRegisteredUsers();
return this;
}
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
* @return The totalDevices.
*/
@java.lang.Override
public int getTotalDevices() {
return instance.getTotalDevices();
}
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
* @param value The totalDevices to set.
* @return This builder for chaining.
*/
public Builder setTotalDevices(int value) {
copyOnWrite();
instance.setTotalDevices(value);
return this;
}
/**
* int32 total_devices = 3 [json_name = "totalDevices"];
* @return This builder for chaining.
*/
public Builder clearTotalDevices() {
copyOnWrite();
instance.clearTotalDevices();
return this;
}
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
* @return The engagedUsers.
*/
@java.lang.Override
public int getEngagedUsers() {
return instance.getEngagedUsers();
}
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
* @param value The engagedUsers to set.
* @return This builder for chaining.
*/
public Builder setEngagedUsers(int value) {
copyOnWrite();
instance.setEngagedUsers(value);
return this;
}
/**
* int32 engaged_users = 4 [json_name = "engagedUsers"];
* @return This builder for chaining.
*/
public Builder clearEngagedUsers() {
copyOnWrite();
instance.clearEngagedUsers();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.analytics.v2.studio.UsersByTimeLineResponseData)
}
@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.UsersByTimeLineResponseData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"timeFrame_",
"registeredUsers_",
"totalDevices_",
"engagedUsers_",
};
java.lang.String info =
"\u0000\u0004\u0000\u0000\u0001\u0004\u0004\u0000\u0000\u0000\u0001\u0002\u0002\u0004" +
"\u0003\u0004\u0004\u0004";
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.UsersByTimeLineResponseData.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.UsersByTimeLineResponseData)
private static final com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData DEFAULT_INSTANCE;
static {
UsersByTimeLineResponseData defaultInstance = new UsersByTimeLineResponseData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
UsersByTimeLineResponseData.class, defaultInstance);
}
public static com.streamlayer.analytics.studio.v2.UsersByTimeLineResponseData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}