java.io.deephaven.proto.backplane.grpc.TerminationNotificationResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of deephaven-proto-backplane-grpc Show documentation
Show all versions of deephaven-proto-backplane-grpc Show documentation
The Deephaven proto-backplane-grpc
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: deephaven/proto/session.proto
// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.TerminationNotificationResponse}
*/
public final class TerminationNotificationResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)
TerminationNotificationResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use TerminationNotificationResponse.newBuilder() to construct.
private TerminationNotificationResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TerminationNotificationResponse() {
reason_ = "";
stackTraces_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TerminationNotificationResponse();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.class, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.Builder.class);
}
public interface StackTraceOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)
com.google.protobuf.MessageOrBuilder {
/**
* string type = 1;
* @return The type.
*/
java.lang.String getType();
/**
* string type = 1;
* @return The bytes for type.
*/
com.google.protobuf.ByteString
getTypeBytes();
/**
* string message = 2;
* @return The message.
*/
java.lang.String getMessage();
/**
* string message = 2;
* @return The bytes for message.
*/
com.google.protobuf.ByteString
getMessageBytes();
/**
* repeated string elements = 3;
* @return A list containing the elements.
*/
java.util.List
getElementsList();
/**
* repeated string elements = 3;
* @return The count of elements.
*/
int getElementsCount();
/**
* repeated string elements = 3;
* @param index The index of the element to return.
* @return The elements at the given index.
*/
java.lang.String getElements(int index);
/**
* repeated string elements = 3;
* @param index The index of the value to return.
* @return The bytes of the elements at the given index.
*/
com.google.protobuf.ByteString
getElementsBytes(int index);
}
/**
* Protobuf type {@code io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace}
*/
public static final class StackTrace extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)
StackTraceOrBuilder {
private static final long serialVersionUID = 0L;
// Use StackTrace.newBuilder() to construct.
private StackTrace(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StackTrace() {
type_ = "";
message_ = "";
elements_ =
com.google.protobuf.LazyStringArrayList.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StackTrace();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_StackTrace_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_StackTrace_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.class, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder.class);
}
public static final int TYPE_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object type_ = "";
/**
* string type = 1;
* @return The type.
*/
@java.lang.Override
public java.lang.String getType() {
java.lang.Object ref = type_;
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();
type_ = s;
return s;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int MESSAGE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
@java.lang.Override
public java.lang.String getMessage() {
java.lang.Object ref = message_;
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();
message_ = s;
return s;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ELEMENTS_FIELD_NUMBER = 3;
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList elements_ =
com.google.protobuf.LazyStringArrayList.emptyList();
/**
* repeated string elements = 3;
* @return A list containing the elements.
*/
public com.google.protobuf.ProtocolStringList
getElementsList() {
return elements_;
}
/**
* repeated string elements = 3;
* @return The count of elements.
*/
public int getElementsCount() {
return elements_.size();
}
/**
* repeated string elements = 3;
* @param index The index of the element to return.
* @return The elements at the given index.
*/
public java.lang.String getElements(int index) {
return elements_.get(index);
}
/**
* repeated string elements = 3;
* @param index The index of the value to return.
* @return The bytes of the elements at the given index.
*/
public com.google.protobuf.ByteString
getElementsBytes(int index) {
return elements_.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(type_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, message_);
}
for (int i = 0; i < elements_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 3, elements_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, type_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(message_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, message_);
}
{
int dataSize = 0;
for (int i = 0; i < elements_.size(); i++) {
dataSize += computeStringSizeNoTag(elements_.getRaw(i));
}
size += dataSize;
size += 1 * getElementsList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace other = (io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace) obj;
if (!getType()
.equals(other.getType())) return false;
if (!getMessage()
.equals(other.getMessage())) return false;
if (!getElementsList()
.equals(other.getElementsList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + TYPE_FIELD_NUMBER;
hash = (53 * hash) + getType().hashCode();
hash = (37 * hash) + MESSAGE_FIELD_NUMBER;
hash = (53 * hash) + getMessage().hashCode();
if (getElementsCount() > 0) {
hash = (37 * hash) + ELEMENTS_FIELD_NUMBER;
hash = (53 * hash) + getElementsList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace 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(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_StackTrace_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_StackTrace_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.class, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
type_ = "";
message_ = "";
elements_ =
com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_StackTrace_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace build() {
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace buildPartial() {
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace result = new io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.message_ = message_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
elements_.makeImmutable();
result.elements_ = elements_;
}
}
@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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace) {
return mergeFrom((io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace other) {
if (other == io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.getDefaultInstance()) return this;
if (!other.getType().isEmpty()) {
type_ = other.type_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getMessage().isEmpty()) {
message_ = other.message_;
bitField0_ |= 0x00000002;
onChanged();
}
if (!other.elements_.isEmpty()) {
if (elements_.isEmpty()) {
elements_ = other.elements_;
bitField0_ |= 0x00000004;
} else {
ensureElementsIsMutable();
elements_.addAll(other.elements_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
type_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
message_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
java.lang.String s = input.readStringRequireUtf8();
ensureElementsIsMutable();
elements_.add(s);
break;
} // case 26
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private java.lang.Object type_ = "";
/**
* string type = 1;
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string type = 1;
* @return The bytes for type.
*/
public com.google.protobuf.ByteString
getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string type = 1;
* @param value The type to set.
* @return This builder for chaining.
*/
public Builder setType(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
type_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* string type = 1;
* @return This builder for chaining.
*/
public Builder clearType() {
type_ = getDefaultInstance().getType();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string type = 1;
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
public Builder setTypeBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
type_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object message_ = "";
/**
* string message = 2;
* @return The message.
*/
public java.lang.String getMessage() {
java.lang.Object ref = message_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
message_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string message = 2;
* @return The bytes for message.
*/
public com.google.protobuf.ByteString
getMessageBytes() {
java.lang.Object ref = message_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
message_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string message = 2;
* @param value The message to set.
* @return This builder for chaining.
*/
public Builder setMessage(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string message = 2;
* @return This builder for chaining.
*/
public Builder clearMessage() {
message_ = getDefaultInstance().getMessage();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string message = 2;
* @param value The bytes for message to set.
* @return This builder for chaining.
*/
public Builder setMessageBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
message_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.LazyStringArrayList elements_ =
com.google.protobuf.LazyStringArrayList.emptyList();
private void ensureElementsIsMutable() {
if (!elements_.isModifiable()) {
elements_ = new com.google.protobuf.LazyStringArrayList(elements_);
}
bitField0_ |= 0x00000004;
}
/**
* repeated string elements = 3;
* @return A list containing the elements.
*/
public com.google.protobuf.ProtocolStringList
getElementsList() {
elements_.makeImmutable();
return elements_;
}
/**
* repeated string elements = 3;
* @return The count of elements.
*/
public int getElementsCount() {
return elements_.size();
}
/**
* repeated string elements = 3;
* @param index The index of the element to return.
* @return The elements at the given index.
*/
public java.lang.String getElements(int index) {
return elements_.get(index);
}
/**
* repeated string elements = 3;
* @param index The index of the value to return.
* @return The bytes of the elements at the given index.
*/
public com.google.protobuf.ByteString
getElementsBytes(int index) {
return elements_.getByteString(index);
}
/**
* repeated string elements = 3;
* @param index The index to set the value at.
* @param value The elements to set.
* @return This builder for chaining.
*/
public Builder setElements(
int index, java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureElementsIsMutable();
elements_.set(index, value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string elements = 3;
* @param value The elements to add.
* @return This builder for chaining.
*/
public Builder addElements(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
ensureElementsIsMutable();
elements_.add(value);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string elements = 3;
* @param values The elements to add.
* @return This builder for chaining.
*/
public Builder addAllElements(
java.lang.Iterable values) {
ensureElementsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, elements_);
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* repeated string elements = 3;
* @return This builder for chaining.
*/
public Builder clearElements() {
elements_ =
com.google.protobuf.LazyStringArrayList.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);;
onChanged();
return this;
}
/**
* repeated string elements = 3;
* @param value The bytes of the elements to add.
* @return This builder for chaining.
*/
public Builder addElementsBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
ensureElementsIsMutable();
elements_.add(value);
bitField0_ |= 0x00000004;
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:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace)
private static final io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace();
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StackTrace parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ABNORMAL_TERMINATION_FIELD_NUMBER = 1;
private boolean abnormalTermination_ = false;
/**
*
* whether or not this termination is expected
*
*
* bool abnormal_termination = 1;
* @return The abnormalTermination.
*/
@java.lang.Override
public boolean getAbnormalTermination() {
return abnormalTermination_;
}
public static final int REASON_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object reason_ = "";
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @return The reason.
*/
@java.lang.Override
public java.lang.String getReason() {
java.lang.Object ref = reason_;
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();
reason_ = s;
return s;
}
}
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @return The bytes for reason.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int IS_FROM_UNCAUGHT_EXCEPTION_FIELD_NUMBER = 3;
private boolean isFromUncaughtException_ = false;
/**
*
* if this is due to an exception, whether or not it was uncaught
*
*
* bool is_from_uncaught_exception = 3;
* @return The isFromUncaughtException.
*/
@java.lang.Override
public boolean getIsFromUncaughtException() {
return isFromUncaughtException_;
}
public static final int STACK_TRACES_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private java.util.List stackTraces_;
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
@java.lang.Override
public java.util.List getStackTracesList() {
return stackTraces_;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
@java.lang.Override
public java.util.List extends io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder>
getStackTracesOrBuilderList() {
return stackTraces_;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
@java.lang.Override
public int getStackTracesCount() {
return stackTraces_.size();
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace getStackTraces(int index) {
return stackTraces_.get(index);
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder getStackTracesOrBuilder(
int index) {
return stackTraces_.get(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 (abnormalTermination_ != false) {
output.writeBool(1, abnormalTermination_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, reason_);
}
if (isFromUncaughtException_ != false) {
output.writeBool(3, isFromUncaughtException_);
}
for (int i = 0; i < stackTraces_.size(); i++) {
output.writeMessage(4, stackTraces_.get(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (abnormalTermination_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(1, abnormalTermination_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(reason_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, reason_);
}
if (isFromUncaughtException_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(3, isFromUncaughtException_);
}
for (int i = 0; i < stackTraces_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, stackTraces_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)) {
return super.equals(obj);
}
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse other = (io.deephaven.proto.backplane.grpc.TerminationNotificationResponse) obj;
if (getAbnormalTermination()
!= other.getAbnormalTermination()) return false;
if (!getReason()
.equals(other.getReason())) return false;
if (getIsFromUncaughtException()
!= other.getIsFromUncaughtException()) return false;
if (!getStackTracesList()
.equals(other.getStackTracesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) 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) + ABNORMAL_TERMINATION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getAbnormalTermination());
hash = (37 * hash) + REASON_FIELD_NUMBER;
hash = (53 * hash) + getReason().hashCode();
hash = (37 * hash) + IS_FROM_UNCAUGHT_EXCEPTION_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getIsFromUncaughtException());
if (getStackTracesCount() > 0) {
hash = (37 * hash) + STACK_TRACES_FIELD_NUMBER;
hash = (53 * hash) + getStackTracesList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse 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(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse 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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)
io.deephaven.proto.backplane.grpc.TerminationNotificationResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.class, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.Builder.class);
}
// Construct using io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
abnormalTermination_ = false;
reason_ = "";
isFromUncaughtException_ = false;
if (stackTracesBuilder_ == null) {
stackTraces_ = java.util.Collections.emptyList();
} else {
stackTraces_ = null;
stackTracesBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.deephaven.proto.backplane.grpc.Session.internal_static_io_deephaven_proto_backplane_grpc_TerminationNotificationResponse_descriptor;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse getDefaultInstanceForType() {
return io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.getDefaultInstance();
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse build() {
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse buildPartial() {
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse result = new io.deephaven.proto.backplane.grpc.TerminationNotificationResponse(this);
buildPartialRepeatedFields(result);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartialRepeatedFields(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse result) {
if (stackTracesBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
stackTraces_ = java.util.Collections.unmodifiableList(stackTraces_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.stackTraces_ = stackTraces_;
} else {
result.stackTraces_ = stackTracesBuilder_.build();
}
}
private void buildPartial0(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.abnormalTermination_ = abnormalTermination_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.reason_ = reason_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.isFromUncaughtException_ = isFromUncaughtException_;
}
}
@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 io.deephaven.proto.backplane.grpc.TerminationNotificationResponse) {
return mergeFrom((io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse other) {
if (other == io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.getDefaultInstance()) return this;
if (other.getAbnormalTermination() != false) {
setAbnormalTermination(other.getAbnormalTermination());
}
if (!other.getReason().isEmpty()) {
reason_ = other.reason_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.getIsFromUncaughtException() != false) {
setIsFromUncaughtException(other.getIsFromUncaughtException());
}
if (stackTracesBuilder_ == null) {
if (!other.stackTraces_.isEmpty()) {
if (stackTraces_.isEmpty()) {
stackTraces_ = other.stackTraces_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureStackTracesIsMutable();
stackTraces_.addAll(other.stackTraces_);
}
onChanged();
}
} else {
if (!other.stackTraces_.isEmpty()) {
if (stackTracesBuilder_.isEmpty()) {
stackTracesBuilder_.dispose();
stackTracesBuilder_ = null;
stackTraces_ = other.stackTraces_;
bitField0_ = (bitField0_ & ~0x00000008);
stackTracesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getStackTracesFieldBuilder() : null;
} else {
stackTracesBuilder_.addAllMessages(other.stackTraces_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
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 {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
abnormalTermination_ = input.readBool();
bitField0_ |= 0x00000001;
break;
} // case 8
case 18: {
reason_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 24: {
isFromUncaughtException_ = input.readBool();
bitField0_ |= 0x00000004;
break;
} // case 24
case 34: {
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace m =
input.readMessage(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.parser(),
extensionRegistry);
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
stackTraces_.add(m);
} else {
stackTracesBuilder_.addMessage(m);
}
break;
} // case 34
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private boolean abnormalTermination_ ;
/**
*
* whether or not this termination is expected
*
*
* bool abnormal_termination = 1;
* @return The abnormalTermination.
*/
@java.lang.Override
public boolean getAbnormalTermination() {
return abnormalTermination_;
}
/**
*
* whether or not this termination is expected
*
*
* bool abnormal_termination = 1;
* @param value The abnormalTermination to set.
* @return This builder for chaining.
*/
public Builder setAbnormalTermination(boolean value) {
abnormalTermination_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
*
* whether or not this termination is expected
*
*
* bool abnormal_termination = 1;
* @return This builder for chaining.
*/
public Builder clearAbnormalTermination() {
bitField0_ = (bitField0_ & ~0x00000001);
abnormalTermination_ = false;
onChanged();
return this;
}
private java.lang.Object reason_ = "";
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @return The reason.
*/
public java.lang.String getReason() {
java.lang.Object ref = reason_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
reason_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @return The bytes for reason.
*/
public com.google.protobuf.ByteString
getReasonBytes() {
java.lang.Object ref = reason_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
reason_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @param value The reason to set.
* @return This builder for chaining.
*/
public Builder setReason(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
reason_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @return This builder for chaining.
*/
public Builder clearReason() {
reason_ = getDefaultInstance().getReason();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* if additional information is available then provide it in this field
*
*
* string reason = 2;
* @param value The bytes for reason to set.
* @return This builder for chaining.
*/
public Builder setReasonBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
reason_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private boolean isFromUncaughtException_ ;
/**
*
* if this is due to an exception, whether or not it was uncaught
*
*
* bool is_from_uncaught_exception = 3;
* @return The isFromUncaughtException.
*/
@java.lang.Override
public boolean getIsFromUncaughtException() {
return isFromUncaughtException_;
}
/**
*
* if this is due to an exception, whether or not it was uncaught
*
*
* bool is_from_uncaught_exception = 3;
* @param value The isFromUncaughtException to set.
* @return This builder for chaining.
*/
public Builder setIsFromUncaughtException(boolean value) {
isFromUncaughtException_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
*
* if this is due to an exception, whether or not it was uncaught
*
*
* bool is_from_uncaught_exception = 3;
* @return This builder for chaining.
*/
public Builder clearIsFromUncaughtException() {
bitField0_ = (bitField0_ & ~0x00000004);
isFromUncaughtException_ = false;
onChanged();
return this;
}
private java.util.List stackTraces_ =
java.util.Collections.emptyList();
private void ensureStackTracesIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
stackTraces_ = new java.util.ArrayList(stackTraces_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder> stackTracesBuilder_;
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public java.util.List getStackTracesList() {
if (stackTracesBuilder_ == null) {
return java.util.Collections.unmodifiableList(stackTraces_);
} else {
return stackTracesBuilder_.getMessageList();
}
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public int getStackTracesCount() {
if (stackTracesBuilder_ == null) {
return stackTraces_.size();
} else {
return stackTracesBuilder_.getCount();
}
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace getStackTraces(int index) {
if (stackTracesBuilder_ == null) {
return stackTraces_.get(index);
} else {
return stackTracesBuilder_.getMessage(index);
}
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder setStackTraces(
int index, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace value) {
if (stackTracesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTracesIsMutable();
stackTraces_.set(index, value);
onChanged();
} else {
stackTracesBuilder_.setMessage(index, value);
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder setStackTraces(
int index, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder builderForValue) {
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
stackTraces_.set(index, builderForValue.build());
onChanged();
} else {
stackTracesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder addStackTraces(io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace value) {
if (stackTracesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTracesIsMutable();
stackTraces_.add(value);
onChanged();
} else {
stackTracesBuilder_.addMessage(value);
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder addStackTraces(
int index, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace value) {
if (stackTracesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStackTracesIsMutable();
stackTraces_.add(index, value);
onChanged();
} else {
stackTracesBuilder_.addMessage(index, value);
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder addStackTraces(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder builderForValue) {
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
stackTraces_.add(builderForValue.build());
onChanged();
} else {
stackTracesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder addStackTraces(
int index, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder builderForValue) {
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
stackTraces_.add(index, builderForValue.build());
onChanged();
} else {
stackTracesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder addAllStackTraces(
java.lang.Iterable extends io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace> values) {
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, stackTraces_);
onChanged();
} else {
stackTracesBuilder_.addAllMessages(values);
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder clearStackTraces() {
if (stackTracesBuilder_ == null) {
stackTraces_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
stackTracesBuilder_.clear();
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public Builder removeStackTraces(int index) {
if (stackTracesBuilder_ == null) {
ensureStackTracesIsMutable();
stackTraces_.remove(index);
onChanged();
} else {
stackTracesBuilder_.remove(index);
}
return this;
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder getStackTracesBuilder(
int index) {
return getStackTracesFieldBuilder().getBuilder(index);
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder getStackTracesOrBuilder(
int index) {
if (stackTracesBuilder_ == null) {
return stackTraces_.get(index); } else {
return stackTracesBuilder_.getMessageOrBuilder(index);
}
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public java.util.List extends io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder>
getStackTracesOrBuilderList() {
if (stackTracesBuilder_ != null) {
return stackTracesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stackTraces_);
}
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder addStackTracesBuilder() {
return getStackTracesFieldBuilder().addBuilder(
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.getDefaultInstance());
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder addStackTracesBuilder(
int index) {
return getStackTracesFieldBuilder().addBuilder(
index, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.getDefaultInstance());
}
/**
*
* if applicable, the list of stack traces in reverse causal order
*
*
* repeated .io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace stack_traces = 4;
*/
public java.util.List
getStackTracesBuilderList() {
return getStackTracesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder>
getStackTracesFieldBuilder() {
if (stackTracesBuilder_ == null) {
stackTracesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTrace.Builder, io.deephaven.proto.backplane.grpc.TerminationNotificationResponse.StackTraceOrBuilder>(
stackTraces_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
stackTraces_ = null;
}
return stackTracesBuilder_;
}
@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:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)
}
// @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.TerminationNotificationResponse)
private static final io.deephaven.proto.backplane.grpc.TerminationNotificationResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.TerminationNotificationResponse();
}
public static io.deephaven.proto.backplane.grpc.TerminationNotificationResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TerminationNotificationResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public io.deephaven.proto.backplane.grpc.TerminationNotificationResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}