yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/mdb/elasticsearch/v1/user.proto
package yandex.cloud.api.mdb.elasticsearch.v1;
public final class UserOuterClass {
private UserOuterClass() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface UserOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.elasticsearch.v1.User)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
java.lang.String getClusterId();
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
com.google.protobuf.ByteString
getClusterIdBytes();
}
/**
*
* An Elasticsearch user.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.User}
*/
public static final class User extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.elasticsearch.v1.User)
UserOrBuilder {
private static final long serialVersionUID = 0L;
// Use User.newBuilder() to construct.
private User(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private User() {
name_ = "";
clusterId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new User();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private User(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
clusterId_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.class, yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int CLUSTER_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object clusterId_;
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
@java.lang.Override
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clusterId_ = s;
return s;
}
}
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, clusterId_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(clusterId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, clusterId_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User other = (yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getClusterId()
.equals(other.getClusterId())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + CLUSTER_ID_FIELD_NUMBER;
hash = (53 * hash) + getClusterId().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
* An Elasticsearch user.
*
*
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.User}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.elasticsearch.v1.User)
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_User_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.class, yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.Builder.class);
}
// Construct using yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
clusterId_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User getDefaultInstanceForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User build() {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User buildPartial() {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User result = new yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User(this);
result.name_ = name_;
result.clusterId_ = clusterId_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User) {
return mergeFrom((yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User other) {
if (other == yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getClusterId().isEmpty()) {
clusterId_ = other.clusterId_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1;
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object clusterId_ = "";
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The clusterId.
*/
public java.lang.String getClusterId() {
java.lang.Object ref = clusterId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
clusterId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return The bytes for clusterId.
*/
public com.google.protobuf.ByteString
getClusterIdBytes() {
java.lang.Object ref = clusterId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
clusterId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @param value The clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
clusterId_ = value;
onChanged();
return this;
}
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @return This builder for chaining.
*/
public Builder clearClusterId() {
clusterId_ = getDefaultInstance().getClusterId();
onChanged();
return this;
}
/**
*
* ID of the Elasticsearch cluster the user belongs to.
*
*
* string cluster_id = 2;
* @param value The bytes for clusterId to set.
* @return This builder for chaining.
*/
public Builder setClusterIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
clusterId_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yandex.cloud.mdb.elasticsearch.v1.User)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.elasticsearch.v1.User)
private static final yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User();
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public User parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new User(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.User getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface UserSpecOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.mdb.elasticsearch.v1.UserSpec)
com.google.protobuf.MessageOrBuilder {
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
java.lang.String getName();
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
java.lang.String getPassword();
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
com.google.protobuf.ByteString
getPasswordBytes();
}
/**
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.UserSpec}
*/
public static final class UserSpec extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.mdb.elasticsearch.v1.UserSpec)
UserSpecOrBuilder {
private static final long serialVersionUID = 0L;
// Use UserSpec.newBuilder() to construct.
private UserSpec(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private UserSpec() {
name_ = "";
password_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new UserSpec();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserSpec(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
name_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
password_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.class, yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.Builder.class);
}
public static final int NAME_FIELD_NUMBER = 1;
private volatile java.lang.Object name_;
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
@java.lang.Override
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PASSWORD_FIELD_NUMBER = 2;
private volatile java.lang.Object password_;
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
@java.lang.Override
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
}
}
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, password_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(name_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, name_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(password_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, password_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec)) {
return super.equals(obj);
}
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec other = (yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec) obj;
if (!getName()
.equals(other.getName())) return false;
if (!getPassword()
.equals(other.getPassword())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + NAME_FIELD_NUMBER;
hash = (53 * hash) + getName().hashCode();
hash = (37 * hash) + PASSWORD_FIELD_NUMBER;
hash = (53 * hash) + getPassword().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code yandex.cloud.mdb.elasticsearch.v1.UserSpec}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.mdb.elasticsearch.v1.UserSpec)
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpecOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.class, yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.Builder.class);
}
// Construct using yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
name_ = "";
password_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec getDefaultInstanceForType() {
return yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec build() {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec buildPartial() {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec result = new yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec(this);
result.name_ = name_;
result.password_ = password_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec) {
return mergeFrom((yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec other) {
if (other == yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec.getDefaultInstance()) return this;
if (!other.getName().isEmpty()) {
name_ = other.name_;
onChanged();
}
if (!other.getPassword().isEmpty()) {
password_ = other.password_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object name_ = "";
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The name.
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return The bytes for name.
*/
public com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @param value The name to set.
* @return This builder for chaining.
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
name_ = value;
onChanged();
return this;
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @return This builder for chaining.
*/
public Builder clearName() {
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
*
* Name of the Elasticsearch user.
*
*
* string name = 1 [(.yandex.cloud.required) = true, (.yandex.cloud.pattern) = "[a-zA-Z0-9_]*", (.yandex.cloud.length) = "<=63"];
* @param value The bytes for name to set.
* @return This builder for chaining.
*/
public Builder setNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
name_ = value;
onChanged();
return this;
}
private java.lang.Object password_ = "";
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The password.
*/
public java.lang.String getPassword() {
java.lang.Object ref = password_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
password_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return The bytes for password.
*/
public com.google.protobuf.ByteString
getPasswordBytes() {
java.lang.Object ref = password_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
password_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @param value The password to set.
* @return This builder for chaining.
*/
public Builder setPassword(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
password_ = value;
onChanged();
return this;
}
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @return This builder for chaining.
*/
public Builder clearPassword() {
password_ = getDefaultInstance().getPassword();
onChanged();
return this;
}
/**
*
* Password of the Elasticsearch user.
*
*
* string password = 2 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "8-128"];
* @param value The bytes for password to set.
* @return This builder for chaining.
*/
public Builder setPasswordBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
password_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:yandex.cloud.mdb.elasticsearch.v1.UserSpec)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.mdb.elasticsearch.v1.UserSpec)
private static final yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec();
}
public static yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public UserSpec parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new UserSpec(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public yandex.cloud.api.mdb.elasticsearch.v1.UserOuterClass.UserSpec getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_elasticsearch_v1_User_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n,yandex/cloud/mdb/elasticsearch/v1/user" +
".proto\022!yandex.cloud.mdb.elasticsearch.v" +
"1\032\035yandex/cloud/validation.proto\"(\n\004User" +
"\022\014\n\004name\030\001 \001(\t\022\022\n\ncluster_id\030\002 \001(\t\"X\n\010Us" +
"erSpec\022+\n\004name\030\001 \001(\tB\035\350\3071\001\212\3101\004<=63\362\3071\r[a" +
"-zA-Z0-9_]*\022\037\n\010password\030\002 \001(\tB\r\350\3071\001\212\3101\0058" +
"-128B|\n%yandex.cloud.api.mdb.elasticsear" +
"ch.v1ZSgithub.com/yandex-cloud/go-genpro" +
"to/yandex/cloud/mdb/elasticsearch/v1;ela" +
"sticsearchb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
yandex.cloud.api.Validation.getDescriptor(),
});
internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_mdb_elasticsearch_v1_User_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_elasticsearch_v1_User_descriptor,
new java.lang.String[] { "Name", "ClusterId", });
internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_mdb_elasticsearch_v1_UserSpec_descriptor,
new java.lang.String[] { "Name", "Password", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(yandex.cloud.api.Validation.length);
registry.add(yandex.cloud.api.Validation.pattern);
registry.add(yandex.cloud.api.Validation.required);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
yandex.cloud.api.Validation.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy