Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
xyz.block.ftl.v1.console.CallEvent Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: xyz/block/ftl/v1/console/console.proto
// Protobuf Java Version: 3.25.4
package xyz.block.ftl.v1.console;
/**
* Protobuf type {@code xyz.block.ftl.v1.console.CallEvent}
*/
public final class CallEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.console.CallEvent)
CallEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use CallEvent.newBuilder() to construct.
private CallEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private CallEvent() {
requestKey_ = "";
deploymentKey_ = "";
request_ = "";
response_ = "";
error_ = "";
stack_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CallEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_CallEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_CallEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.console.CallEvent.class, xyz.block.ftl.v1.console.CallEvent.Builder.class);
}
private int bitField0_;
public static final int REQUEST_KEY_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object requestKey_ = "";
/**
* optional string request_key = 1;
* @return Whether the requestKey field is set.
*/
@java.lang.Override
public boolean hasRequestKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string request_key = 1;
* @return The requestKey.
*/
@java.lang.Override
public java.lang.String getRequestKey() {
java.lang.Object ref = requestKey_;
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();
requestKey_ = s;
return s;
}
}
/**
* optional string request_key = 1;
* @return The bytes for requestKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestKeyBytes() {
java.lang.Object ref = requestKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DEPLOYMENT_KEY_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object deploymentKey_ = "";
/**
* string deployment_key = 2;
* @return The deploymentKey.
*/
@java.lang.Override
public java.lang.String getDeploymentKey() {
java.lang.Object ref = deploymentKey_;
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();
deploymentKey_ = s;
return s;
}
}
/**
* string deployment_key = 2;
* @return The bytes for deploymentKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDeploymentKeyBytes() {
java.lang.Object ref = deploymentKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deploymentKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int TIME_STAMP_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp timeStamp_;
/**
* .google.protobuf.Timestamp time_stamp = 3;
* @return Whether the timeStamp field is set.
*/
@java.lang.Override
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
* @return The timeStamp.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getTimeStamp() {
return timeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeStamp_;
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimeStampOrBuilder() {
return timeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeStamp_;
}
public static final int SOURCE_VERB_REF_FIELD_NUMBER = 11;
private xyz.block.ftl.v1.schema.Ref sourceVerbRef_;
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
* @return Whether the sourceVerbRef field is set.
*/
@java.lang.Override
public boolean hasSourceVerbRef() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
* @return The sourceVerbRef.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.Ref getSourceVerbRef() {
return sourceVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : sourceVerbRef_;
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.RefOrBuilder getSourceVerbRefOrBuilder() {
return sourceVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : sourceVerbRef_;
}
public static final int DESTINATION_VERB_REF_FIELD_NUMBER = 12;
private xyz.block.ftl.v1.schema.Ref destinationVerbRef_;
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
* @return Whether the destinationVerbRef field is set.
*/
@java.lang.Override
public boolean hasDestinationVerbRef() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
* @return The destinationVerbRef.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.Ref getDestinationVerbRef() {
return destinationVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : destinationVerbRef_;
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.RefOrBuilder getDestinationVerbRefOrBuilder() {
return destinationVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : destinationVerbRef_;
}
public static final int DURATION_FIELD_NUMBER = 6;
private com.google.protobuf.Duration duration_;
/**
* .google.protobuf.Duration duration = 6;
* @return Whether the duration field is set.
*/
@java.lang.Override
public boolean hasDuration() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .google.protobuf.Duration duration = 6;
* @return The duration.
*/
@java.lang.Override
public com.google.protobuf.Duration getDuration() {
return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
}
/**
* .google.protobuf.Duration duration = 6;
*/
@java.lang.Override
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
}
public static final int REQUEST_FIELD_NUMBER = 7;
@SuppressWarnings("serial")
private volatile java.lang.Object request_ = "";
/**
* string request = 7;
* @return The request.
*/
@java.lang.Override
public java.lang.String getRequest() {
java.lang.Object ref = request_;
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();
request_ = s;
return s;
}
}
/**
* string request = 7;
* @return The bytes for request.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestBytes() {
java.lang.Object ref = request_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
request_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESPONSE_FIELD_NUMBER = 8;
@SuppressWarnings("serial")
private volatile java.lang.Object response_ = "";
/**
* string response = 8;
* @return The response.
*/
@java.lang.Override
public java.lang.String getResponse() {
java.lang.Object ref = response_;
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();
response_ = s;
return s;
}
}
/**
* string response = 8;
* @return The bytes for response.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResponseBytes() {
java.lang.Object ref = response_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
response_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERROR_FIELD_NUMBER = 9;
@SuppressWarnings("serial")
private volatile java.lang.Object error_ = "";
/**
* optional string error = 9;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* optional string error = 9;
* @return The error.
*/
@java.lang.Override
public java.lang.String getError() {
java.lang.Object ref = error_;
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();
error_ = s;
return s;
}
}
/**
* optional string error = 9;
* @return The bytes for error.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STACK_FIELD_NUMBER = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object stack_ = "";
/**
* optional string stack = 10;
* @return Whether the stack field is set.
*/
@java.lang.Override
public boolean hasStack() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* optional string stack = 10;
* @return The stack.
*/
@java.lang.Override
public java.lang.String getStack() {
java.lang.Object ref = stack_;
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();
stack_ = s;
return s;
}
}
/**
* optional string stack = 10;
* @return The bytes for stack.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getStackBytes() {
java.lang.Object ref = stack_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stack_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, requestKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deploymentKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, deploymentKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getTimeStamp());
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(6, getDuration());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(request_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 7, request_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(response_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 8, response_);
}
if (((bitField0_ & 0x00000020) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 9, error_);
}
if (((bitField0_ & 0x00000040) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, stack_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(11, getSourceVerbRef());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(12, getDestinationVerbRef());
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, requestKey_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(deploymentKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, deploymentKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getTimeStamp());
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getDuration());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(request_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, request_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(response_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(8, response_);
}
if (((bitField0_ & 0x00000020) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(9, error_);
}
if (((bitField0_ & 0x00000040) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, stack_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(11, getSourceVerbRef());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getDestinationVerbRef());
}
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 xyz.block.ftl.v1.console.CallEvent)) {
return super.equals(obj);
}
xyz.block.ftl.v1.console.CallEvent other = (xyz.block.ftl.v1.console.CallEvent) obj;
if (hasRequestKey() != other.hasRequestKey()) return false;
if (hasRequestKey()) {
if (!getRequestKey()
.equals(other.getRequestKey())) return false;
}
if (!getDeploymentKey()
.equals(other.getDeploymentKey())) return false;
if (hasTimeStamp() != other.hasTimeStamp()) return false;
if (hasTimeStamp()) {
if (!getTimeStamp()
.equals(other.getTimeStamp())) return false;
}
if (hasSourceVerbRef() != other.hasSourceVerbRef()) return false;
if (hasSourceVerbRef()) {
if (!getSourceVerbRef()
.equals(other.getSourceVerbRef())) return false;
}
if (hasDestinationVerbRef() != other.hasDestinationVerbRef()) return false;
if (hasDestinationVerbRef()) {
if (!getDestinationVerbRef()
.equals(other.getDestinationVerbRef())) return false;
}
if (hasDuration() != other.hasDuration()) return false;
if (hasDuration()) {
if (!getDuration()
.equals(other.getDuration())) return false;
}
if (!getRequest()
.equals(other.getRequest())) return false;
if (!getResponse()
.equals(other.getResponse())) return false;
if (hasError() != other.hasError()) return false;
if (hasError()) {
if (!getError()
.equals(other.getError())) return false;
}
if (hasStack() != other.hasStack()) return false;
if (hasStack()) {
if (!getStack()
.equals(other.getStack())) 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();
if (hasRequestKey()) {
hash = (37 * hash) + REQUEST_KEY_FIELD_NUMBER;
hash = (53 * hash) + getRequestKey().hashCode();
}
hash = (37 * hash) + DEPLOYMENT_KEY_FIELD_NUMBER;
hash = (53 * hash) + getDeploymentKey().hashCode();
if (hasTimeStamp()) {
hash = (37 * hash) + TIME_STAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimeStamp().hashCode();
}
if (hasSourceVerbRef()) {
hash = (37 * hash) + SOURCE_VERB_REF_FIELD_NUMBER;
hash = (53 * hash) + getSourceVerbRef().hashCode();
}
if (hasDestinationVerbRef()) {
hash = (37 * hash) + DESTINATION_VERB_REF_FIELD_NUMBER;
hash = (53 * hash) + getDestinationVerbRef().hashCode();
}
if (hasDuration()) {
hash = (37 * hash) + DURATION_FIELD_NUMBER;
hash = (53 * hash) + getDuration().hashCode();
}
hash = (37 * hash) + REQUEST_FIELD_NUMBER;
hash = (53 * hash) + getRequest().hashCode();
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
if (hasError()) {
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
}
if (hasStack()) {
hash = (37 * hash) + STACK_FIELD_NUMBER;
hash = (53 * hash) + getStack().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static xyz.block.ftl.v1.console.CallEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.console.CallEvent 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 xyz.block.ftl.v1.console.CallEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.console.CallEvent 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 xyz.block.ftl.v1.console.CallEvent parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.console.CallEvent 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(xyz.block.ftl.v1.console.CallEvent 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 xyz.block.ftl.v1.console.CallEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.console.CallEvent)
xyz.block.ftl.v1.console.CallEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_CallEvent_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_CallEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.console.CallEvent.class, xyz.block.ftl.v1.console.CallEvent.Builder.class);
}
// Construct using xyz.block.ftl.v1.console.CallEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getTimeStampFieldBuilder();
getSourceVerbRefFieldBuilder();
getDestinationVerbRefFieldBuilder();
getDurationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
requestKey_ = "";
deploymentKey_ = "";
timeStamp_ = null;
if (timeStampBuilder_ != null) {
timeStampBuilder_.dispose();
timeStampBuilder_ = null;
}
sourceVerbRef_ = null;
if (sourceVerbRefBuilder_ != null) {
sourceVerbRefBuilder_.dispose();
sourceVerbRefBuilder_ = null;
}
destinationVerbRef_ = null;
if (destinationVerbRefBuilder_ != null) {
destinationVerbRefBuilder_.dispose();
destinationVerbRefBuilder_ = null;
}
duration_ = null;
if (durationBuilder_ != null) {
durationBuilder_.dispose();
durationBuilder_ = null;
}
request_ = "";
response_ = "";
error_ = "";
stack_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_CallEvent_descriptor;
}
@java.lang.Override
public xyz.block.ftl.v1.console.CallEvent getDefaultInstanceForType() {
return xyz.block.ftl.v1.console.CallEvent.getDefaultInstance();
}
@java.lang.Override
public xyz.block.ftl.v1.console.CallEvent build() {
xyz.block.ftl.v1.console.CallEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public xyz.block.ftl.v1.console.CallEvent buildPartial() {
xyz.block.ftl.v1.console.CallEvent result = new xyz.block.ftl.v1.console.CallEvent(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(xyz.block.ftl.v1.console.CallEvent result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.requestKey_ = requestKey_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.deploymentKey_ = deploymentKey_;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.timeStamp_ = timeStampBuilder_ == null
? timeStamp_
: timeStampBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.sourceVerbRef_ = sourceVerbRefBuilder_ == null
? sourceVerbRef_
: sourceVerbRefBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.destinationVerbRef_ = destinationVerbRefBuilder_ == null
? destinationVerbRef_
: destinationVerbRefBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.duration_ = durationBuilder_ == null
? duration_
: durationBuilder_.build();
to_bitField0_ |= 0x00000010;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.request_ = request_;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.response_ = response_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.error_ = error_;
to_bitField0_ |= 0x00000020;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.stack_ = stack_;
to_bitField0_ |= 0x00000040;
}
result.bitField0_ |= to_bitField0_;
}
@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 xyz.block.ftl.v1.console.CallEvent) {
return mergeFrom((xyz.block.ftl.v1.console.CallEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(xyz.block.ftl.v1.console.CallEvent other) {
if (other == xyz.block.ftl.v1.console.CallEvent.getDefaultInstance()) return this;
if (other.hasRequestKey()) {
requestKey_ = other.requestKey_;
bitField0_ |= 0x00000001;
onChanged();
}
if (!other.getDeploymentKey().isEmpty()) {
deploymentKey_ = other.deploymentKey_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasTimeStamp()) {
mergeTimeStamp(other.getTimeStamp());
}
if (other.hasSourceVerbRef()) {
mergeSourceVerbRef(other.getSourceVerbRef());
}
if (other.hasDestinationVerbRef()) {
mergeDestinationVerbRef(other.getDestinationVerbRef());
}
if (other.hasDuration()) {
mergeDuration(other.getDuration());
}
if (!other.getRequest().isEmpty()) {
request_ = other.request_;
bitField0_ |= 0x00000040;
onChanged();
}
if (!other.getResponse().isEmpty()) {
response_ = other.response_;
bitField0_ |= 0x00000080;
onChanged();
}
if (other.hasError()) {
error_ = other.error_;
bitField0_ |= 0x00000100;
onChanged();
}
if (other.hasStack()) {
stack_ = other.stack_;
bitField0_ |= 0x00000200;
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: {
requestKey_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
deploymentKey_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getTimeStampFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 50: {
input.readMessage(
getDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000020;
break;
} // case 50
case 58: {
request_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000040;
break;
} // case 58
case 66: {
response_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000080;
break;
} // case 66
case 74: {
error_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 74
case 82: {
stack_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 82
case 90: {
input.readMessage(
getSourceVerbRefFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000008;
break;
} // case 90
case 98: {
input.readMessage(
getDestinationVerbRefFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000010;
break;
} // case 98
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 requestKey_ = "";
/**
* optional string request_key = 1;
* @return Whether the requestKey field is set.
*/
public boolean hasRequestKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string request_key = 1;
* @return The requestKey.
*/
public java.lang.String getRequestKey() {
java.lang.Object ref = requestKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string request_key = 1;
* @return The bytes for requestKey.
*/
public com.google.protobuf.ByteString
getRequestKeyBytes() {
java.lang.Object ref = requestKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string request_key = 1;
* @param value The requestKey to set.
* @return This builder for chaining.
*/
public Builder setRequestKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
requestKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* optional string request_key = 1;
* @return This builder for chaining.
*/
public Builder clearRequestKey() {
requestKey_ = getDefaultInstance().getRequestKey();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* optional string request_key = 1;
* @param value The bytes for requestKey to set.
* @return This builder for chaining.
*/
public Builder setRequestKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
requestKey_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object deploymentKey_ = "";
/**
* string deployment_key = 2;
* @return The deploymentKey.
*/
public java.lang.String getDeploymentKey() {
java.lang.Object ref = deploymentKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
deploymentKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string deployment_key = 2;
* @return The bytes for deploymentKey.
*/
public com.google.protobuf.ByteString
getDeploymentKeyBytes() {
java.lang.Object ref = deploymentKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
deploymentKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string deployment_key = 2;
* @param value The deploymentKey to set.
* @return This builder for chaining.
*/
public Builder setDeploymentKey(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
deploymentKey_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string deployment_key = 2;
* @return This builder for chaining.
*/
public Builder clearDeploymentKey() {
deploymentKey_ = getDefaultInstance().getDeploymentKey();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string deployment_key = 2;
* @param value The bytes for deploymentKey to set.
* @return This builder for chaining.
*/
public Builder setDeploymentKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
deploymentKey_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
private com.google.protobuf.Timestamp timeStamp_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> timeStampBuilder_;
/**
* .google.protobuf.Timestamp time_stamp = 3;
* @return Whether the timeStamp field is set.
*/
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
* @return The timeStamp.
*/
public com.google.protobuf.Timestamp getTimeStamp() {
if (timeStampBuilder_ == null) {
return timeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeStamp_;
} else {
return timeStampBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public Builder setTimeStamp(com.google.protobuf.Timestamp value) {
if (timeStampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeStamp_ = value;
} else {
timeStampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public Builder setTimeStamp(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (timeStampBuilder_ == null) {
timeStamp_ = builderForValue.build();
} else {
timeStampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public Builder mergeTimeStamp(com.google.protobuf.Timestamp value) {
if (timeStampBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
timeStamp_ != null &&
timeStamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getTimeStampBuilder().mergeFrom(value);
} else {
timeStamp_ = value;
}
} else {
timeStampBuilder_.mergeFrom(value);
}
if (timeStamp_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public Builder clearTimeStamp() {
bitField0_ = (bitField0_ & ~0x00000004);
timeStamp_ = null;
if (timeStampBuilder_ != null) {
timeStampBuilder_.dispose();
timeStampBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public com.google.protobuf.Timestamp.Builder getTimeStampBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getTimeStampFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
public com.google.protobuf.TimestampOrBuilder getTimeStampOrBuilder() {
if (timeStampBuilder_ != null) {
return timeStampBuilder_.getMessageOrBuilder();
} else {
return timeStamp_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : timeStamp_;
}
}
/**
* .google.protobuf.Timestamp time_stamp = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getTimeStampFieldBuilder() {
if (timeStampBuilder_ == null) {
timeStampBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getTimeStamp(),
getParentForChildren(),
isClean());
timeStamp_ = null;
}
return timeStampBuilder_;
}
private xyz.block.ftl.v1.schema.Ref sourceVerbRef_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder> sourceVerbRefBuilder_;
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
* @return Whether the sourceVerbRef field is set.
*/
public boolean hasSourceVerbRef() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
* @return The sourceVerbRef.
*/
public xyz.block.ftl.v1.schema.Ref getSourceVerbRef() {
if (sourceVerbRefBuilder_ == null) {
return sourceVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : sourceVerbRef_;
} else {
return sourceVerbRefBuilder_.getMessage();
}
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public Builder setSourceVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (sourceVerbRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sourceVerbRef_ = value;
} else {
sourceVerbRefBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public Builder setSourceVerbRef(
xyz.block.ftl.v1.schema.Ref.Builder builderForValue) {
if (sourceVerbRefBuilder_ == null) {
sourceVerbRef_ = builderForValue.build();
} else {
sourceVerbRefBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public Builder mergeSourceVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (sourceVerbRefBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0) &&
sourceVerbRef_ != null &&
sourceVerbRef_ != xyz.block.ftl.v1.schema.Ref.getDefaultInstance()) {
getSourceVerbRefBuilder().mergeFrom(value);
} else {
sourceVerbRef_ = value;
}
} else {
sourceVerbRefBuilder_.mergeFrom(value);
}
if (sourceVerbRef_ != null) {
bitField0_ |= 0x00000008;
onChanged();
}
return this;
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public Builder clearSourceVerbRef() {
bitField0_ = (bitField0_ & ~0x00000008);
sourceVerbRef_ = null;
if (sourceVerbRefBuilder_ != null) {
sourceVerbRefBuilder_.dispose();
sourceVerbRefBuilder_ = null;
}
onChanged();
return this;
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public xyz.block.ftl.v1.schema.Ref.Builder getSourceVerbRefBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getSourceVerbRefFieldBuilder().getBuilder();
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
public xyz.block.ftl.v1.schema.RefOrBuilder getSourceVerbRefOrBuilder() {
if (sourceVerbRefBuilder_ != null) {
return sourceVerbRefBuilder_.getMessageOrBuilder();
} else {
return sourceVerbRef_ == null ?
xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : sourceVerbRef_;
}
}
/**
* optional .xyz.block.ftl.v1.schema.Ref source_verb_ref = 11;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>
getSourceVerbRefFieldBuilder() {
if (sourceVerbRefBuilder_ == null) {
sourceVerbRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>(
getSourceVerbRef(),
getParentForChildren(),
isClean());
sourceVerbRef_ = null;
}
return sourceVerbRefBuilder_;
}
private xyz.block.ftl.v1.schema.Ref destinationVerbRef_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder> destinationVerbRefBuilder_;
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
* @return Whether the destinationVerbRef field is set.
*/
public boolean hasDestinationVerbRef() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
* @return The destinationVerbRef.
*/
public xyz.block.ftl.v1.schema.Ref getDestinationVerbRef() {
if (destinationVerbRefBuilder_ == null) {
return destinationVerbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : destinationVerbRef_;
} else {
return destinationVerbRefBuilder_.getMessage();
}
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public Builder setDestinationVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (destinationVerbRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
destinationVerbRef_ = value;
} else {
destinationVerbRefBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public Builder setDestinationVerbRef(
xyz.block.ftl.v1.schema.Ref.Builder builderForValue) {
if (destinationVerbRefBuilder_ == null) {
destinationVerbRef_ = builderForValue.build();
} else {
destinationVerbRefBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public Builder mergeDestinationVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (destinationVerbRefBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
destinationVerbRef_ != null &&
destinationVerbRef_ != xyz.block.ftl.v1.schema.Ref.getDefaultInstance()) {
getDestinationVerbRefBuilder().mergeFrom(value);
} else {
destinationVerbRef_ = value;
}
} else {
destinationVerbRefBuilder_.mergeFrom(value);
}
if (destinationVerbRef_ != null) {
bitField0_ |= 0x00000010;
onChanged();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public Builder clearDestinationVerbRef() {
bitField0_ = (bitField0_ & ~0x00000010);
destinationVerbRef_ = null;
if (destinationVerbRefBuilder_ != null) {
destinationVerbRefBuilder_.dispose();
destinationVerbRefBuilder_ = null;
}
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public xyz.block.ftl.v1.schema.Ref.Builder getDestinationVerbRefBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getDestinationVerbRefFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
public xyz.block.ftl.v1.schema.RefOrBuilder getDestinationVerbRefOrBuilder() {
if (destinationVerbRefBuilder_ != null) {
return destinationVerbRefBuilder_.getMessageOrBuilder();
} else {
return destinationVerbRef_ == null ?
xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : destinationVerbRef_;
}
}
/**
* .xyz.block.ftl.v1.schema.Ref destination_verb_ref = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>
getDestinationVerbRefFieldBuilder() {
if (destinationVerbRefBuilder_ == null) {
destinationVerbRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>(
getDestinationVerbRef(),
getParentForChildren(),
isClean());
destinationVerbRef_ = null;
}
return destinationVerbRefBuilder_;
}
private com.google.protobuf.Duration duration_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder> durationBuilder_;
/**
* .google.protobuf.Duration duration = 6;
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000020) != 0);
}
/**
* .google.protobuf.Duration duration = 6;
* @return The duration.
*/
public com.google.protobuf.Duration getDuration() {
if (durationBuilder_ == null) {
return duration_ == null ? com.google.protobuf.Duration.getDefaultInstance() : duration_;
} else {
return durationBuilder_.getMessage();
}
}
/**
* .google.protobuf.Duration duration = 6;
*/
public Builder setDuration(com.google.protobuf.Duration value) {
if (durationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
duration_ = value;
} else {
durationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 6;
*/
public Builder setDuration(
com.google.protobuf.Duration.Builder builderForValue) {
if (durationBuilder_ == null) {
duration_ = builderForValue.build();
} else {
durationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 6;
*/
public Builder mergeDuration(com.google.protobuf.Duration value) {
if (durationBuilder_ == null) {
if (((bitField0_ & 0x00000020) != 0) &&
duration_ != null &&
duration_ != com.google.protobuf.Duration.getDefaultInstance()) {
getDurationBuilder().mergeFrom(value);
} else {
duration_ = value;
}
} else {
durationBuilder_.mergeFrom(value);
}
if (duration_ != null) {
bitField0_ |= 0x00000020;
onChanged();
}
return this;
}
/**
* .google.protobuf.Duration duration = 6;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000020);
duration_ = null;
if (durationBuilder_ != null) {
durationBuilder_.dispose();
durationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 6;
*/
public com.google.protobuf.Duration.Builder getDurationBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getDurationFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Duration duration = 6;
*/
public com.google.protobuf.DurationOrBuilder getDurationOrBuilder() {
if (durationBuilder_ != null) {
return durationBuilder_.getMessageOrBuilder();
} else {
return duration_ == null ?
com.google.protobuf.Duration.getDefaultInstance() : duration_;
}
}
/**
* .google.protobuf.Duration duration = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>
getDurationFieldBuilder() {
if (durationBuilder_ == null) {
durationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Duration, com.google.protobuf.Duration.Builder, com.google.protobuf.DurationOrBuilder>(
getDuration(),
getParentForChildren(),
isClean());
duration_ = null;
}
return durationBuilder_;
}
private java.lang.Object request_ = "";
/**
* string request = 7;
* @return The request.
*/
public java.lang.String getRequest() {
java.lang.Object ref = request_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
request_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string request = 7;
* @return The bytes for request.
*/
public com.google.protobuf.ByteString
getRequestBytes() {
java.lang.Object ref = request_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
request_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request = 7;
* @param value The request to set.
* @return This builder for chaining.
*/
public Builder setRequest(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
request_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* string request = 7;
* @return This builder for chaining.
*/
public Builder clearRequest() {
request_ = getDefaultInstance().getRequest();
bitField0_ = (bitField0_ & ~0x00000040);
onChanged();
return this;
}
/**
* string request = 7;
* @param value The bytes for request to set.
* @return This builder for chaining.
*/
public Builder setRequestBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
request_ = value;
bitField0_ |= 0x00000040;
onChanged();
return this;
}
private java.lang.Object response_ = "";
/**
* string response = 8;
* @return The response.
*/
public java.lang.String getResponse() {
java.lang.Object ref = response_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
response_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string response = 8;
* @return The bytes for response.
*/
public com.google.protobuf.ByteString
getResponseBytes() {
java.lang.Object ref = response_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
response_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string response = 8;
* @param value The response to set.
* @return This builder for chaining.
*/
public Builder setResponse(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
response_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* string response = 8;
* @return This builder for chaining.
*/
public Builder clearResponse() {
response_ = getDefaultInstance().getResponse();
bitField0_ = (bitField0_ & ~0x00000080);
onChanged();
return this;
}
/**
* string response = 8;
* @param value The bytes for response to set.
* @return This builder for chaining.
*/
public Builder setResponseBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
response_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
private java.lang.Object error_ = "";
/**
* optional string error = 9;
* @return Whether the error field is set.
*/
public boolean hasError() {
return ((bitField0_ & 0x00000100) != 0);
}
/**
* optional string error = 9;
* @return The error.
*/
public java.lang.String getError() {
java.lang.Object ref = error_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
error_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string error = 9;
* @return The bytes for error.
*/
public com.google.protobuf.ByteString
getErrorBytes() {
java.lang.Object ref = error_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
error_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string error = 9;
* @param value The error to set.
* @return This builder for chaining.
*/
public Builder setError(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
error_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
/**
* optional string error = 9;
* @return This builder for chaining.
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* optional string error = 9;
* @param value The bytes for error to set.
* @return This builder for chaining.
*/
public Builder setErrorBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
error_ = value;
bitField0_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object stack_ = "";
/**
* optional string stack = 10;
* @return Whether the stack field is set.
*/
public boolean hasStack() {
return ((bitField0_ & 0x00000200) != 0);
}
/**
* optional string stack = 10;
* @return The stack.
*/
public java.lang.String getStack() {
java.lang.Object ref = stack_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
stack_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string stack = 10;
* @return The bytes for stack.
*/
public com.google.protobuf.ByteString
getStackBytes() {
java.lang.Object ref = stack_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
stack_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* optional string stack = 10;
* @param value The stack to set.
* @return This builder for chaining.
*/
public Builder setStack(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
stack_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* optional string stack = 10;
* @return This builder for chaining.
*/
public Builder clearStack() {
stack_ = getDefaultInstance().getStack();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* optional string stack = 10;
* @param value The bytes for stack to set.
* @return This builder for chaining.
*/
public Builder setStackBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
stack_ = value;
bitField0_ |= 0x00000200;
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:xyz.block.ftl.v1.console.CallEvent)
}
// @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.console.CallEvent)
private static final xyz.block.ftl.v1.console.CallEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new xyz.block.ftl.v1.console.CallEvent();
}
public static xyz.block.ftl.v1.console.CallEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CallEvent 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 xyz.block.ftl.v1.console.CallEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}