All Downloads are FREE. Search and download functionalities are using the official Maven repository.

yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: yandex/cloud/datasphere/v1/node_execution_error_details.proto

package yandex.cloud.api.datasphere.v1;

public final class NodeExecutionErrorDetailsOuterClass {
  private NodeExecutionErrorDetailsOuterClass() {}
  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 NodeExecutionErrorDetailsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:yandex.cloud.datasphere.v1.NodeExecutionErrorDetails)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * Error name
     * 
* * string error_name = 1; * @return The errorName. */ java.lang.String getErrorName(); /** *
     * Error name
     * 
* * string error_name = 1; * @return The bytes for errorName. */ com.google.protobuf.ByteString getErrorNameBytes(); /** *
     * Error message
     * 
* * string error_message = 2; * @return The errorMessage. */ java.lang.String getErrorMessage(); /** *
     * Error message
     * 
* * string error_message = 2; * @return The bytes for errorMessage. */ com.google.protobuf.ByteString getErrorMessageBytes(); /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @return A list containing the traceback. */ java.util.List getTracebackList(); /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @return The count of traceback. */ int getTracebackCount(); /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @param index The index of the element to return. * @return The traceback at the given index. */ java.lang.String getTraceback(int index); /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @param index The index of the value to return. * @return The bytes of the traceback at the given index. */ com.google.protobuf.ByteString getTracebackBytes(int index); } /** *
   * User code python execution's error details
   * 
* * Protobuf type {@code yandex.cloud.datasphere.v1.NodeExecutionErrorDetails} */ public static final class NodeExecutionErrorDetails extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:yandex.cloud.datasphere.v1.NodeExecutionErrorDetails) NodeExecutionErrorDetailsOrBuilder { private static final long serialVersionUID = 0L; // Use NodeExecutionErrorDetails.newBuilder() to construct. private NodeExecutionErrorDetails(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private NodeExecutionErrorDetails() { errorName_ = ""; errorMessage_ = ""; traceback_ = com.google.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new NodeExecutionErrorDetails(); } @java.lang.Override public final com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private NodeExecutionErrorDetails( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { this(); if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } int mutable_bitField0_ = 0; 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(); errorName_ = s; break; } case 18: { java.lang.String s = input.readStringRequireUtf8(); errorMessage_ = s; break; } case 26: { java.lang.String s = input.readStringRequireUtf8(); if (!((mutable_bitField0_ & 0x00000001) != 0)) { traceback_ = new com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000001; } traceback_.add(s); break; } default: { if (!parseUnknownField( input, unknownFields, extensionRegistry, tag)) { done = true; } break; } } } } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) != 0)) { traceback_ = traceback_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.class, yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.Builder.class); } public static final int ERROR_NAME_FIELD_NUMBER = 1; private volatile java.lang.Object errorName_; /** *
     * Error name
     * 
* * string error_name = 1; * @return The errorName. */ @java.lang.Override public java.lang.String getErrorName() { java.lang.Object ref = errorName_; 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(); errorName_ = s; return s; } } /** *
     * Error name
     * 
* * string error_name = 1; * @return The bytes for errorName. */ @java.lang.Override public com.google.protobuf.ByteString getErrorNameBytes() { java.lang.Object ref = errorName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int ERROR_MESSAGE_FIELD_NUMBER = 2; private volatile java.lang.Object errorMessage_; /** *
     * Error message
     * 
* * string error_message = 2; * @return The errorMessage. */ @java.lang.Override public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; 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(); errorMessage_ = s; return s; } } /** *
     * Error message
     * 
* * string error_message = 2; * @return The bytes for errorMessage. */ @java.lang.Override public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int TRACEBACK_FIELD_NUMBER = 3; private com.google.protobuf.LazyStringList traceback_; /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @return A list containing the traceback. */ public com.google.protobuf.ProtocolStringList getTracebackList() { return traceback_; } /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @return The count of traceback. */ public int getTracebackCount() { return traceback_.size(); } /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @param index The index of the element to return. * @return The traceback at the given index. */ public java.lang.String getTraceback(int index) { return traceback_.get(index); } /** *
     * Error traceback
     * 
* * repeated string traceback = 3; * @param index The index of the value to return. * @return The bytes of the traceback at the given index. */ public com.google.protobuf.ByteString getTracebackBytes(int index) { return traceback_.getByteString(index); } 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(errorName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, errorName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, errorMessage_); } for (int i = 0; i < traceback_.size(); i++) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, traceback_.getRaw(i)); } 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(errorName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, errorName_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(errorMessage_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, errorMessage_); } { int dataSize = 0; for (int i = 0; i < traceback_.size(); i++) { dataSize += computeStringSizeNoTag(traceback_.getRaw(i)); } size += dataSize; size += 1 * getTracebackList().size(); } 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails)) { return super.equals(obj); } yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails other = (yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails) obj; if (!getErrorName() .equals(other.getErrorName())) return false; if (!getErrorMessage() .equals(other.getErrorMessage())) return false; if (!getTracebackList() .equals(other.getTracebackList())) 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) + ERROR_NAME_FIELD_NUMBER; hash = (53 * hash) + getErrorName().hashCode(); hash = (37 * hash) + ERROR_MESSAGE_FIELD_NUMBER; hash = (53 * hash) + getErrorMessage().hashCode(); if (getTracebackCount() > 0) { hash = (37 * hash) + TRACEBACK_FIELD_NUMBER; hash = (53 * hash) + getTracebackList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails 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; } /** *
     * User code python execution's error details
     * 
* * Protobuf type {@code yandex.cloud.datasphere.v1.NodeExecutionErrorDetails} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:yandex.cloud.datasphere.v1.NodeExecutionErrorDetails) yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetailsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_fieldAccessorTable .ensureFieldAccessorsInitialized( yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.class, yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.Builder.class); } // Construct using yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.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(); errorName_ = ""; errorMessage_ = ""; traceback_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor; } @java.lang.Override public yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails getDefaultInstanceForType() { return yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.getDefaultInstance(); } @java.lang.Override public yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails build() { yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails buildPartial() { yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails result = new yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails(this); int from_bitField0_ = bitField0_; result.errorName_ = errorName_; result.errorMessage_ = errorMessage_; if (((bitField0_ & 0x00000001) != 0)) { traceback_ = traceback_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000001); } result.traceback_ = traceback_; 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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails) { return mergeFrom((yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails other) { if (other == yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails.getDefaultInstance()) return this; if (!other.getErrorName().isEmpty()) { errorName_ = other.errorName_; onChanged(); } if (!other.getErrorMessage().isEmpty()) { errorMessage_ = other.errorMessage_; onChanged(); } if (!other.traceback_.isEmpty()) { if (traceback_.isEmpty()) { traceback_ = other.traceback_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTracebackIsMutable(); traceback_.addAll(other.traceback_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object errorName_ = ""; /** *
       * Error name
       * 
* * string error_name = 1; * @return The errorName. */ public java.lang.String getErrorName() { java.lang.Object ref = errorName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Error name
       * 
* * string error_name = 1; * @return The bytes for errorName. */ public com.google.protobuf.ByteString getErrorNameBytes() { java.lang.Object ref = errorName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Error name
       * 
* * string error_name = 1; * @param value The errorName to set. * @return This builder for chaining. */ public Builder setErrorName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorName_ = value; onChanged(); return this; } /** *
       * Error name
       * 
* * string error_name = 1; * @return This builder for chaining. */ public Builder clearErrorName() { errorName_ = getDefaultInstance().getErrorName(); onChanged(); return this; } /** *
       * Error name
       * 
* * string error_name = 1; * @param value The bytes for errorName to set. * @return This builder for chaining. */ public Builder setErrorNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorName_ = value; onChanged(); return this; } private java.lang.Object errorMessage_ = ""; /** *
       * Error message
       * 
* * string error_message = 2; * @return The errorMessage. */ public java.lang.String getErrorMessage() { java.lang.Object ref = errorMessage_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); errorMessage_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Error message
       * 
* * string error_message = 2; * @return The bytes for errorMessage. */ public com.google.protobuf.ByteString getErrorMessageBytes() { java.lang.Object ref = errorMessage_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); errorMessage_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Error message
       * 
* * string error_message = 2; * @param value The errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessage( java.lang.String value) { if (value == null) { throw new NullPointerException(); } errorMessage_ = value; onChanged(); return this; } /** *
       * Error message
       * 
* * string error_message = 2; * @return This builder for chaining. */ public Builder clearErrorMessage() { errorMessage_ = getDefaultInstance().getErrorMessage(); onChanged(); return this; } /** *
       * Error message
       * 
* * string error_message = 2; * @param value The bytes for errorMessage to set. * @return This builder for chaining. */ public Builder setErrorMessageBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); errorMessage_ = value; onChanged(); return this; } private com.google.protobuf.LazyStringList traceback_ = com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureTracebackIsMutable() { if (!((bitField0_ & 0x00000001) != 0)) { traceback_ = new com.google.protobuf.LazyStringArrayList(traceback_); bitField0_ |= 0x00000001; } } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @return A list containing the traceback. */ public com.google.protobuf.ProtocolStringList getTracebackList() { return traceback_.getUnmodifiableView(); } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @return The count of traceback. */ public int getTracebackCount() { return traceback_.size(); } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param index The index of the element to return. * @return The traceback at the given index. */ public java.lang.String getTraceback(int index) { return traceback_.get(index); } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param index The index of the value to return. * @return The bytes of the traceback at the given index. */ public com.google.protobuf.ByteString getTracebackBytes(int index) { return traceback_.getByteString(index); } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param index The index to set the value at. * @param value The traceback to set. * @return This builder for chaining. */ public Builder setTraceback( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTracebackIsMutable(); traceback_.set(index, value); onChanged(); return this; } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param value The traceback to add. * @return This builder for chaining. */ public Builder addTraceback( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureTracebackIsMutable(); traceback_.add(value); onChanged(); return this; } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param values The traceback to add. * @return This builder for chaining. */ public Builder addAllTraceback( java.lang.Iterable values) { ensureTracebackIsMutable(); com.google.protobuf.AbstractMessageLite.Builder.addAll( values, traceback_); onChanged(); return this; } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @return This builder for chaining. */ public Builder clearTraceback() { traceback_ = com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * Error traceback
       * 
* * repeated string traceback = 3; * @param value The bytes of the traceback to add. * @return This builder for chaining. */ public Builder addTracebackBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); ensureTracebackIsMutable(); traceback_.add(value); onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:yandex.cloud.datasphere.v1.NodeExecutionErrorDetails) } // @@protoc_insertion_point(class_scope:yandex.cloud.datasphere.v1.NodeExecutionErrorDetails) private static final yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails(); } public static yandex.cloud.api.datasphere.v1.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public NodeExecutionErrorDetails parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return new NodeExecutionErrorDetails(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.NodeExecutionErrorDetailsOuterClass.NodeExecutionErrorDetails getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final com.google.protobuf.Descriptors.Descriptor internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor; private static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_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_execut" + "ion_error_details.proto\022\032yandex.cloud.da" + "tasphere.v1\"Y\n\031NodeExecutionErrorDetails" + "\022\022\n\nerror_name\030\001 \001(\t\022\025\n\rerror_message\030\002 " + "\001(\t\022\021\n\ttraceback\030\003 \003(\tBk\n\036yandex.cloud.a" + "pi.datasphere.v1ZIgithub.com/yandex-clou" + "d/go-genproto/yandex/cloud/datasphere/v1" + ";datasphereb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { }); internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_fieldAccessorTable = new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_yandex_cloud_datasphere_v1_NodeExecutionErrorDetails_descriptor, new java.lang.String[] { "ErrorName", "ErrorMessage", "Traceback", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy