yandex.cloud.api.datasphere.v1.NodeServiceOuterClass Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: yandex/cloud/datasphere/v1/node_service.proto
package yandex.cloud.api.datasphere.v1;
public final class NodeServiceOuterClass {
private NodeServiceOuterClass() {}
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 NodeExecutionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v1.NodeExecutionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The folderId.
*/
java.lang.String getFolderId();
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
com.google.protobuf.ByteString
getFolderIdBytes();
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The nodeId.
*/
java.lang.String getNodeId();
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The bytes for nodeId.
*/
com.google.protobuf.ByteString
getNodeIdBytes();
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
boolean hasInput();
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
com.google.protobuf.Struct getInput();
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
com.google.protobuf.StructOrBuilder getInputOrBuilder();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v1.NodeExecutionRequest}
*/
public static final class NodeExecutionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v1.NodeExecutionRequest)
NodeExecutionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionRequest.newBuilder() to construct.
private NodeExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionRequest() {
folderId_ = "";
nodeId_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionRequest(
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();
folderId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
nodeId_ = s;
break;
}
case 26: {
com.google.protobuf.Struct.Builder subBuilder = null;
if (input_ != null) {
subBuilder = input_.toBuilder();
}
input_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(input_);
input_ = subBuilder.buildPartial();
}
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.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.Builder.class);
}
public static final int FOLDER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object folderId_;
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The folderId.
*/
@java.lang.Override
public java.lang.String getFolderId() {
java.lang.Object ref = folderId_;
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();
folderId_ = s;
return s;
}
}
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFolderIdBytes() {
java.lang.Object ref = folderId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
folderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NODE_ID_FIELD_NUMBER = 2;
private volatile java.lang.Object nodeId_;
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The nodeId.
*/
@java.lang.Override
public java.lang.String getNodeId() {
java.lang.Object ref = nodeId_;
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();
nodeId_ = s;
return s;
}
}
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The bytes for nodeId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getNodeIdBytes() {
java.lang.Object ref = nodeId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nodeId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_FIELD_NUMBER = 3;
private com.google.protobuf.Struct input_;
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
@java.lang.Override
public boolean hasInput() {
return input_ != null;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
@java.lang.Override
public com.google.protobuf.Struct getInput() {
return input_ == null ? com.google.protobuf.Struct.getDefaultInstance() : input_;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getInputOrBuilder() {
return getInput();
}
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(folderId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, folderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, nodeId_);
}
if (input_ != null) {
output.writeMessage(3, getInput());
}
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(folderId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, folderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(nodeId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, nodeId_);
}
if (input_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getInput());
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest other = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest) obj;
if (!getFolderId()
.equals(other.getFolderId())) return false;
if (!getNodeId()
.equals(other.getNodeId())) return false;
if (hasInput() != other.hasInput()) return false;
if (hasInput()) {
if (!getInput()
.equals(other.getInput())) 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) + FOLDER_ID_FIELD_NUMBER;
hash = (53 * hash) + getFolderId().hashCode();
hash = (37 * hash) + NODE_ID_FIELD_NUMBER;
hash = (53 * hash) + getNodeId().hashCode();
if (hasInput()) {
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInput().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest 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.datasphere.v1.NodeExecutionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v1.NodeExecutionRequest)
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.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();
folderId_ = "";
nodeId_ = "";
if (inputBuilder_ == null) {
input_ = null;
} else {
input_ = null;
inputBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest build() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest buildPartial() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest result = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest(this);
result.folderId_ = folderId_;
result.nodeId_ = nodeId_;
if (inputBuilder_ == null) {
result.input_ = input_;
} else {
result.input_ = inputBuilder_.build();
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest) {
return mergeFrom((yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest other) {
if (other == yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest.getDefaultInstance()) return this;
if (!other.getFolderId().isEmpty()) {
folderId_ = other.folderId_;
onChanged();
}
if (!other.getNodeId().isEmpty()) {
nodeId_ = other.nodeId_;
onChanged();
}
if (other.hasInput()) {
mergeInput(other.getInput());
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object folderId_ = "";
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The folderId.
*/
public java.lang.String getFolderId() {
java.lang.Object ref = folderId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
folderId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
public com.google.protobuf.ByteString
getFolderIdBytes() {
java.lang.Object ref = folderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
folderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @param value The folderId to set.
* @return This builder for chaining.
*/
public Builder setFolderId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
folderId_ = value;
onChanged();
return this;
}
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @return This builder for chaining.
*/
public Builder clearFolderId() {
folderId_ = getDefaultInstance().getFolderId();
onChanged();
return this;
}
/**
*
* ID of the folder that will be matched with Node ACL.
*
*
* string folder_id = 1;
* @param value The bytes for folderId to set.
* @return This builder for chaining.
*/
public Builder setFolderIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
folderId_ = value;
onChanged();
return this;
}
private java.lang.Object nodeId_ = "";
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The nodeId.
*/
public java.lang.String getNodeId() {
java.lang.Object ref = nodeId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
nodeId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return The bytes for nodeId.
*/
public com.google.protobuf.ByteString
getNodeIdBytes() {
java.lang.Object ref = nodeId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
nodeId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @param value The nodeId to set.
* @return This builder for chaining.
*/
public Builder setNodeId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
nodeId_ = value;
onChanged();
return this;
}
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @return This builder for chaining.
*/
public Builder clearNodeId() {
nodeId_ = getDefaultInstance().getNodeId();
onChanged();
return this;
}
/**
*
* ID of the Node to perform request on.
*
*
* string node_id = 2;
* @param value The bytes for nodeId to set.
* @return This builder for chaining.
*/
public Builder setNodeIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
nodeId_ = value;
onChanged();
return this;
}
private com.google.protobuf.Struct input_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> inputBuilder_;
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
public boolean hasInput() {
return inputBuilder_ != null || input_ != null;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
public com.google.protobuf.Struct getInput() {
if (inputBuilder_ == null) {
return input_ == null ? com.google.protobuf.Struct.getDefaultInstance() : input_;
} else {
return inputBuilder_.getMessage();
}
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder setInput(com.google.protobuf.Struct value) {
if (inputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
input_ = value;
onChanged();
} else {
inputBuilder_.setMessage(value);
}
return this;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder setInput(
com.google.protobuf.Struct.Builder builderForValue) {
if (inputBuilder_ == null) {
input_ = builderForValue.build();
onChanged();
} else {
inputBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder mergeInput(com.google.protobuf.Struct value) {
if (inputBuilder_ == null) {
if (input_ != null) {
input_ =
com.google.protobuf.Struct.newBuilder(input_).mergeFrom(value).buildPartial();
} else {
input_ = value;
}
onChanged();
} else {
inputBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder clearInput() {
if (inputBuilder_ == null) {
input_ = null;
onChanged();
} else {
input_ = null;
inputBuilder_ = null;
}
return this;
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public com.google.protobuf.Struct.Builder getInputBuilder() {
onChanged();
return getInputFieldBuilder().getBuilder();
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
public com.google.protobuf.StructOrBuilder getInputOrBuilder() {
if (inputBuilder_ != null) {
return inputBuilder_.getMessageOrBuilder();
} else {
return input_ == null ?
com.google.protobuf.Struct.getDefaultInstance() : input_;
}
}
/**
*
* Input data for the execution.
*
*
* .google.protobuf.Struct input = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>
getInputFieldBuilder() {
if (inputBuilder_ == null) {
inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
getInput(),
getParentForChildren(),
isClean());
input_ = null;
}
return inputBuilder_;
}
@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.datasphere.v1.NodeExecutionRequest)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v1.NodeExecutionRequest)
private static final yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest();
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionRequest(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.datasphere.v1.NodeServiceOuterClass.NodeExecutionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface NodeExecutionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v1.NodeExecutionResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
boolean hasOutput();
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
com.google.protobuf.Struct getOutput();
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
com.google.protobuf.StructOrBuilder getOutputOrBuilder();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v1.NodeExecutionResponse}
*/
public static final class NodeExecutionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v1.NodeExecutionResponse)
NodeExecutionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use NodeExecutionResponse.newBuilder() to construct.
private NodeExecutionResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private NodeExecutionResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new NodeExecutionResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private NodeExecutionResponse(
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: {
com.google.protobuf.Struct.Builder subBuilder = null;
if (output_ != null) {
subBuilder = output_.toBuilder();
}
output_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(output_);
output_ = subBuilder.buildPartial();
}
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.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.Builder.class);
}
public static final int OUTPUT_FIELD_NUMBER = 1;
private com.google.protobuf.Struct output_;
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
@java.lang.Override
public boolean hasOutput() {
return output_ != null;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
@java.lang.Override
public com.google.protobuf.Struct getOutput() {
return output_ == null ? com.google.protobuf.Struct.getDefaultInstance() : output_;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getOutputOrBuilder() {
return getOutput();
}
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 (output_ != null) {
output.writeMessage(1, getOutput());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (output_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOutput());
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse other = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse) obj;
if (hasOutput() != other.hasOutput()) return false;
if (hasOutput()) {
if (!getOutput()
.equals(other.getOutput())) 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();
if (hasOutput()) {
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutput().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse 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.datasphere.v1.NodeExecutionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v1.NodeExecutionResponse)
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.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();
if (outputBuilder_ == null) {
output_ = null;
} else {
output_ = null;
outputBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse build() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse buildPartial() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse result = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse(this);
if (outputBuilder_ == null) {
result.output_ = output_;
} else {
result.output_ = outputBuilder_.build();
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse) {
return mergeFrom((yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse other) {
if (other == yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse.getDefaultInstance()) return this;
if (other.hasOutput()) {
mergeOutput(other.getOutput());
}
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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Struct output_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> outputBuilder_;
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
public boolean hasOutput() {
return outputBuilder_ != null || output_ != null;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
public com.google.protobuf.Struct getOutput() {
if (outputBuilder_ == null) {
return output_ == null ? com.google.protobuf.Struct.getDefaultInstance() : output_;
} else {
return outputBuilder_.getMessage();
}
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder setOutput(com.google.protobuf.Struct value) {
if (outputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
output_ = value;
onChanged();
} else {
outputBuilder_.setMessage(value);
}
return this;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder setOutput(
com.google.protobuf.Struct.Builder builderForValue) {
if (outputBuilder_ == null) {
output_ = builderForValue.build();
onChanged();
} else {
outputBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder mergeOutput(com.google.protobuf.Struct value) {
if (outputBuilder_ == null) {
if (output_ != null) {
output_ =
com.google.protobuf.Struct.newBuilder(output_).mergeFrom(value).buildPartial();
} else {
output_ = value;
}
onChanged();
} else {
outputBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder clearOutput() {
if (outputBuilder_ == null) {
output_ = null;
onChanged();
} else {
output_ = null;
outputBuilder_ = null;
}
return this;
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public com.google.protobuf.Struct.Builder getOutputBuilder() {
onChanged();
return getOutputFieldBuilder().getBuilder();
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
public com.google.protobuf.StructOrBuilder getOutputOrBuilder() {
if (outputBuilder_ != null) {
return outputBuilder_.getMessageOrBuilder();
} else {
return output_ == null ?
com.google.protobuf.Struct.getDefaultInstance() : output_;
}
}
/**
*
* Result of the execution.
*
*
* .google.protobuf.Struct output = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>
getOutputFieldBuilder() {
if (outputBuilder_ == null) {
outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
getOutput(),
getParentForChildren(),
isClean());
output_ = null;
}
return outputBuilder_;
}
@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.datasphere.v1.NodeExecutionResponse)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v1.NodeExecutionResponse)
private static final yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse();
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public NodeExecutionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new NodeExecutionResponse(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.datasphere.v1.NodeServiceOuterClass.NodeExecutionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AliasExecutionRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v1.AliasExecutionRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The folderId.
*/
java.lang.String getFolderId();
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
com.google.protobuf.ByteString
getFolderIdBytes();
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The aliasName.
*/
java.lang.String getAliasName();
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The bytes for aliasName.
*/
com.google.protobuf.ByteString
getAliasNameBytes();
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
boolean hasInput();
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
com.google.protobuf.Struct getInput();
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
com.google.protobuf.StructOrBuilder getInputOrBuilder();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v1.AliasExecutionRequest}
*/
public static final class AliasExecutionRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v1.AliasExecutionRequest)
AliasExecutionRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use AliasExecutionRequest.newBuilder() to construct.
private AliasExecutionRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AliasExecutionRequest() {
folderId_ = "";
aliasName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AliasExecutionRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AliasExecutionRequest(
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();
folderId_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
aliasName_ = s;
break;
}
case 26: {
com.google.protobuf.Struct.Builder subBuilder = null;
if (input_ != null) {
subBuilder = input_.toBuilder();
}
input_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(input_);
input_ = subBuilder.buildPartial();
}
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.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.Builder.class);
}
public static final int FOLDER_ID_FIELD_NUMBER = 1;
private volatile java.lang.Object folderId_;
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The folderId.
*/
@java.lang.Override
public java.lang.String getFolderId() {
java.lang.Object ref = folderId_;
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();
folderId_ = s;
return s;
}
}
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getFolderIdBytes() {
java.lang.Object ref = folderId_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
folderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ALIAS_NAME_FIELD_NUMBER = 2;
private volatile java.lang.Object aliasName_;
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The aliasName.
*/
@java.lang.Override
public java.lang.String getAliasName() {
java.lang.Object ref = aliasName_;
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();
aliasName_ = s;
return s;
}
}
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The bytes for aliasName.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAliasNameBytes() {
java.lang.Object ref = aliasName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
aliasName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INPUT_FIELD_NUMBER = 3;
private com.google.protobuf.Struct input_;
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
@java.lang.Override
public boolean hasInput() {
return input_ != null;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
@java.lang.Override
public com.google.protobuf.Struct getInput() {
return input_ == null ? com.google.protobuf.Struct.getDefaultInstance() : input_;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getInputOrBuilder() {
return getInput();
}
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(folderId_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, folderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aliasName_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, aliasName_);
}
if (input_ != null) {
output.writeMessage(3, getInput());
}
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(folderId_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, folderId_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(aliasName_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, aliasName_);
}
if (input_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getInput());
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest other = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest) obj;
if (!getFolderId()
.equals(other.getFolderId())) return false;
if (!getAliasName()
.equals(other.getAliasName())) return false;
if (hasInput() != other.hasInput()) return false;
if (hasInput()) {
if (!getInput()
.equals(other.getInput())) 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) + FOLDER_ID_FIELD_NUMBER;
hash = (53 * hash) + getFolderId().hashCode();
hash = (37 * hash) + ALIAS_NAME_FIELD_NUMBER;
hash = (53 * hash) + getAliasName().hashCode();
if (hasInput()) {
hash = (37 * hash) + INPUT_FIELD_NUMBER;
hash = (53 * hash) + getInput().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest 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.datasphere.v1.AliasExecutionRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v1.AliasExecutionRequest)
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.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();
folderId_ = "";
aliasName_ = "";
if (inputBuilder_ == null) {
input_ = null;
} else {
input_ = null;
inputBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest build() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest buildPartial() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest result = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest(this);
result.folderId_ = folderId_;
result.aliasName_ = aliasName_;
if (inputBuilder_ == null) {
result.input_ = input_;
} else {
result.input_ = inputBuilder_.build();
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest) {
return mergeFrom((yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest other) {
if (other == yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest.getDefaultInstance()) return this;
if (!other.getFolderId().isEmpty()) {
folderId_ = other.folderId_;
onChanged();
}
if (!other.getAliasName().isEmpty()) {
aliasName_ = other.aliasName_;
onChanged();
}
if (other.hasInput()) {
mergeInput(other.getInput());
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object folderId_ = "";
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The folderId.
*/
public java.lang.String getFolderId() {
java.lang.Object ref = folderId_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
folderId_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return The bytes for folderId.
*/
public com.google.protobuf.ByteString
getFolderIdBytes() {
java.lang.Object ref = folderId_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
folderId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @param value The folderId to set.
* @return This builder for chaining.
*/
public Builder setFolderId(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
folderId_ = value;
onChanged();
return this;
}
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @return This builder for chaining.
*/
public Builder clearFolderId() {
folderId_ = getDefaultInstance().getFolderId();
onChanged();
return this;
}
/**
*
* ID of the folder that will be matched with Alias ACL
*
*
* string folder_id = 1;
* @param value The bytes for folderId to set.
* @return This builder for chaining.
*/
public Builder setFolderIdBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
folderId_ = value;
onChanged();
return this;
}
private java.lang.Object aliasName_ = "";
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The aliasName.
*/
public java.lang.String getAliasName() {
java.lang.Object ref = aliasName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
aliasName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return The bytes for aliasName.
*/
public com.google.protobuf.ByteString
getAliasNameBytes() {
java.lang.Object ref = aliasName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
aliasName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @param value The aliasName to set.
* @return This builder for chaining.
*/
public Builder setAliasName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
aliasName_ = value;
onChanged();
return this;
}
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @return This builder for chaining.
*/
public Builder clearAliasName() {
aliasName_ = getDefaultInstance().getAliasName();
onChanged();
return this;
}
/**
*
* Name of the Alias to perform request on
*
*
* string alias_name = 2;
* @param value The bytes for aliasName to set.
* @return This builder for chaining.
*/
public Builder setAliasNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
aliasName_ = value;
onChanged();
return this;
}
private com.google.protobuf.Struct input_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> inputBuilder_;
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return Whether the input field is set.
*/
public boolean hasInput() {
return inputBuilder_ != null || input_ != null;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
* @return The input.
*/
public com.google.protobuf.Struct getInput() {
if (inputBuilder_ == null) {
return input_ == null ? com.google.protobuf.Struct.getDefaultInstance() : input_;
} else {
return inputBuilder_.getMessage();
}
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder setInput(com.google.protobuf.Struct value) {
if (inputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
input_ = value;
onChanged();
} else {
inputBuilder_.setMessage(value);
}
return this;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder setInput(
com.google.protobuf.Struct.Builder builderForValue) {
if (inputBuilder_ == null) {
input_ = builderForValue.build();
onChanged();
} else {
inputBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder mergeInput(com.google.protobuf.Struct value) {
if (inputBuilder_ == null) {
if (input_ != null) {
input_ =
com.google.protobuf.Struct.newBuilder(input_).mergeFrom(value).buildPartial();
} else {
input_ = value;
}
onChanged();
} else {
inputBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public Builder clearInput() {
if (inputBuilder_ == null) {
input_ = null;
onChanged();
} else {
input_ = null;
inputBuilder_ = null;
}
return this;
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public com.google.protobuf.Struct.Builder getInputBuilder() {
onChanged();
return getInputFieldBuilder().getBuilder();
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
public com.google.protobuf.StructOrBuilder getInputOrBuilder() {
if (inputBuilder_ != null) {
return inputBuilder_.getMessageOrBuilder();
} else {
return input_ == null ?
com.google.protobuf.Struct.getDefaultInstance() : input_;
}
}
/**
*
* Input data for the execution
*
*
* .google.protobuf.Struct input = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>
getInputFieldBuilder() {
if (inputBuilder_ == null) {
inputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
getInput(),
getParentForChildren(),
isClean());
input_ = null;
}
return inputBuilder_;
}
@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.datasphere.v1.AliasExecutionRequest)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v1.AliasExecutionRequest)
private static final yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest();
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AliasExecutionRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AliasExecutionRequest(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.datasphere.v1.NodeServiceOuterClass.AliasExecutionRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface AliasExecutionResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v1.AliasExecutionResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
boolean hasOutput();
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
com.google.protobuf.Struct getOutput();
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
com.google.protobuf.StructOrBuilder getOutputOrBuilder();
}
/**
* Protobuf type {@code yandex.cloud.datasphere.v1.AliasExecutionResponse}
*/
public static final class AliasExecutionResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v1.AliasExecutionResponse)
AliasExecutionResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use AliasExecutionResponse.newBuilder() to construct.
private AliasExecutionResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private AliasExecutionResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new AliasExecutionResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private AliasExecutionResponse(
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: {
com.google.protobuf.Struct.Builder subBuilder = null;
if (output_ != null) {
subBuilder = output_.toBuilder();
}
output_ = input.readMessage(com.google.protobuf.Struct.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(output_);
output_ = subBuilder.buildPartial();
}
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.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.Builder.class);
}
public static final int OUTPUT_FIELD_NUMBER = 1;
private com.google.protobuf.Struct output_;
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
@java.lang.Override
public boolean hasOutput() {
return output_ != null;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
@java.lang.Override
public com.google.protobuf.Struct getOutput() {
return output_ == null ? com.google.protobuf.Struct.getDefaultInstance() : output_;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
@java.lang.Override
public com.google.protobuf.StructOrBuilder getOutputOrBuilder() {
return getOutput();
}
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 (output_ != null) {
output.writeMessage(1, getOutput());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (output_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOutput());
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse)) {
return super.equals(obj);
}
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse other = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse) obj;
if (hasOutput() != other.hasOutput()) return false;
if (hasOutput()) {
if (!getOutput()
.equals(other.getOutput())) 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();
if (hasOutput()) {
hash = (37 * hash) + OUTPUT_FIELD_NUMBER;
hash = (53 * hash) + getOutput().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse 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.datasphere.v1.AliasExecutionResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v1.AliasExecutionResponse)
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.class, yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.Builder.class);
}
// Construct using yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.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();
if (outputBuilder_ == null) {
output_ = null;
} else {
output_ = null;
outputBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse getDefaultInstanceForType() {
return yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.getDefaultInstance();
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse build() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse buildPartial() {
yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse result = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse(this);
if (outputBuilder_ == null) {
result.output_ = output_;
} else {
result.output_ = outputBuilder_.build();
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse) {
return mergeFrom((yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse other) {
if (other == yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse.getDefaultInstance()) return this;
if (other.hasOutput()) {
mergeOutput(other.getOutput());
}
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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.google.protobuf.Struct output_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder> outputBuilder_;
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return Whether the output field is set.
*/
public boolean hasOutput() {
return outputBuilder_ != null || output_ != null;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
* @return The output.
*/
public com.google.protobuf.Struct getOutput() {
if (outputBuilder_ == null) {
return output_ == null ? com.google.protobuf.Struct.getDefaultInstance() : output_;
} else {
return outputBuilder_.getMessage();
}
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder setOutput(com.google.protobuf.Struct value) {
if (outputBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
output_ = value;
onChanged();
} else {
outputBuilder_.setMessage(value);
}
return this;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder setOutput(
com.google.protobuf.Struct.Builder builderForValue) {
if (outputBuilder_ == null) {
output_ = builderForValue.build();
onChanged();
} else {
outputBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder mergeOutput(com.google.protobuf.Struct value) {
if (outputBuilder_ == null) {
if (output_ != null) {
output_ =
com.google.protobuf.Struct.newBuilder(output_).mergeFrom(value).buildPartial();
} else {
output_ = value;
}
onChanged();
} else {
outputBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public Builder clearOutput() {
if (outputBuilder_ == null) {
output_ = null;
onChanged();
} else {
output_ = null;
outputBuilder_ = null;
}
return this;
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public com.google.protobuf.Struct.Builder getOutputBuilder() {
onChanged();
return getOutputFieldBuilder().getBuilder();
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
public com.google.protobuf.StructOrBuilder getOutputOrBuilder() {
if (outputBuilder_ != null) {
return outputBuilder_.getMessageOrBuilder();
} else {
return output_ == null ?
com.google.protobuf.Struct.getDefaultInstance() : output_;
}
}
/**
*
* Result of the execution
*
*
* .google.protobuf.Struct output = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>
getOutputFieldBuilder() {
if (outputBuilder_ == null) {
outputBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Struct, com.google.protobuf.Struct.Builder, com.google.protobuf.StructOrBuilder>(
getOutput(),
getParentForChildren(),
isClean());
output_ = null;
}
return outputBuilder_;
}
@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.datasphere.v1.AliasExecutionResponse)
}
// @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v1.AliasExecutionResponse)
private static final yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse();
}
public static yandex.cloud.api.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public AliasExecutionResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new AliasExecutionResponse(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.datasphere.v1.NodeServiceOuterClass.AliasExecutionResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_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/datasphere/v1/node_servic" +
"e.proto\022\032yandex.cloud.datasphere.v1\032\034goo" +
"gle/api/annotations.proto\032\034google/protob" +
"uf/struct.proto\"b\n\024NodeExecutionRequest\022" +
"\021\n\tfolder_id\030\001 \001(\t\022\017\n\007node_id\030\002 \001(\t\022&\n\005i" +
"nput\030\003 \001(\0132\027.google.protobuf.Struct\"@\n\025N" +
"odeExecutionResponse\022\'\n\006output\030\001 \001(\0132\027.g" +
"oogle.protobuf.Struct\"f\n\025AliasExecutionR" +
"equest\022\021\n\tfolder_id\030\001 \001(\t\022\022\n\nalias_name\030" +
"\002 \001(\t\022&\n\005input\030\003 \001(\0132\027.google.protobuf.S" +
"truct\"A\n\026AliasExecutionResponse\022\'\n\006outpu" +
"t\030\001 \001(\0132\027.google.protobuf.Struct2\341\002\n\013Nod" +
"eService\022\241\001\n\007Execute\0220.yandex.cloud.data" +
"sphere.v1.NodeExecutionRequest\0321.yandex." +
"cloud.datasphere.v1.NodeExecutionRespons" +
"e\"1\202\323\344\223\002+\"&/datasphere/v1/nodes/{node_id" +
"}:execute:\001*\022\255\001\n\014ExecuteAlias\0221.yandex.c" +
"loud.datasphere.v1.AliasExecutionRequest" +
"\0322.yandex.cloud.datasphere.v1.AliasExecu" +
"tionResponse\"6\202\323\344\223\0020\"+/datasphere/v1/ali" +
"ases/{alias_name}:execute:\001*Bk\n\036yandex.c" +
"loud.api.datasphere.v1ZIgithub.com/yande" +
"x-cloud/go-genproto/yandex/cloud/datasph" +
"ere/v1;datasphereb\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.AnnotationsProto.getDescriptor(),
com.google.protobuf.StructProto.getDescriptor(),
});
internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v1_NodeExecutionRequest_descriptor,
new java.lang.String[] { "FolderId", "NodeId", "Input", });
internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v1_NodeExecutionResponse_descriptor,
new java.lang.String[] { "Output", });
internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v1_AliasExecutionRequest_descriptor,
new java.lang.String[] { "FolderId", "AliasName", "Input", });
internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_yandex_cloud_datasphere_v1_AliasExecutionResponse_descriptor,
new java.lang.String[] { "Output", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.google.api.AnnotationsProto.http);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.google.api.AnnotationsProto.getDescriptor();
com.google.protobuf.StructProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy