main.java.com.streamlayer.users.admin.CreateResponse 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/admin/admin_users.proto
// Protobuf Java Version: 3.25.3
package com.streamlayer.users.admin;
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse}
*/
public final class CreateResponse extends
com.google.protobuf.GeneratedMessageLite<
CreateResponse, CreateResponse.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.admin.CreateResponse)
CreateResponseOrBuilder {
private CreateResponse() {
}
public interface CredentialsOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.users.admin.CreateResponse.Credentials)
com.google.protobuf.MessageLiteOrBuilder {
/**
* string username = 1 [json_name = "username"];
* @return The username.
*/
java.lang.String getUsername();
/**
* string username = 1 [json_name = "username"];
* @return The bytes for username.
*/
com.google.protobuf.ByteString
getUsernameBytes();
/**
* string password = 2 [json_name = "password"];
* @return The password.
*/
java.lang.String getPassword();
/**
* string password = 2 [json_name = "password"];
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
}
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse.Credentials}
*/
public static final class Credentials extends
com.google.protobuf.GeneratedMessageLite<
Credentials, Credentials.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.admin.CreateResponse.Credentials)
CredentialsOrBuilder {
private Credentials() {
username_ = "";
password_ = "";
}
public static final int USERNAME_FIELD_NUMBER = 1;
private java.lang.String username_;
/**
* string username = 1 [json_name = "username"];
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
return username_;
}
/**
* string username = 1 [json_name = "username"];
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(username_);
}
/**
* string username = 1 [json_name = "username"];
* @param value The username to set.
*/
private void setUsername(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
username_ = value;
}
/**
* string username = 1 [json_name = "username"];
*/
private void clearUsername() {
username_ = getDefaultInstance().getUsername();
}
/**
* string username = 1 [json_name = "username"];
* @param value The bytes for username to set.
*/
private void setUsernameBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
username_ = value.toStringUtf8();
}
public static final int PASSWORD_FIELD_NUMBER = 2;
private java.lang.String password_;
/**
* string password = 2 [json_name = "password"];
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
return password_;
}
/**
* string password = 2 [json_name = "password"];
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
return com.google.protobuf.ByteString.copyFromUtf8(password_);
}
/**
* string password = 2 [json_name = "password"];
* @param value The password to set.
*/
private void setPassword(
java.lang.String value) {
java.lang.Class> valueClass = value.getClass();
password_ = value;
}
/**
* string password = 2 [json_name = "password"];
*/
private void clearPassword() {
password_ = getDefaultInstance().getPassword();
}
/**
* string password = 2 [json_name = "password"];
* @param value The bytes for password to set.
*/
private void setPasswordBytes(
com.google.protobuf.ByteString value) {
checkByteStringIsUtf8(value);
password_ = value.toStringUtf8();
}
public static com.streamlayer.users.admin.CreateResponse.Credentials parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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.admin.CreateResponse.Credentials prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse.Credentials}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.admin.CreateResponse.Credentials, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.admin.CreateResponse.Credentials)
com.streamlayer.users.admin.CreateResponse.CredentialsOrBuilder {
// Construct using com.streamlayer.users.admin.CreateResponse.Credentials.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* string username = 1 [json_name = "username"];
* @return The username.
*/
@java.lang.Override
public java.lang.String getUsername() {
return instance.getUsername();
}
/**
* string username = 1 [json_name = "username"];
* @return The bytes for username.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getUsernameBytes() {
return instance.getUsernameBytes();
}
/**
* string username = 1 [json_name = "username"];
* @param value The username to set.
* @return This builder for chaining.
*/
public Builder setUsername(
java.lang.String value) {
copyOnWrite();
instance.setUsername(value);
return this;
}
/**
* string username = 1 [json_name = "username"];
* @return This builder for chaining.
*/
public Builder clearUsername() {
copyOnWrite();
instance.clearUsername();
return this;
}
/**
* string username = 1 [json_name = "username"];
* @param value The bytes for username to set.
* @return This builder for chaining.
*/
public Builder setUsernameBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setUsernameBytes(value);
return this;
}
/**
* string password = 2 [json_name = "password"];
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
return instance.getPassword();
}
/**
* string password = 2 [json_name = "password"];
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
return instance.getPasswordBytes();
}
/**
* string password = 2 [json_name = "password"];
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
copyOnWrite();
instance.setPassword(value);
return this;
}
/**
* string password = 2 [json_name = "password"];
* @return This builder for chaining.
*/
public Builder clearPassword() {
copyOnWrite();
instance.clearPassword();
return this;
}
/**
* string password = 2 [json_name = "password"];
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
copyOnWrite();
instance.setPasswordBytes(value);
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.admin.CreateResponse.Credentials)
}
@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.admin.CreateResponse.Credentials();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"username_",
"password_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0000\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u0208\u0002\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.admin.CreateResponse.Credentials.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.admin.CreateResponse.Credentials)
private static final com.streamlayer.users.admin.CreateResponse.Credentials DEFAULT_INSTANCE;
static {
Credentials defaultInstance = new Credentials();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Credentials.class, defaultInstance);
}
public static com.streamlayer.users.admin.CreateResponse.Credentials 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 MetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:streamlayer.users.admin.CreateResponse.Metadata)
com.google.protobuf.MessageLiteOrBuilder {
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
* @return Whether the credentials field is set.
*/
boolean hasCredentials();
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
* @return The credentials.
*/
com.streamlayer.users.admin.CreateResponse.Credentials getCredentials();
}
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse.Metadata}
*/
public static final class Metadata extends
com.google.protobuf.GeneratedMessageLite<
Metadata, Metadata.Builder> implements
// @@protoc_insertion_point(message_implements:streamlayer.users.admin.CreateResponse.Metadata)
MetadataOrBuilder {
private Metadata() {
}
private int bitField0_;
public static final int CREDENTIALS_FIELD_NUMBER = 1;
private com.streamlayer.users.admin.CreateResponse.Credentials credentials_;
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
@java.lang.Override
public boolean hasCredentials() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
@java.lang.Override
public com.streamlayer.users.admin.CreateResponse.Credentials getCredentials() {
return credentials_ == null ? com.streamlayer.users.admin.CreateResponse.Credentials.getDefaultInstance() : credentials_;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
private void setCredentials(com.streamlayer.users.admin.CreateResponse.Credentials value) {
value.getClass();
credentials_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeCredentials(com.streamlayer.users.admin.CreateResponse.Credentials value) {
value.getClass();
if (credentials_ != null &&
credentials_ != com.streamlayer.users.admin.CreateResponse.Credentials.getDefaultInstance()) {
credentials_ =
com.streamlayer.users.admin.CreateResponse.Credentials.newBuilder(credentials_).mergeFrom(value).buildPartial();
} else {
credentials_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
private void clearCredentials() { credentials_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.admin.CreateResponse.Metadata prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse.Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.admin.CreateResponse.Metadata, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.admin.CreateResponse.Metadata)
com.streamlayer.users.admin.CreateResponse.MetadataOrBuilder {
// Construct using com.streamlayer.users.admin.CreateResponse.Metadata.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
@java.lang.Override
public boolean hasCredentials() {
return instance.hasCredentials();
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
@java.lang.Override
public com.streamlayer.users.admin.CreateResponse.Credentials getCredentials() {
return instance.getCredentials();
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
public Builder setCredentials(com.streamlayer.users.admin.CreateResponse.Credentials value) {
copyOnWrite();
instance.setCredentials(value);
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
public Builder setCredentials(
com.streamlayer.users.admin.CreateResponse.Credentials.Builder builderForValue) {
copyOnWrite();
instance.setCredentials(builderForValue.build());
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
public Builder mergeCredentials(com.streamlayer.users.admin.CreateResponse.Credentials value) {
copyOnWrite();
instance.mergeCredentials(value);
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Credentials credentials = 1 [json_name = "credentials"];
*/
public Builder clearCredentials() { copyOnWrite();
instance.clearCredentials();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.admin.CreateResponse.Metadata)
}
@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.admin.CreateResponse.Metadata();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"credentials_",
};
java.lang.String info =
"\u0000\u0001\u0000\u0001\u0001\u0001\u0001\u0000\u0000\u0000\u0001\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.admin.CreateResponse.Metadata.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.admin.CreateResponse.Metadata)
private static final com.streamlayer.users.admin.CreateResponse.Metadata DEFAULT_INSTANCE;
static {
Metadata defaultInstance = new Metadata();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
Metadata.class, defaultInstance);
}
public static com.streamlayer.users.admin.CreateResponse.Metadata 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.streamlayer.users.User data_;
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.users.User getData() {
return data_ == null ? com.streamlayer.users.User.getDefaultInstance() : data_;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
private void setData(com.streamlayer.users.User value) {
value.getClass();
data_ = value;
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeData(com.streamlayer.users.User value) {
value.getClass();
if (data_ != null &&
data_ != com.streamlayer.users.User.getDefaultInstance()) {
data_ =
com.streamlayer.users.User.newBuilder(data_).mergeFrom(value).buildPartial();
} else {
data_ = value;
}
bitField0_ |= 0x00000001;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
private void clearData() { data_ = null;
bitField0_ = (bitField0_ & ~0x00000001);
}
public static final int META_FIELD_NUMBER = 2;
private com.streamlayer.users.admin.CreateResponse.Metadata meta_;
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public boolean hasMeta() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public com.streamlayer.users.admin.CreateResponse.Metadata getMeta() {
return meta_ == null ? com.streamlayer.users.admin.CreateResponse.Metadata.getDefaultInstance() : meta_;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
private void setMeta(com.streamlayer.users.admin.CreateResponse.Metadata value) {
value.getClass();
meta_ = value;
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
@java.lang.SuppressWarnings({"ReferenceEquality"})
private void mergeMeta(com.streamlayer.users.admin.CreateResponse.Metadata value) {
value.getClass();
if (meta_ != null &&
meta_ != com.streamlayer.users.admin.CreateResponse.Metadata.getDefaultInstance()) {
meta_ =
com.streamlayer.users.admin.CreateResponse.Metadata.newBuilder(meta_).mergeFrom(value).buildPartial();
} else {
meta_ = value;
}
bitField0_ |= 0x00000002;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
private void clearMeta() { meta_ = null;
bitField0_ = (bitField0_ & ~0x00000002);
}
public static com.streamlayer.users.admin.CreateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse 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.admin.CreateResponse 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.admin.CreateResponse 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.admin.CreateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, data);
}
public static com.streamlayer.users.admin.CreateResponse 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.admin.CreateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse 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.admin.CreateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return parseDelimitedFrom(DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse 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.admin.CreateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageLite.parseFrom(
DEFAULT_INSTANCE, input);
}
public static com.streamlayer.users.admin.CreateResponse 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.admin.CreateResponse prototype) {
return DEFAULT_INSTANCE.createBuilder(prototype);
}
/**
* Protobuf type {@code streamlayer.users.admin.CreateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageLite.Builder<
com.streamlayer.users.admin.CreateResponse, Builder> implements
// @@protoc_insertion_point(builder_implements:streamlayer.users.admin.CreateResponse)
com.streamlayer.users.admin.CreateResponseOrBuilder {
// Construct using com.streamlayer.users.admin.CreateResponse.newBuilder()
private Builder() {
super(DEFAULT_INSTANCE);
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
@java.lang.Override
public boolean hasData() {
return instance.hasData();
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
@java.lang.Override
public com.streamlayer.users.User getData() {
return instance.getData();
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
public Builder setData(com.streamlayer.users.User value) {
copyOnWrite();
instance.setData(value);
return this;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
public Builder setData(
com.streamlayer.users.User.Builder builderForValue) {
copyOnWrite();
instance.setData(builderForValue.build());
return this;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
public Builder mergeData(com.streamlayer.users.User value) {
copyOnWrite();
instance.mergeData(value);
return this;
}
/**
* .streamlayer.users.User data = 1 [json_name = "data"];
*/
public Builder clearData() { copyOnWrite();
instance.clearData();
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public boolean hasMeta() {
return instance.hasMeta();
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
@java.lang.Override
public com.streamlayer.users.admin.CreateResponse.Metadata getMeta() {
return instance.getMeta();
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
public Builder setMeta(com.streamlayer.users.admin.CreateResponse.Metadata value) {
copyOnWrite();
instance.setMeta(value);
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
public Builder setMeta(
com.streamlayer.users.admin.CreateResponse.Metadata.Builder builderForValue) {
copyOnWrite();
instance.setMeta(builderForValue.build());
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
public Builder mergeMeta(com.streamlayer.users.admin.CreateResponse.Metadata value) {
copyOnWrite();
instance.mergeMeta(value);
return this;
}
/**
* .streamlayer.users.admin.CreateResponse.Metadata meta = 2 [json_name = "meta"];
*/
public Builder clearMeta() { copyOnWrite();
instance.clearMeta();
return this;
}
// @@protoc_insertion_point(builder_scope:streamlayer.users.admin.CreateResponse)
}
@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.admin.CreateResponse();
}
case NEW_BUILDER: {
return new Builder();
}
case BUILD_MESSAGE_INFO: {
java.lang.Object[] objects = new java.lang.Object[] {
"bitField0_",
"data_",
"meta_",
};
java.lang.String info =
"\u0000\u0002\u0000\u0001\u0001\u0002\u0002\u0000\u0000\u0000\u0001\u1009\u0000\u0002" +
"\u1009\u0001";
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.admin.CreateResponse.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.admin.CreateResponse)
private static final com.streamlayer.users.admin.CreateResponse DEFAULT_INSTANCE;
static {
CreateResponse defaultInstance = new CreateResponse();
// New instances are implicitly immutable so no need to make
// immutable.
DEFAULT_INSTANCE = defaultInstance;
com.google.protobuf.GeneratedMessageLite.registerDefaultInstance(
CreateResponse.class, defaultInstance);
}
public static com.streamlayer.users.admin.CreateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static volatile com.google.protobuf.Parser PARSER;
public static com.google.protobuf.Parser parser() {
return DEFAULT_INSTANCE.getParserForType();
}
}