main.java.com.streamlayer.users.GetFriendsResponse 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/users/users.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.users;
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse}
*/
public final class GetFriendsResponse extends
com.google.protobuf.GeneratedMessageLite<
GetFriendsResponse, GetFriendsResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.GetFriendsResponse)
GetFriendsResponseOrBuilder {
private GetFriendsResponse() {
data_ = emptyProtobufList();
}
public interface ResponseMetaOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.users.GetFriendsResponse.ResponseMeta)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The lastCreatedAt.
*/
java.lang.String getLastCreatedAt();
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The bytes for lastCreatedAt.
*/
com.google.protobuf.ByteString
getLastCreatedAtBytes();
}
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse.ResponseMeta}
*/
public static final class ResponseMeta extends
com.google.protobuf.GeneratedMessageLite<
ResponseMeta, ResponseMeta.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.GetFriendsResponse.ResponseMeta)
ResponseMetaOrBuilder {
private ResponseMeta() {
lastCreatedAt_ = "";
}
public static final int LAST_CREATED_AT_FIELD_NUMBER = 1;
private java.lang.String lastCreatedAt_;
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The lastCreatedAt.
*/
@java.lang.Override
public java.lang.String getLastCreatedAt() {
return lastCreatedAt_;
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The bytes for lastCreatedAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLastCreatedAtBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(lastCreatedAt_);
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @param value The lastCreatedAt to set.
*/
private void setLastCreatedAt(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
lastCreatedAt_ = value;
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
*/
private void clearLastCreatedAt() {
lastCreatedAt_ = getDefaultInstance().getLastCreatedAt();
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @param value The bytes for lastCreatedAt to set.
*/
private void setLastCreatedAtBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
lastCreatedAt_ = value.toStringUtf8();
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta 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.users.GetFriendsResponse.ResponseMeta parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta 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.users.GetFriendsResponse.ResponseMeta parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta 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.users.GetFriendsResponse.ResponseMeta parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta 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.users.GetFriendsResponse.ResponseMeta parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta 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.users.GetFriendsResponse.ResponseMeta prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse.ResponseMeta}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.GetFriendsResponse.ResponseMeta, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.GetFriendsResponse.ResponseMeta)
com.streamlayer.users.GetFriendsResponse.ResponseMetaOrBuilder {
// Construct using com.streamlayer.users.GetFriendsResponse.ResponseMeta.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The lastCreatedAt.
*/
@java.lang.Override
public java.lang.String getLastCreatedAt() {
return instance.getLastCreatedAt();
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return The bytes for lastCreatedAt.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getLastCreatedAtBytes() {
return instance.getLastCreatedAtBytes();
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @param value The lastCreatedAt to set.
* @return This builder for chaining.
*/
public Builder setLastCreatedAt(
java.lang.String value) {
copyOnWrite();
instance.setLastCreatedAt(value);
return this;
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @return This builder for chaining.
*/
public Builder clearLastCreatedAt() {
copyOnWrite();
instance.clearLastCreatedAt();
return this;
}
/**
* string last_created_at = 1 [json_name = "lastCreatedAt"];
* @param value The bytes for lastCreatedAt to set.
* @return This builder for chaining.
*/
public Builder setLastCreatedAtBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setLastCreatedAtBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.GetFriendsResponse.ResponseMeta)
}
@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.users.GetFriendsResponse.ResponseMeta();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"lastCreatedAt_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0000\u0001\u0001\u0001\u0000\u0000\u0000\u0001\u0208";
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.users.GetFriendsResponse.ResponseMeta.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.users.GetFriendsResponse.ResponseMeta)
private static final com.streamlayer.users.GetFriendsResponse.ResponseMeta DEFAULT_INSTANCE;
static {
ResponseMeta defaultInstance = new ResponseMeta();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
ResponseMeta.class, defaultInstance);
}
public static com.streamlayer.users.GetFriendsResponse.ResponseMeta getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
public interface FriendDataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.users.GetFriendsResponse.FriendData)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
java.lang.String getName();
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The tinodeId.
*/
java.lang.String getTinodeId();
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The bytes for tinodeId.
*/
com.google.protobuf.ByteString
getTinodeIdBytes();
/**
* string sl_id = 3 [json_name = "slId"];
* @return The slId.
*/
java.lang.String getSlId();
/**
* string sl_id = 3 [json_name = "slId"];
* @return The bytes for slId.
*/
com.google.protobuf.ByteString
getSlIdBytes();
}
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse.FriendData}
*/
public static final class FriendData extends
com.google.protobuf.GeneratedMessageLite<
FriendData, FriendData.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.GetFriendsResponse.FriendData)
FriendDataOrBuilder {
private FriendData() {
name_ = "";
tinodeId_ = "";
slId_ = "";
}
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.String name_;
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return name_;
}
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(name_);
}
/**
* string name = 1 [json_name = "name"];
* @param value The name to set.
*/
private void setName(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
name_ = value;
}
/**
* string name = 1 [json_name = "name"];
*/
private void clearName() {
name_ = getDefaultInstance().getName();
}
/**
* string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
*/
private void setNameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
name_ = value.toStringUtf8();
}
public static final int TINODE_ID_FIELD_NUMBER = 2;
private java.lang.String tinodeId_;
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The tinodeId.
*/
@java.lang.Override
public java.lang.String getTinodeId() {
return tinodeId_;
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The bytes for tinodeId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTinodeIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(tinodeId_);
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @param value The tinodeId to set.
*/
private void setTinodeId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
tinodeId_ = value;
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
*/
private void clearTinodeId() {
tinodeId_ = getDefaultInstance().getTinodeId();
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @param value The bytes for tinodeId to set.
*/
private void setTinodeIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
tinodeId_ = value.toStringUtf8();
}
public static final int SL_ID_FIELD_NUMBER = 3;
private java.lang.String slId_;
/**
* string sl_id = 3 [json_name = "slId"];
* @return The slId.
*/
@java.lang.Override
public java.lang.String getSlId() {
return slId_;
}
/**
* string sl_id = 3 [json_name = "slId"];
* @return The bytes for slId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlIdBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(slId_);
}
/**
* string sl_id = 3 [json_name = "slId"];
* @param value The slId to set.
*/
private void setSlId(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
slId_ = value;
}
/**
* string sl_id = 3 [json_name = "slId"];
*/
private void clearSlId() {
slId_ = getDefaultInstance().getSlId();
}
/**
* string sl_id = 3 [json_name = "slId"];
* @param value The bytes for slId to set.
*/
private void setSlIdBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
slId_ = value.toStringUtf8();
}
public static com.streamlayer.users.GetFriendsResponse.FriendData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData 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.users.GetFriendsResponse.FriendData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData 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.users.GetFriendsResponse.FriendData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData 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.users.GetFriendsResponse.FriendData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData 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.users.GetFriendsResponse.FriendData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData 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.users.GetFriendsResponse.FriendData prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse.FriendData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.GetFriendsResponse.FriendData, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.GetFriendsResponse.FriendData)
com.streamlayer.users.GetFriendsResponse.FriendDataOrBuilder {
// Construct using com.streamlayer.users.GetFriendsResponse.FriendData.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string name = 1 [json_name = "name"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
return instance.getName();
}
/**
* string name = 1 [json_name = "name"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
return instance.getNameBytes();
}
/**
* string name = 1 [json_name = "name"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
copyOnWrite();
instance.setName(value);
return this;
}
/**
* string name = 1 [json_name = "name"];
* @return This builder for chaining.
*/
public Builder clearName() {
copyOnWrite();
instance.clearName();
return this;
}
/**
* string name = 1 [json_name = "name"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setNameBytes(value);
return this;
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The tinodeId.
*/
@java.lang.Override
public java.lang.String getTinodeId() {
return instance.getTinodeId();
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return The bytes for tinodeId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTinodeIdBytes() {
return instance.getTinodeIdBytes();
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @param value The tinodeId to set.
* @return This builder for chaining.
*/
public Builder setTinodeId(
java.lang.String value) {
copyOnWrite();
instance.setTinodeId(value);
return this;
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @return This builder for chaining.
*/
public Builder clearTinodeId() {
copyOnWrite();
instance.clearTinodeId();
return this;
}
/**
* string tinode_id = 2 [json_name = "tinodeId"];
* @param value The bytes for tinodeId to set.
* @return This builder for chaining.
*/
public Builder setTinodeIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setTinodeIdBytes(value);
return this;
}
/**
* string sl_id = 3 [json_name = "slId"];
* @return The slId.
*/
@java.lang.Override
public java.lang.String getSlId() {
return instance.getSlId();
}
/**
* string sl_id = 3 [json_name = "slId"];
* @return The bytes for slId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSlIdBytes() {
return instance.getSlIdBytes();
}
/**
* string sl_id = 3 [json_name = "slId"];
* @param value The slId to set.
* @return This builder for chaining.
*/
public Builder setSlId(
java.lang.String value) {
copyOnWrite();
instance.setSlId(value);
return this;
}
/**
* string sl_id = 3 [json_name = "slId"];
* @return This builder for chaining.
*/
public Builder clearSlId() {
copyOnWrite();
instance.clearSlId();
return this;
}
/**
* string sl_id = 3 [json_name = "slId"];
* @param value The bytes for slId to set.
* @return This builder for chaining.
*/
public Builder setSlIdBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setSlIdBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.GetFriendsResponse.FriendData)
}
@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.users.GetFriendsResponse.FriendData();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"name_",
"tinodeId_",
"slId_",
};
java.lang.String info =
"\u0000\u0003\u0000\u0000\u0001\u0003\u0003\u0000\u0000\u0000\u0001\u0208\u0002\u0208" +
"\u0003\u0208";
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.users.GetFriendsResponse.FriendData.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.users.GetFriendsResponse.FriendData)
private static final com.streamlayer.users.GetFriendsResponse.FriendData DEFAULT_INSTANCE;
static {
FriendData defaultInstance = new FriendData();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
FriendData.class, defaultInstance);
}
public static com.streamlayer.users.GetFriendsResponse.FriendData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}
private int bitField0_;
public static final int DATA_FIELD_NUMBER = 1;
private com.google.protobuf.Internal.ProtobufList data_;
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.List getDataList() {
return data_;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public java.util.List extends com.streamlayer.users.GetFriendsResponse.FriendDataOrBuilder>
getDataOrBuilderList() {
return data_;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public int getDataCount() {
return data_.size();
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.users.GetFriendsResponse.FriendData getData(int index) {
return data_.get(index);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public com.streamlayer.users.GetFriendsResponse.FriendDataOrBuilder getDataOrBuilder(
int index) {
return data_.get(index);
}
private void ensureDataIsMutable() {
com.google.protobuf.Internal.ProtobufList tmp = data_;
if (!tmp.isModifiable()) {
data_ =
com.google.protobuf.GeneratedMessageLite.mutableCopy(tmp);
}
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void setData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData value) {
value.getClass();
ensureDataIsMutable();
data_.set(index, value);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void addData(com.streamlayer.users.GetFriendsResponse.FriendData value) {
value.getClass();
ensureDataIsMutable();
data_.add(value);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void addData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData value) {
value.getClass();
ensureDataIsMutable();
data_.add(index, value);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void addAllData(
java.lang.Iterable extends com.streamlayer.users.GetFriendsResponse.FriendData> values) {
ensureDataIsMutable();
com.google.protobuf.AbstractMessageLite.addAll(
values, data_);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void clearData() {
data_ = emptyProtobufList();
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
private void removeData(int index) {
ensureDataIsMutable();
data_.remove(index);
}
public static final int METADATA_FIELD_NUMBER = 2;
private com.streamlayer.users.GetFriendsResponse.ResponseMeta metadata_;
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
@java.lang.Override
public boolean hasMetadata() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
@java.lang.Override
public com.streamlayer.users.GetFriendsResponse.ResponseMeta getMetadata() {
return metadata_ == null ? com.streamlayer.users.GetFriendsResponse.ResponseMeta.getDefaultInstance() : metadata_;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
private void setMetadata(com.streamlayer.users.GetFriendsResponse.ResponseMeta value) {
value.getClass();
metadata_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMetadata(com.streamlayer.users.GetFriendsResponse.ResponseMeta value) {
value.getClass();
if (metadata_ != null &&
metadata_ != com.streamlayer.users.GetFriendsResponse.ResponseMeta.getDefaultInstance()) {
metadata_ =
com.streamlayer.users.GetFriendsResponse.ResponseMeta.newBuilder(metadata_).mergeFrom(value).buildPartial();
} else {
metadata_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
private void clearMetadata() { metadata_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.users.GetFriendsResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse 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.users.GetFriendsResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse 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.users.GetFriendsResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.GetFriendsResponse 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.users.GetFriendsResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse 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.users.GetFriendsResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input, extensionRegistry);
}
public static com.streamlayer.users.GetFriendsResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.GetFriendsResponse 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.users.GetFriendsResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.GetFriendsResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.GetFriendsResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.GetFriendsResponse)
com.streamlayer.users.GetFriendsResponseOrBuilder {
// Construct using com.streamlayer.users.GetFriendsResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public java.util.List getDataList() {
return java.util.Collections.unmodifiableList(
instance.getDataList());
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public int getDataCount() {
return instance.getDataCount();
}/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.users.GetFriendsResponse.FriendData getData(int index) {
return instance.getData(index);
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder setData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData value) {
copyOnWrite();
instance.setData(index, value);
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder setData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData.Builder builderForValue) {
copyOnWrite();
instance.setData(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder addData(com.streamlayer.users.GetFriendsResponse.FriendData value) {
copyOnWrite();
instance.addData(value);
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder addData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData value) {
copyOnWrite();
instance.addData(index, value);
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder addData(
com.streamlayer.users.GetFriendsResponse.FriendData.Builder builderForValue) {
copyOnWrite();
instance.addData(builderForValue.build());
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder addData(
int index, com.streamlayer.users.GetFriendsResponse.FriendData.Builder builderForValue) {
copyOnWrite();
instance.addData(index,
builderForValue.build());
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder addAllData(
java.lang.Iterable extends com.streamlayer.users.GetFriendsResponse.FriendData> values) {
copyOnWrite();
instance.addAllData(values);
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder clearData() {
copyOnWrite();
instance.clearData();
return this;
}
/**
* repeated .streamlayer.users.GetFriendsResponse.FriendData data = 1 [json_name = "data"];
*/
public Builder removeData(int index) {
copyOnWrite();
instance.removeData(index);
return this;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
@java.lang.Override
public boolean hasMetadata() {
return instance.hasMetadata();
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
@java.lang.Override
public com.streamlayer.users.GetFriendsResponse.ResponseMeta getMetadata() {
return instance.getMetadata();
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
public Builder setMetadata(com.streamlayer.users.GetFriendsResponse.ResponseMeta value) {
copyOnWrite();
instance.setMetadata(value);
return this;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
public Builder setMetadata(
com.streamlayer.users.GetFriendsResponse.ResponseMeta.Builder builderForValue) {
copyOnWrite();
instance.setMetadata(builderForValue.build());
return this;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
public Builder mergeMetadata(com.streamlayer.users.GetFriendsResponse.ResponseMeta value) {
copyOnWrite();
instance.mergeMetadata(value);
return this;
}
/**
* .streamlayer.users.GetFriendsResponse.ResponseMeta metadata = 2 [json_name = "metadata"];
*/
public Builder clearMetadata() { copyOnWrite();
instance.clearMetadata();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.GetFriendsResponse)
}
@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.users.GetFriendsResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
com.streamlayer.users.GetFriendsResponse.FriendData.class,
"metadata_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0001\u0000\u0001\u001b\u0002\u1009" +
"\u0000";
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.users.GetFriendsResponse.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.users.GetFriendsResponse)
private static final com.streamlayer.users.GetFriendsResponse DEFAULT_INSTANCE;
static {
GetFriendsResponse defaultInstance = new GetFriendsResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
GetFriendsResponse.class, defaultInstance);
}
public static com.streamlayer.users.GetFriendsResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}