yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/organizationmanager/v1/ssh_certificate_service.proto
package yandex.cloud.api.organizationmanager.v1;
public final class SshCertificateServiceOuterClass {
private SshCertificateServiceOuterClass() {}
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 GenerateSshCertificateRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.GenerateSshCertificateRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return Whether the cloudId field is set.
*/
boolean hasCloudId();
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The cloudId.
*/
java.lang.String getCloudId();
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for cloudId.
*/
com.google.protobuf.ByteString
getCloudIdBytes();
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return Whether the organizationId field is set.
*/
boolean hasOrganizationId();
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The organizationId.
*/
java.lang.String getOrganizationId();
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for organizationId.
*/
com.google.protobuf.ByteString
getOrganizationIdBytes();
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return Whether the subjectId field is set.
*/
boolean hasSubjectId();
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The subjectId.
*/
java.lang.String getSubjectId();
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for subjectId.
*/
com.google.protobuf.ByteString
getSubjectIdBytes();
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return Whether the osLogin field is set.
*/
boolean hasOsLogin();
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The osLogin.
*/
java.lang.String getOsLogin();
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The bytes for osLogin.
*/
com.google.protobuf.ByteString
getOsLoginBytes();
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The publicKey.
*/
java.lang.String getPublicKey();
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The bytes for publicKey.
*/
com.google.protobuf.ByteString
getPublicKeyBytes();
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.ScopeCase getScopeCase();
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.SubjectCase getSubjectCase();
}
/**
* Protobuf type {@code yandex.cloud.organizationmanager.v1.GenerateSshCertificateRequest}
*/
public static final class GenerateSshCertificateRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.GenerateSshCertificateRequest)
GenerateSshCertificateRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use GenerateSshCertificateRequest.newBuilder() to construct.
private GenerateSshCertificateRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GenerateSshCertificateRequest() {
publicKey_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GenerateSshCertificateRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GenerateSshCertificateRequest(
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();
scopeCase_ = 1;
scope_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
scopeCase_ = 2;
scope_ = s;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
subjectCase_ = 3;
subject_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
subjectCase_ = 4;
subject_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
publicKey_ = 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.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.class, yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.Builder.class);
}
private int scopeCase_ = 0;
private java.lang.Object scope_;
public enum ScopeCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
CLOUD_ID(1),
ORGANIZATION_ID(2),
SCOPE_NOT_SET(0);
private final int value;
private ScopeCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static ScopeCase valueOf(int value) {
return forNumber(value);
}
public static ScopeCase forNumber(int value) {
switch (value) {
case 1: return CLOUD_ID;
case 2: return ORGANIZATION_ID;
case 0: return SCOPE_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public ScopeCase
getScopeCase() {
return ScopeCase.forNumber(
scopeCase_);
}
private int subjectCase_ = 0;
private java.lang.Object subject_;
public enum SubjectCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
SUBJECT_ID(3),
OS_LOGIN(4),
SUBJECT_NOT_SET(0);
private final int value;
private SubjectCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static SubjectCase valueOf(int value) {
return forNumber(value);
}
public static SubjectCase forNumber(int value) {
switch (value) {
case 3: return SUBJECT_ID;
case 4: return OS_LOGIN;
case 0: return SUBJECT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public SubjectCase
getSubjectCase() {
return SubjectCase.forNumber(
subjectCase_);
}
public static final int CLOUD_ID_FIELD_NUMBER = 1;
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return Whether the cloudId field is set.
*/
public boolean hasCloudId() {
return scopeCase_ == 1;
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The cloudId.
*/
public java.lang.String getCloudId() {
java.lang.Object ref = "";
if (scopeCase_ == 1) {
ref = scope_;
}
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();
if (scopeCase_ == 1) {
scope_ = s;
}
return s;
}
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for cloudId.
*/
public com.google.protobuf.ByteString
getCloudIdBytes() {
java.lang.Object ref = "";
if (scopeCase_ == 1) {
ref = scope_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (scopeCase_ == 1) {
scope_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ORGANIZATION_ID_FIELD_NUMBER = 2;
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return Whether the organizationId field is set.
*/
public boolean hasOrganizationId() {
return scopeCase_ == 2;
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The organizationId.
*/
public java.lang.String getOrganizationId() {
java.lang.Object ref = "";
if (scopeCase_ == 2) {
ref = scope_;
}
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();
if (scopeCase_ == 2) {
scope_ = s;
}
return s;
}
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for organizationId.
*/
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
java.lang.Object ref = "";
if (scopeCase_ == 2) {
ref = scope_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (scopeCase_ == 2) {
scope_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SUBJECT_ID_FIELD_NUMBER = 3;
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return Whether the subjectId field is set.
*/
public boolean hasSubjectId() {
return subjectCase_ == 3;
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The subjectId.
*/
public java.lang.String getSubjectId() {
java.lang.Object ref = "";
if (subjectCase_ == 3) {
ref = subject_;
}
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();
if (subjectCase_ == 3) {
subject_ = s;
}
return s;
}
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for subjectId.
*/
public com.google.protobuf.ByteString
getSubjectIdBytes() {
java.lang.Object ref = "";
if (subjectCase_ == 3) {
ref = subject_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (subjectCase_ == 3) {
subject_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OS_LOGIN_FIELD_NUMBER = 4;
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return Whether the osLogin field is set.
*/
public boolean hasOsLogin() {
return subjectCase_ == 4;
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The osLogin.
*/
public java.lang.String getOsLogin() {
java.lang.Object ref = "";
if (subjectCase_ == 4) {
ref = subject_;
}
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();
if (subjectCase_ == 4) {
subject_ = s;
}
return s;
}
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The bytes for osLogin.
*/
public com.google.protobuf.ByteString
getOsLoginBytes() {
java.lang.Object ref = "";
if (subjectCase_ == 4) {
ref = subject_;
}
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (subjectCase_ == 4) {
subject_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PUBLIC_KEY_FIELD_NUMBER = 5;
private volatile java.lang.Object publicKey_;
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The publicKey.
*/
@java.lang.Override
public java.lang.String getPublicKey() {
java.lang.Object ref = publicKey_;
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();
publicKey_ = s;
return s;
}
}
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The bytes for publicKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPublicKeyBytes() {
java.lang.Object ref = publicKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicKey_ = 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 (scopeCase_ == 1) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, scope_);
}
if (scopeCase_ == 2) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, scope_);
}
if (subjectCase_ == 3) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, subject_);
}
if (subjectCase_ == 4) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, subject_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, publicKey_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (scopeCase_ == 1) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, scope_);
}
if (scopeCase_ == 2) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, scope_);
}
if (subjectCase_ == 3) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, subject_);
}
if (subjectCase_ == 4) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, subject_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(publicKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, publicKey_);
}
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest)) {
return super.equals(obj);
}
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest other = (yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest) obj;
if (!getPublicKey()
.equals(other.getPublicKey())) return false;
if (!getScopeCase().equals(other.getScopeCase())) return false;
switch (scopeCase_) {
case 1:
if (!getCloudId()
.equals(other.getCloudId())) return false;
break;
case 2:
if (!getOrganizationId()
.equals(other.getOrganizationId())) return false;
break;
case 0:
default:
}
if (!getSubjectCase().equals(other.getSubjectCase())) return false;
switch (subjectCase_) {
case 3:
if (!getSubjectId()
.equals(other.getSubjectId())) return false;
break;
case 4:
if (!getOsLogin()
.equals(other.getOsLogin())) return false;
break;
case 0:
default:
}
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) + PUBLIC_KEY_FIELD_NUMBER;
hash = (53 * hash) + getPublicKey().hashCode();
switch (scopeCase_) {
case 1:
hash = (37 * hash) + CLOUD_ID_FIELD_NUMBER;
hash = (53 * hash) + getCloudId().hashCode();
break;
case 2:
hash = (37 * hash) + ORGANIZATION_ID_FIELD_NUMBER;
hash = (53 * hash) + getOrganizationId().hashCode();
break;
case 0:
default:
}
switch (subjectCase_) {
case 3:
hash = (37 * hash) + SUBJECT_ID_FIELD_NUMBER;
hash = (53 * hash) + getSubjectId().hashCode();
break;
case 4:
hash = (37 * hash) + OS_LOGIN_FIELD_NUMBER;
hash = (53 * hash) + getOsLogin().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest 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.organizationmanager.v1.GenerateSshCertificateRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.GenerateSshCertificateRequest)
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.class, yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.Builder.class);
}
// Construct using yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.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();
publicKey_ = "";
scopeCase_ = 0;
scope_ = null;
subjectCase_ = 0;
subject_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor;
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest getDefaultInstanceForType() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest build() {
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest buildPartial() {
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest result = new yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest(this);
if (scopeCase_ == 1) {
result.scope_ = scope_;
}
if (scopeCase_ == 2) {
result.scope_ = scope_;
}
if (subjectCase_ == 3) {
result.subject_ = subject_;
}
if (subjectCase_ == 4) {
result.subject_ = subject_;
}
result.publicKey_ = publicKey_;
result.scopeCase_ = scopeCase_;
result.subjectCase_ = subjectCase_;
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest) {
return mergeFrom((yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest other) {
if (other == yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest.getDefaultInstance()) return this;
if (!other.getPublicKey().isEmpty()) {
publicKey_ = other.publicKey_;
onChanged();
}
switch (other.getScopeCase()) {
case CLOUD_ID: {
scopeCase_ = 1;
scope_ = other.scope_;
onChanged();
break;
}
case ORGANIZATION_ID: {
scopeCase_ = 2;
scope_ = other.scope_;
onChanged();
break;
}
case SCOPE_NOT_SET: {
break;
}
}
switch (other.getSubjectCase()) {
case SUBJECT_ID: {
subjectCase_ = 3;
subject_ = other.subject_;
onChanged();
break;
}
case OS_LOGIN: {
subjectCase_ = 4;
subject_ = other.subject_;
onChanged();
break;
}
case SUBJECT_NOT_SET: {
break;
}
}
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int scopeCase_ = 0;
private java.lang.Object scope_;
public ScopeCase
getScopeCase() {
return ScopeCase.forNumber(
scopeCase_);
}
public Builder clearScope() {
scopeCase_ = 0;
scope_ = null;
onChanged();
return this;
}
private int subjectCase_ = 0;
private java.lang.Object subject_;
public SubjectCase
getSubjectCase() {
return SubjectCase.forNumber(
subjectCase_);
}
public Builder clearSubject() {
subjectCase_ = 0;
subject_ = null;
onChanged();
return this;
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return Whether the cloudId field is set.
*/
@java.lang.Override
public boolean hasCloudId() {
return scopeCase_ == 1;
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The cloudId.
*/
@java.lang.Override
public java.lang.String getCloudId() {
java.lang.Object ref = "";
if (scopeCase_ == 1) {
ref = scope_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (scopeCase_ == 1) {
scope_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for cloudId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getCloudIdBytes() {
java.lang.Object ref = "";
if (scopeCase_ == 1) {
ref = scope_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (scopeCase_ == 1) {
scope_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @param value The cloudId to set.
* @return This builder for chaining.
*/
public Builder setCloudId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
scopeCase_ = 1;
scope_ = value;
onChanged();
return this;
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @return This builder for chaining.
*/
public Builder clearCloudId() {
if (scopeCase_ == 1) {
scopeCase_ = 0;
scope_ = null;
onChanged();
}
return this;
}
/**
*
* the cloud must be attached to an organization
*
*
* string cloud_id = 1 [(.yandex.cloud.length) = "<=50"];
* @param value The bytes for cloudId to set.
* @return This builder for chaining.
*/
public Builder setCloudIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
scopeCase_ = 1;
scope_ = value;
onChanged();
return this;
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return Whether the organizationId field is set.
*/
@java.lang.Override
public boolean hasOrganizationId() {
return scopeCase_ == 2;
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The organizationId.
*/
@java.lang.Override
public java.lang.String getOrganizationId() {
java.lang.Object ref = "";
if (scopeCase_ == 2) {
ref = scope_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (scopeCase_ == 2) {
scope_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for organizationId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOrganizationIdBytes() {
java.lang.Object ref = "";
if (scopeCase_ == 2) {
ref = scope_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (scopeCase_ == 2) {
scope_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @param value The organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
scopeCase_ = 2;
scope_ = value;
onChanged();
return this;
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @return This builder for chaining.
*/
public Builder clearOrganizationId() {
if (scopeCase_ == 2) {
scopeCase_ = 0;
scope_ = null;
onChanged();
}
return this;
}
/**
* string organization_id = 2 [(.yandex.cloud.length) = "<=50"];
* @param value The bytes for organizationId to set.
* @return This builder for chaining.
*/
public Builder setOrganizationIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
scopeCase_ = 2;
scope_ = value;
onChanged();
return this;
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return Whether the subjectId field is set.
*/
@java.lang.Override
public boolean hasSubjectId() {
return subjectCase_ == 3;
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The subjectId.
*/
@java.lang.Override
public java.lang.String getSubjectId() {
java.lang.Object ref = "";
if (subjectCase_ == 3) {
ref = subject_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (subjectCase_ == 3) {
subject_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return The bytes for subjectId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSubjectIdBytes() {
java.lang.Object ref = "";
if (subjectCase_ == 3) {
ref = subject_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (subjectCase_ == 3) {
subject_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @param value The subjectId to set.
* @return This builder for chaining.
*/
public Builder setSubjectId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subjectCase_ = 3;
subject_ = value;
onChanged();
return this;
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @return This builder for chaining.
*/
public Builder clearSubjectId() {
if (subjectCase_ == 3) {
subjectCase_ = 0;
subject_ = null;
onChanged();
}
return this;
}
/**
*
* specify subject to generate certificate for default login
*
*
* string subject_id = 3 [(.yandex.cloud.length) = "<=50"];
* @param value The bytes for subjectId to set.
* @return This builder for chaining.
*/
public Builder setSubjectIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subjectCase_ = 3;
subject_ = value;
onChanged();
return this;
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return Whether the osLogin field is set.
*/
@java.lang.Override
public boolean hasOsLogin() {
return subjectCase_ == 4;
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The osLogin.
*/
@java.lang.Override
public java.lang.String getOsLogin() {
java.lang.Object ref = "";
if (subjectCase_ == 4) {
ref = subject_;
}
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (subjectCase_ == 4) {
subject_ = s;
}
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return The bytes for osLogin.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getOsLoginBytes() {
java.lang.Object ref = "";
if (subjectCase_ == 4) {
ref = subject_;
}
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
if (subjectCase_ == 4) {
subject_ = b;
}
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @param value The osLogin to set.
* @return This builder for chaining.
*/
public Builder setOsLogin(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
subjectCase_ = 4;
subject_ = value;
onChanged();
return this;
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @return This builder for chaining.
*/
public Builder clearOsLogin() {
if (subjectCase_ == 4) {
subjectCase_ = 0;
subject_ = null;
onChanged();
}
return this;
}
/**
*
* specify os_login for a specific login
*
*
* string os_login = 4 [(.yandex.cloud.length) = "<=32"];
* @param value The bytes for osLogin to set.
* @return This builder for chaining.
*/
public Builder setOsLoginBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
subjectCase_ = 4;
subject_ = value;
onChanged();
return this;
}
private java.lang.Object publicKey_ = "";
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The publicKey.
*/
public java.lang.String getPublicKey() {
java.lang.Object ref = publicKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
publicKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return The bytes for publicKey.
*/
public com.google.protobuf.ByteString
getPublicKeyBytes() {
java.lang.Object ref = publicKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
publicKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @param value The publicKey to set.
* @return This builder for chaining.
*/
public Builder setPublicKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
publicKey_ = value;
onChanged();
return this;
}
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @return This builder for chaining.
*/
public Builder clearPublicKey() {
publicKey_ = getDefaultInstance().getPublicKey();
onChanged();
return this;
}
/**
* string public_key = 5 [(.yandex.cloud.required) = true, (.yandex.cloud.length) = "<=15000"];
* @param value The bytes for publicKey to set.
* @return This builder for chaining.
*/
public Builder setPublicKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
publicKey_ = 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.organizationmanager.v1.GenerateSshCertificateRequest)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.GenerateSshCertificateRequest)
private static final yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest();
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GenerateSshCertificateRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GenerateSshCertificateRequest(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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface GenerateSshCertificateResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.organizationmanager.v1.GenerateSshCertificateResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The signedCertificate.
*/
java.lang.String getSignedCertificate();
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The bytes for signedCertificate.
*/
com.google.protobuf.ByteString
getSignedCertificateBytes();
}
/**
* Protobuf type {@code yandex.cloud.organizationmanager.v1.GenerateSshCertificateResponse}
*/
public static final class GenerateSshCertificateResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.organizationmanager.v1.GenerateSshCertificateResponse)
GenerateSshCertificateResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use GenerateSshCertificateResponse.newBuilder() to construct.
private GenerateSshCertificateResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private GenerateSshCertificateResponse() {
signedCertificate_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new GenerateSshCertificateResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private GenerateSshCertificateResponse(
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();
signedCertificate_ = 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.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.class, yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.Builder.class);
}
public static final int SIGNED_CERTIFICATE_FIELD_NUMBER = 1;
private volatile java.lang.Object signedCertificate_;
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The signedCertificate.
*/
@java.lang.Override
public java.lang.String getSignedCertificate() {
java.lang.Object ref = signedCertificate_;
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();
signedCertificate_ = s;
return s;
}
}
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The bytes for signedCertificate.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSignedCertificateBytes() {
java.lang.Object ref = signedCertificate_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signedCertificate_ = 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(signedCertificate_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, signedCertificate_);
}
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(signedCertificate_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, signedCertificate_);
}
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse)) {
return super.equals(obj);
}
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse other = (yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse) obj;
if (!getSignedCertificate()
.equals(other.getSignedCertificate())) 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) + SIGNED_CERTIFICATE_FIELD_NUMBER;
hash = (53 * hash) + getSignedCertificate().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse 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.organizationmanager.v1.GenerateSshCertificateResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.organizationmanager.v1.GenerateSshCertificateResponse)
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.class, yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.Builder.class);
}
// Construct using yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.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();
signedCertificate_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor;
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse getDefaultInstanceForType() {
return yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse build() {
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse buildPartial() {
yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse result = new yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse(this);
result.signedCertificate_ = signedCertificate_;
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse) {
return mergeFrom((yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse other) {
if (other == yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse.getDefaultInstance()) return this;
if (!other.getSignedCertificate().isEmpty()) {
signedCertificate_ = other.signedCertificate_;
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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object signedCertificate_ = "";
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The signedCertificate.
*/
public java.lang.String getSignedCertificate() {
java.lang.Object ref = signedCertificate_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
signedCertificate_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return The bytes for signedCertificate.
*/
public com.google.protobuf.ByteString
getSignedCertificateBytes() {
java.lang.Object ref = signedCertificate_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
signedCertificate_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @param value The signedCertificate to set.
* @return This builder for chaining.
*/
public Builder setSignedCertificate(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
signedCertificate_ = value;
onChanged();
return this;
}
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @return This builder for chaining.
*/
public Builder clearSignedCertificate() {
signedCertificate_ = getDefaultInstance().getSignedCertificate();
onChanged();
return this;
}
/**
*
* as per specification https://cvsweb.openbsd.org/src/usr.bin/ssh/PROTOCOL.certkeys?annotate=HEAD
*
*
* string signed_certificate = 1;
* @param value The bytes for signedCertificate to set.
* @return This builder for chaining.
*/
public Builder setSignedCertificateBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
signedCertificate_ = 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.organizationmanager.v1.GenerateSshCertificateResponse)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.organizationmanager.v1.GenerateSshCertificateResponse)
private static final yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse();
}
public static yandex.cloud.api.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public GenerateSshCertificateResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new GenerateSshCertificateResponse(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.organizationmanager.v1.SshCertificateServiceOuterClass.GenerateSshCertificateResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\nAyandex/cloud/organizationmanager/v1/ss" +
"h_certificate_service.proto\022#yandex.clou" +
"d.organizationmanager.v1\032\034google/api/ann" +
"otations.proto\032\035yandex/cloud/validation." +
"proto\"\337\001\n\035GenerateSshCertificateRequest\022" +
"\034\n\010cloud_id\030\001 \001(\tB\010\212\3101\004<=50H\000\022#\n\017organiz" +
"ation_id\030\002 \001(\tB\010\212\3101\004<=50H\000\022\036\n\nsubject_id" +
"\030\003 \001(\tB\010\212\3101\004<=50H\001\022\034\n\010os_login\030\004 \001(\tB\010\212\310" +
"1\004<=32H\001\022#\n\npublic_key\030\005 \001(\tB\017\350\3071\001\212\3101\007<=" +
"15000B\r\n\005scope\022\004\300\3011\001B\t\n\007subject\"<\n\036Gener" +
"ateSshCertificateResponse\022\032\n\022signed_cert" +
"ificate\030\001 \001(\t2\353\001\n\025SshCertificateService\022" +
"\321\001\n\010Generate\022B.yandex.cloud.organization" +
"manager.v1.GenerateSshCertificateRequest" +
"\032C.yandex.cloud.organizationmanager.v1.G" +
"enerateSshCertificateResponse\"<\202\323\344\223\0026\"1/" +
"organization-manager/v1/sshCertificates:" +
"generate:\001*B\206\001\n\'yandex.cloud.api.organiz" +
"ationmanager.v1Z[github.com/yandex-cloud" +
"/go-genproto/yandex/cloud/organizationma" +
"nager/v1;organizationmanagerb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
yandex.cloud.api.Validation.getDescriptor(),
});
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateRequest_descriptor,
new java.lang.String[] { "CloudId", "OrganizationId", "SubjectId", "OsLogin", "PublicKey", "Scope", "Subject", });
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_organizationmanager_v1_GenerateSshCertificateResponse_descriptor,
new java.lang.String[] { "SignedCertificate", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
registry.add(yandex.cloud.api.Validation.exactlyOne);
registry.add(yandex.cloud.api.Validation.length);
registry.add(yandex.cloud.api.Validation.required);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
yandex.cloud.api.Validation.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy