io.temporal.api.sdk.v1.StackTraceFileLocation Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: temporal/api/sdk/v1/enhanced_stack_trace.proto
package io.temporal.api.sdk.v1;
/**
*
* More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available.
* In essence, a pointer to a location in a file
*
*
* Protobuf type {@code temporal.api.sdk.v1.StackTraceFileLocation}
*/
@javax.annotation.Generated(value="protoc", comments="annotations:StackTraceFileLocation.java.pb.meta")
public final class StackTraceFileLocation extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:temporal.api.sdk.v1.StackTraceFileLocation)
StackTraceFileLocationOrBuilder {
private static final long serialVersionUID = 0L;
// Use StackTraceFileLocation.newBuilder() to construct.
private StackTraceFileLocation(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StackTraceFileLocation() {
filePath_ = "";
functionName_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StackTraceFileLocation();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StackTraceFileLocation(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
filePath_ = s;
break;
}
case 16: {
line_ = input.readInt32();
break;
}
case 24: {
column_ = input.readInt32();
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
functionName_ = s;
break;
}
case 40: {
internalCode_ = input.readBool();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.sdk.v1.EnhancedStackTraceProto.internal_static_temporal_api_sdk_v1_StackTraceFileLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.sdk.v1.EnhancedStackTraceProto.internal_static_temporal_api_sdk_v1_StackTraceFileLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.sdk.v1.StackTraceFileLocation.class, io.temporal.api.sdk.v1.StackTraceFileLocation.Builder.class);
}
public static final int FILE_PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object filePath_;
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @return The filePath.
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
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();
filePath_ = s;
return s;
}
}
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @return The bytes for filePath.
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int LINE_FIELD_NUMBER = 2;
private int line_;
/**
*
* Optional; If possible, SDK should send this -- this is required for displaying the code location.
* If not provided, set to -1.
*
*
* int32 line = 2;
* @return The line.
*/
public int getLine() {
return line_;
}
public static final int COLUMN_FIELD_NUMBER = 3;
private int column_;
/**
*
* Optional; if possible, SDK should send this.
* If not provided, set to -1.
*
*
* int32 column = 3;
* @return The column.
*/
public int getColumn() {
return column_;
}
public static final int FUNCTION_NAME_FIELD_NUMBER = 4;
private volatile java.lang.Object functionName_;
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @return The functionName.
*/
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
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();
functionName_ = s;
return s;
}
}
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @return The bytes for functionName.
*/
public com.google.protobuf.ByteString
getFunctionNameBytes() {
java.lang.Object ref = functionName_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int INTERNAL_CODE_FIELD_NUMBER = 5;
private boolean internalCode_;
/**
*
* Flag to communicate whether a location should be hidden by default in the stack view.
*
*
* bool internal_code = 5;
* @return The internalCode.
*/
public boolean getInternalCode() {
return internalCode_;
}
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 (!getFilePathBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, filePath_);
}
if (line_ != 0) {
output.writeInt32(2, line_);
}
if (column_ != 0) {
output.writeInt32(3, column_);
}
if (!getFunctionNameBytes().isEmpty()) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, functionName_);
}
if (internalCode_ != false) {
output.writeBool(5, internalCode_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!getFilePathBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, filePath_);
}
if (line_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(2, line_);
}
if (column_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(3, column_);
}
if (!getFunctionNameBytes().isEmpty()) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, functionName_);
}
if (internalCode_ != false) {
size += com.google.protobuf.CodedOutputStream
.computeBoolSize(5, internalCode_);
}
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 io.temporal.api.sdk.v1.StackTraceFileLocation)) {
return super.equals(obj);
}
io.temporal.api.sdk.v1.StackTraceFileLocation other = (io.temporal.api.sdk.v1.StackTraceFileLocation) obj;
if (!getFilePath()
.equals(other.getFilePath())) return false;
if (getLine()
!= other.getLine()) return false;
if (getColumn()
!= other.getColumn()) return false;
if (!getFunctionName()
.equals(other.getFunctionName())) return false;
if (getInternalCode()
!= other.getInternalCode()) 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) + FILE_PATH_FIELD_NUMBER;
hash = (53 * hash) + getFilePath().hashCode();
hash = (37 * hash) + LINE_FIELD_NUMBER;
hash = (53 * hash) + getLine();
hash = (37 * hash) + COLUMN_FIELD_NUMBER;
hash = (53 * hash) + getColumn();
hash = (37 * hash) + FUNCTION_NAME_FIELD_NUMBER;
hash = (53 * hash) + getFunctionName().hashCode();
hash = (37 * hash) + INTERNAL_CODE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
getInternalCode());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation 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.temporal.api.sdk.v1.StackTraceFileLocation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation 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.temporal.api.sdk.v1.StackTraceFileLocation parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation 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.temporal.api.sdk.v1.StackTraceFileLocation 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;
}
/**
*
* More specific location details of a file: its path, precise line and column numbers if applicable, and function name if available.
* In essence, a pointer to a location in a file
*
*
* Protobuf type {@code temporal.api.sdk.v1.StackTraceFileLocation}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:temporal.api.sdk.v1.StackTraceFileLocation)
io.temporal.api.sdk.v1.StackTraceFileLocationOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.temporal.api.sdk.v1.EnhancedStackTraceProto.internal_static_temporal_api_sdk_v1_StackTraceFileLocation_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.temporal.api.sdk.v1.EnhancedStackTraceProto.internal_static_temporal_api_sdk_v1_StackTraceFileLocation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.temporal.api.sdk.v1.StackTraceFileLocation.class, io.temporal.api.sdk.v1.StackTraceFileLocation.Builder.class);
}
// Construct using io.temporal.api.sdk.v1.StackTraceFileLocation.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();
filePath_ = "";
line_ = 0;
column_ = 0;
functionName_ = "";
internalCode_ = false;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return io.temporal.api.sdk.v1.EnhancedStackTraceProto.internal_static_temporal_api_sdk_v1_StackTraceFileLocation_descriptor;
}
@java.lang.Override
public io.temporal.api.sdk.v1.StackTraceFileLocation getDefaultInstanceForType() {
return io.temporal.api.sdk.v1.StackTraceFileLocation.getDefaultInstance();
}
@java.lang.Override
public io.temporal.api.sdk.v1.StackTraceFileLocation build() {
io.temporal.api.sdk.v1.StackTraceFileLocation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public io.temporal.api.sdk.v1.StackTraceFileLocation buildPartial() {
io.temporal.api.sdk.v1.StackTraceFileLocation result = new io.temporal.api.sdk.v1.StackTraceFileLocation(this);
result.filePath_ = filePath_;
result.line_ = line_;
result.column_ = column_;
result.functionName_ = functionName_;
result.internalCode_ = internalCode_;
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 io.temporal.api.sdk.v1.StackTraceFileLocation) {
return mergeFrom((io.temporal.api.sdk.v1.StackTraceFileLocation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(io.temporal.api.sdk.v1.StackTraceFileLocation other) {
if (other == io.temporal.api.sdk.v1.StackTraceFileLocation.getDefaultInstance()) return this;
if (!other.getFilePath().isEmpty()) {
filePath_ = other.filePath_;
onChanged();
}
if (other.getLine() != 0) {
setLine(other.getLine());
}
if (other.getColumn() != 0) {
setColumn(other.getColumn());
}
if (!other.getFunctionName().isEmpty()) {
functionName_ = other.functionName_;
onChanged();
}
if (other.getInternalCode() != false) {
setInternalCode(other.getInternalCode());
}
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 {
io.temporal.api.sdk.v1.StackTraceFileLocation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (io.temporal.api.sdk.v1.StackTraceFileLocation) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object filePath_ = "";
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @return The filePath.
*/
public java.lang.String getFilePath() {
java.lang.Object ref = filePath_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
filePath_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @return The bytes for filePath.
*/
public com.google.protobuf.ByteString
getFilePathBytes() {
java.lang.Object ref = filePath_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
filePath_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @param value The filePath to set.
* @return This builder for chaining.
*/
public Builder setFilePath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
filePath_ = value;
onChanged();
return this;
}
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @return This builder for chaining.
*/
public Builder clearFilePath() {
filePath_ = getDefaultInstance().getFilePath();
onChanged();
return this;
}
/**
*
* Path to source file (absolute or relative).
* If the paths are relative, ensure that they are all relative to the same root.
*
*
* string file_path = 1;
* @param value The bytes for filePath to set.
* @return This builder for chaining.
*/
public Builder setFilePathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
filePath_ = value;
onChanged();
return this;
}
private int line_ ;
/**
*
* Optional; If possible, SDK should send this -- this is required for displaying the code location.
* If not provided, set to -1.
*
*
* int32 line = 2;
* @return The line.
*/
public int getLine() {
return line_;
}
/**
*
* Optional; If possible, SDK should send this -- this is required for displaying the code location.
* If not provided, set to -1.
*
*
* int32 line = 2;
* @param value The line to set.
* @return This builder for chaining.
*/
public Builder setLine(int value) {
line_ = value;
onChanged();
return this;
}
/**
*
* Optional; If possible, SDK should send this -- this is required for displaying the code location.
* If not provided, set to -1.
*
*
* int32 line = 2;
* @return This builder for chaining.
*/
public Builder clearLine() {
line_ = 0;
onChanged();
return this;
}
private int column_ ;
/**
*
* Optional; if possible, SDK should send this.
* If not provided, set to -1.
*
*
* int32 column = 3;
* @return The column.
*/
public int getColumn() {
return column_;
}
/**
*
* Optional; if possible, SDK should send this.
* If not provided, set to -1.
*
*
* int32 column = 3;
* @param value The column to set.
* @return This builder for chaining.
*/
public Builder setColumn(int value) {
column_ = value;
onChanged();
return this;
}
/**
*
* Optional; if possible, SDK should send this.
* If not provided, set to -1.
*
*
* int32 column = 3;
* @return This builder for chaining.
*/
public Builder clearColumn() {
column_ = 0;
onChanged();
return this;
}
private java.lang.Object functionName_ = "";
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @return The functionName.
*/
public java.lang.String getFunctionName() {
java.lang.Object ref = functionName_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
functionName_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @return The bytes for functionName.
*/
public com.google.protobuf.ByteString
getFunctionNameBytes() {
java.lang.Object ref = functionName_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
functionName_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @param value The functionName to set.
* @return This builder for chaining.
*/
public Builder setFunctionName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
functionName_ = value;
onChanged();
return this;
}
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @return This builder for chaining.
*/
public Builder clearFunctionName() {
functionName_ = getDefaultInstance().getFunctionName();
onChanged();
return this;
}
/**
*
* Function name this line belongs to, if applicable.
* Used for falling back to stack trace view.
*
*
* string function_name = 4;
* @param value The bytes for functionName to set.
* @return This builder for chaining.
*/
public Builder setFunctionNameBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
functionName_ = value;
onChanged();
return this;
}
private boolean internalCode_ ;
/**
*
* Flag to communicate whether a location should be hidden by default in the stack view.
*
*
* bool internal_code = 5;
* @return The internalCode.
*/
public boolean getInternalCode() {
return internalCode_;
}
/**
*
* Flag to communicate whether a location should be hidden by default in the stack view.
*
*
* bool internal_code = 5;
* @param value The internalCode to set.
* @return This builder for chaining.
*/
public Builder setInternalCode(boolean value) {
internalCode_ = value;
onChanged();
return this;
}
/**
*
* Flag to communicate whether a location should be hidden by default in the stack view.
*
*
* bool internal_code = 5;
* @return This builder for chaining.
*/
public Builder clearInternalCode() {
internalCode_ = false;
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:temporal.api.sdk.v1.StackTraceFileLocation)
}
// @@protoc_insertion_point(class_scope:temporal.api.sdk.v1.StackTraceFileLocation)
private static final io.temporal.api.sdk.v1.StackTraceFileLocation DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new io.temporal.api.sdk.v1.StackTraceFileLocation();
}
public static io.temporal.api.sdk.v1.StackTraceFileLocation getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StackTraceFileLocation parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StackTraceFileLocation(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 io.temporal.api.sdk.v1.StackTraceFileLocation getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy