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.IngressEvent 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.IngressEvent}
*/
public final class IngressEvent extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:xyz.block.ftl.v1.console.IngressEvent)
IngressEventOrBuilder {
private static final long serialVersionUID = 0L;
// Use IngressEvent.newBuilder() to construct.
private IngressEvent(com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private IngressEvent() {
deploymentKey_ = "";
requestKey_ = "";
method_ = "";
path_ = "";
request_ = "";
requestHeader_ = "";
response_ = "";
responseHeader_ = "";
error_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new IngressEvent();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_IngressEvent_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_IngressEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.console.IngressEvent.class, xyz.block.ftl.v1.console.IngressEvent.Builder.class);
}
private int bitField0_;
public static final int DEPLOYMENT_KEY_FIELD_NUMBER = 1;
@SuppressWarnings("serial")
private volatile java.lang.Object deploymentKey_ = "";
/**
* string deployment_key = 1;
* @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 = 1;
* @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 REQUEST_KEY_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object requestKey_ = "";
/**
* optional string request_key = 2;
* @return Whether the requestKey field is set.
*/
@java.lang.Override
public boolean hasRequestKey() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional string request_key = 2;
* @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 = 2;
* @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 VERB_REF_FIELD_NUMBER = 3;
private xyz.block.ftl.v1.schema.Ref verbRef_;
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
* @return Whether the verbRef field is set.
*/
@java.lang.Override
public boolean hasVerbRef() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
* @return The verbRef.
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.Ref getVerbRef() {
return verbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verbRef_;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
@java.lang.Override
public xyz.block.ftl.v1.schema.RefOrBuilder getVerbRefOrBuilder() {
return verbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verbRef_;
}
public static final int METHOD_FIELD_NUMBER = 4;
@SuppressWarnings("serial")
private volatile java.lang.Object method_ = "";
/**
* string method = 4;
* @return The method.
*/
@java.lang.Override
public java.lang.String getMethod() {
java.lang.Object ref = method_;
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();
method_ = s;
return s;
}
}
/**
* string method = 4;
* @return The bytes for method.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getMethodBytes() {
java.lang.Object ref = method_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
method_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int PATH_FIELD_NUMBER = 5;
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
/**
* string path = 5;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
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();
path_ = s;
return s;
}
}
/**
* string path = 5;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int STATUS_CODE_FIELD_NUMBER = 7;
private int statusCode_ = 0;
/**
* int32 status_code = 7;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
public static final int TIME_STAMP_FIELD_NUMBER = 8;
private com.google.protobuf.Timestamp timeStamp_;
/**
* .google.protobuf.Timestamp time_stamp = 8;
* @return Whether the timeStamp field is set.
*/
@java.lang.Override
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
* @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 = 8;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getTimeStampOrBuilder() {
return timeStamp_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : timeStamp_;
}
public static final int DURATION_FIELD_NUMBER = 9;
private com.google.protobuf.Duration duration_;
/**
* .google.protobuf.Duration duration = 9;
* @return Whether the duration field is set.
*/
@java.lang.Override
public boolean hasDuration() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
* .google.protobuf.Duration duration = 9;
* @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 = 9;
*/
@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 = 10;
@SuppressWarnings("serial")
private volatile java.lang.Object request_ = "";
/**
* string request = 10;
* @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 = 10;
* @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 REQUEST_HEADER_FIELD_NUMBER = 11;
@SuppressWarnings("serial")
private volatile java.lang.Object requestHeader_ = "";
/**
* string request_header = 11;
* @return The requestHeader.
*/
@java.lang.Override
public java.lang.String getRequestHeader() {
java.lang.Object ref = requestHeader_;
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();
requestHeader_ = s;
return s;
}
}
/**
* string request_header = 11;
* @return The bytes for requestHeader.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getRequestHeaderBytes() {
java.lang.Object ref = requestHeader_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestHeader_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int RESPONSE_FIELD_NUMBER = 12;
@SuppressWarnings("serial")
private volatile java.lang.Object response_ = "";
/**
* string response = 12;
* @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 = 12;
* @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 RESPONSE_HEADER_FIELD_NUMBER = 13;
@SuppressWarnings("serial")
private volatile java.lang.Object responseHeader_ = "";
/**
* string response_header = 13;
* @return The responseHeader.
*/
@java.lang.Override
public java.lang.String getResponseHeader() {
java.lang.Object ref = responseHeader_;
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();
responseHeader_ = s;
return s;
}
}
/**
* string response_header = 13;
* @return The bytes for responseHeader.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getResponseHeaderBytes() {
java.lang.Object ref = responseHeader_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseHeader_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ERROR_FIELD_NUMBER = 14;
@SuppressWarnings("serial")
private volatile java.lang.Object error_ = "";
/**
* optional string error = 14;
* @return Whether the error field is set.
*/
@java.lang.Override
public boolean hasError() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
* optional string error = 14;
* @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 = 14;
* @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;
}
}
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(deploymentKey_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, deploymentKey_);
}
if (((bitField0_ & 0x00000001) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, requestKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeMessage(3, getVerbRef());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 4, method_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 5, path_);
}
if (statusCode_ != 0) {
output.writeInt32(7, statusCode_);
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeMessage(8, getTimeStamp());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeMessage(9, getDuration());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(request_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 10, request_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestHeader_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 11, requestHeader_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(response_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 12, response_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseHeader_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 13, responseHeader_);
}
if (((bitField0_ & 0x00000010) != 0)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 14, error_);
}
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(deploymentKey_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, deploymentKey_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, requestKey_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getVerbRef());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(method_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, method_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(5, path_);
}
if (statusCode_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeInt32Size(7, statusCode_);
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getTimeStamp());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(9, getDuration());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(request_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, request_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(requestHeader_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, requestHeader_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(response_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(12, response_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(responseHeader_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(13, responseHeader_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(14, error_);
}
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.IngressEvent)) {
return super.equals(obj);
}
xyz.block.ftl.v1.console.IngressEvent other = (xyz.block.ftl.v1.console.IngressEvent) obj;
if (!getDeploymentKey()
.equals(other.getDeploymentKey())) return false;
if (hasRequestKey() != other.hasRequestKey()) return false;
if (hasRequestKey()) {
if (!getRequestKey()
.equals(other.getRequestKey())) return false;
}
if (hasVerbRef() != other.hasVerbRef()) return false;
if (hasVerbRef()) {
if (!getVerbRef()
.equals(other.getVerbRef())) return false;
}
if (!getMethod()
.equals(other.getMethod())) return false;
if (!getPath()
.equals(other.getPath())) return false;
if (getStatusCode()
!= other.getStatusCode()) return false;
if (hasTimeStamp() != other.hasTimeStamp()) return false;
if (hasTimeStamp()) {
if (!getTimeStamp()
.equals(other.getTimeStamp())) 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 (!getRequestHeader()
.equals(other.getRequestHeader())) return false;
if (!getResponse()
.equals(other.getResponse())) return false;
if (!getResponseHeader()
.equals(other.getResponseHeader())) return false;
if (hasError() != other.hasError()) return false;
if (hasError()) {
if (!getError()
.equals(other.getError())) 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) + DEPLOYMENT_KEY_FIELD_NUMBER;
hash = (53 * hash) + getDeploymentKey().hashCode();
if (hasRequestKey()) {
hash = (37 * hash) + REQUEST_KEY_FIELD_NUMBER;
hash = (53 * hash) + getRequestKey().hashCode();
}
if (hasVerbRef()) {
hash = (37 * hash) + VERB_REF_FIELD_NUMBER;
hash = (53 * hash) + getVerbRef().hashCode();
}
hash = (37 * hash) + METHOD_FIELD_NUMBER;
hash = (53 * hash) + getMethod().hashCode();
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + STATUS_CODE_FIELD_NUMBER;
hash = (53 * hash) + getStatusCode();
if (hasTimeStamp()) {
hash = (37 * hash) + TIME_STAMP_FIELD_NUMBER;
hash = (53 * hash) + getTimeStamp().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) + REQUEST_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getRequestHeader().hashCode();
hash = (37 * hash) + RESPONSE_FIELD_NUMBER;
hash = (53 * hash) + getResponse().hashCode();
hash = (37 * hash) + RESPONSE_HEADER_FIELD_NUMBER;
hash = (53 * hash) + getResponseHeader().hashCode();
if (hasError()) {
hash = (37 * hash) + ERROR_FIELD_NUMBER;
hash = (53 * hash) + getError().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static xyz.block.ftl.v1.console.IngressEvent parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.IngressEvent 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.IngressEvent parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.IngressEvent 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.IngressEvent parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static xyz.block.ftl.v1.console.IngressEvent 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.IngressEvent parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.console.IngressEvent 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.IngressEvent parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static xyz.block.ftl.v1.console.IngressEvent 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.IngressEvent 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.IngressEvent 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.IngressEvent 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.IngressEvent}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:xyz.block.ftl.v1.console.IngressEvent)
xyz.block.ftl.v1.console.IngressEventOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return xyz.block.ftl.v1.console.Console.internal_static_xyz_block_ftl_v1_console_IngressEvent_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_IngressEvent_fieldAccessorTable
.ensureFieldAccessorsInitialized(
xyz.block.ftl.v1.console.IngressEvent.class, xyz.block.ftl.v1.console.IngressEvent.Builder.class);
}
// Construct using xyz.block.ftl.v1.console.IngressEvent.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getVerbRefFieldBuilder();
getTimeStampFieldBuilder();
getDurationFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
deploymentKey_ = "";
requestKey_ = "";
verbRef_ = null;
if (verbRefBuilder_ != null) {
verbRefBuilder_.dispose();
verbRefBuilder_ = null;
}
method_ = "";
path_ = "";
statusCode_ = 0;
timeStamp_ = null;
if (timeStampBuilder_ != null) {
timeStampBuilder_.dispose();
timeStampBuilder_ = null;
}
duration_ = null;
if (durationBuilder_ != null) {
durationBuilder_.dispose();
durationBuilder_ = null;
}
request_ = "";
requestHeader_ = "";
response_ = "";
responseHeader_ = "";
error_ = "";
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_IngressEvent_descriptor;
}
@java.lang.Override
public xyz.block.ftl.v1.console.IngressEvent getDefaultInstanceForType() {
return xyz.block.ftl.v1.console.IngressEvent.getDefaultInstance();
}
@java.lang.Override
public xyz.block.ftl.v1.console.IngressEvent build() {
xyz.block.ftl.v1.console.IngressEvent result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public xyz.block.ftl.v1.console.IngressEvent buildPartial() {
xyz.block.ftl.v1.console.IngressEvent result = new xyz.block.ftl.v1.console.IngressEvent(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(xyz.block.ftl.v1.console.IngressEvent result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.deploymentKey_ = deploymentKey_;
}
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000002) != 0)) {
result.requestKey_ = requestKey_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.verbRef_ = verbRefBuilder_ == null
? verbRef_
: verbRefBuilder_.build();
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.method_ = method_;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.path_ = path_;
}
if (((from_bitField0_ & 0x00000020) != 0)) {
result.statusCode_ = statusCode_;
}
if (((from_bitField0_ & 0x00000040) != 0)) {
result.timeStamp_ = timeStampBuilder_ == null
? timeStamp_
: timeStampBuilder_.build();
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000080) != 0)) {
result.duration_ = durationBuilder_ == null
? duration_
: durationBuilder_.build();
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
result.request_ = request_;
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.requestHeader_ = requestHeader_;
}
if (((from_bitField0_ & 0x00000400) != 0)) {
result.response_ = response_;
}
if (((from_bitField0_ & 0x00000800) != 0)) {
result.responseHeader_ = responseHeader_;
}
if (((from_bitField0_ & 0x00001000) != 0)) {
result.error_ = error_;
to_bitField0_ |= 0x00000010;
}
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.IngressEvent) {
return mergeFrom((xyz.block.ftl.v1.console.IngressEvent)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(xyz.block.ftl.v1.console.IngressEvent other) {
if (other == xyz.block.ftl.v1.console.IngressEvent.getDefaultInstance()) return this;
if (!other.getDeploymentKey().isEmpty()) {
deploymentKey_ = other.deploymentKey_;
bitField0_ |= 0x00000001;
onChanged();
}
if (other.hasRequestKey()) {
requestKey_ = other.requestKey_;
bitField0_ |= 0x00000002;
onChanged();
}
if (other.hasVerbRef()) {
mergeVerbRef(other.getVerbRef());
}
if (!other.getMethod().isEmpty()) {
method_ = other.method_;
bitField0_ |= 0x00000008;
onChanged();
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
bitField0_ |= 0x00000010;
onChanged();
}
if (other.getStatusCode() != 0) {
setStatusCode(other.getStatusCode());
}
if (other.hasTimeStamp()) {
mergeTimeStamp(other.getTimeStamp());
}
if (other.hasDuration()) {
mergeDuration(other.getDuration());
}
if (!other.getRequest().isEmpty()) {
request_ = other.request_;
bitField0_ |= 0x00000100;
onChanged();
}
if (!other.getRequestHeader().isEmpty()) {
requestHeader_ = other.requestHeader_;
bitField0_ |= 0x00000200;
onChanged();
}
if (!other.getResponse().isEmpty()) {
response_ = other.response_;
bitField0_ |= 0x00000400;
onChanged();
}
if (!other.getResponseHeader().isEmpty()) {
responseHeader_ = other.responseHeader_;
bitField0_ |= 0x00000800;
onChanged();
}
if (other.hasError()) {
error_ = other.error_;
bitField0_ |= 0x00001000;
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: {
deploymentKey_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
requestKey_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
case 26: {
input.readMessage(
getVerbRefFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000004;
break;
} // case 26
case 34: {
method_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000008;
break;
} // case 34
case 42: {
path_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000010;
break;
} // case 42
case 56: {
statusCode_ = input.readInt32();
bitField0_ |= 0x00000020;
break;
} // case 56
case 66: {
input.readMessage(
getTimeStampFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000040;
break;
} // case 66
case 74: {
input.readMessage(
getDurationFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000080;
break;
} // case 74
case 82: {
request_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000100;
break;
} // case 82
case 90: {
requestHeader_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000200;
break;
} // case 90
case 98: {
response_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000400;
break;
} // case 98
case 106: {
responseHeader_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000800;
break;
} // case 106
case 114: {
error_ = input.readStringRequireUtf8();
bitField0_ |= 0x00001000;
break;
} // case 114
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 deploymentKey_ = "";
/**
* string deployment_key = 1;
* @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 = 1;
* @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 = 1;
* @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_ |= 0x00000001;
onChanged();
return this;
}
/**
* string deployment_key = 1;
* @return This builder for chaining.
*/
public Builder clearDeploymentKey() {
deploymentKey_ = getDefaultInstance().getDeploymentKey();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* string deployment_key = 1;
* @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_ |= 0x00000001;
onChanged();
return this;
}
private java.lang.Object requestKey_ = "";
/**
* optional string request_key = 2;
* @return Whether the requestKey field is set.
*/
public boolean hasRequestKey() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional string request_key = 2;
* @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 = 2;
* @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 = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
/**
* optional string request_key = 2;
* @return This builder for chaining.
*/
public Builder clearRequestKey() {
requestKey_ = getDefaultInstance().getRequestKey();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* optional string request_key = 2;
* @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_ |= 0x00000002;
onChanged();
return this;
}
private xyz.block.ftl.v1.schema.Ref verbRef_;
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder> verbRefBuilder_;
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
* @return Whether the verbRef field is set.
*/
public boolean hasVerbRef() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
* @return The verbRef.
*/
public xyz.block.ftl.v1.schema.Ref getVerbRef() {
if (verbRefBuilder_ == null) {
return verbRef_ == null ? xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verbRef_;
} else {
return verbRefBuilder_.getMessage();
}
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public Builder setVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (verbRefBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
verbRef_ = value;
} else {
verbRefBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public Builder setVerbRef(
xyz.block.ftl.v1.schema.Ref.Builder builderForValue) {
if (verbRefBuilder_ == null) {
verbRef_ = builderForValue.build();
} else {
verbRefBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public Builder mergeVerbRef(xyz.block.ftl.v1.schema.Ref value) {
if (verbRefBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0) &&
verbRef_ != null &&
verbRef_ != xyz.block.ftl.v1.schema.Ref.getDefaultInstance()) {
getVerbRefBuilder().mergeFrom(value);
} else {
verbRef_ = value;
}
} else {
verbRefBuilder_.mergeFrom(value);
}
if (verbRef_ != null) {
bitField0_ |= 0x00000004;
onChanged();
}
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public Builder clearVerbRef() {
bitField0_ = (bitField0_ & ~0x00000004);
verbRef_ = null;
if (verbRefBuilder_ != null) {
verbRefBuilder_.dispose();
verbRefBuilder_ = null;
}
onChanged();
return this;
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public xyz.block.ftl.v1.schema.Ref.Builder getVerbRefBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getVerbRefFieldBuilder().getBuilder();
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
public xyz.block.ftl.v1.schema.RefOrBuilder getVerbRefOrBuilder() {
if (verbRefBuilder_ != null) {
return verbRefBuilder_.getMessageOrBuilder();
} else {
return verbRef_ == null ?
xyz.block.ftl.v1.schema.Ref.getDefaultInstance() : verbRef_;
}
}
/**
* .xyz.block.ftl.v1.schema.Ref verb_ref = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>
getVerbRefFieldBuilder() {
if (verbRefBuilder_ == null) {
verbRefBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
xyz.block.ftl.v1.schema.Ref, xyz.block.ftl.v1.schema.Ref.Builder, xyz.block.ftl.v1.schema.RefOrBuilder>(
getVerbRef(),
getParentForChildren(),
isClean());
verbRef_ = null;
}
return verbRefBuilder_;
}
private java.lang.Object method_ = "";
/**
* string method = 4;
* @return The method.
*/
public java.lang.String getMethod() {
java.lang.Object ref = method_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
method_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string method = 4;
* @return The bytes for method.
*/
public com.google.protobuf.ByteString
getMethodBytes() {
java.lang.Object ref = method_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
method_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string method = 4;
* @param value The method to set.
* @return This builder for chaining.
*/
public Builder setMethod(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
method_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
/**
* string method = 4;
* @return This builder for chaining.
*/
public Builder clearMethod() {
method_ = getDefaultInstance().getMethod();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* string method = 4;
* @param value The bytes for method to set.
* @return This builder for chaining.
*/
public Builder setMethodBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
method_ = value;
bitField0_ |= 0x00000008;
onChanged();
return this;
}
private java.lang.Object path_ = "";
/**
* string path = 5;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 5;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 5;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
path_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
/**
* string path = 5;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* string path = 5;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
private int statusCode_ ;
/**
* int32 status_code = 7;
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
/**
* int32 status_code = 7;
* @param value The statusCode to set.
* @return This builder for chaining.
*/
public Builder setStatusCode(int value) {
statusCode_ = value;
bitField0_ |= 0x00000020;
onChanged();
return this;
}
/**
* int32 status_code = 7;
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
bitField0_ = (bitField0_ & ~0x00000020);
statusCode_ = 0;
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 = 8;
* @return Whether the timeStamp field is set.
*/
public boolean hasTimeStamp() {
return ((bitField0_ & 0x00000040) != 0);
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
* @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 = 8;
*/
public Builder setTimeStamp(com.google.protobuf.Timestamp value) {
if (timeStampBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timeStamp_ = value;
} else {
timeStampBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
*/
public Builder setTimeStamp(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (timeStampBuilder_ == null) {
timeStamp_ = builderForValue.build();
} else {
timeStampBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
*/
public Builder mergeTimeStamp(com.google.protobuf.Timestamp value) {
if (timeStampBuilder_ == null) {
if (((bitField0_ & 0x00000040) != 0) &&
timeStamp_ != null &&
timeStamp_ != com.google.protobuf.Timestamp.getDefaultInstance()) {
getTimeStampBuilder().mergeFrom(value);
} else {
timeStamp_ = value;
}
} else {
timeStampBuilder_.mergeFrom(value);
}
if (timeStamp_ != null) {
bitField0_ |= 0x00000040;
onChanged();
}
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
*/
public Builder clearTimeStamp() {
bitField0_ = (bitField0_ & ~0x00000040);
timeStamp_ = null;
if (timeStampBuilder_ != null) {
timeStampBuilder_.dispose();
timeStampBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
*/
public com.google.protobuf.Timestamp.Builder getTimeStampBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getTimeStampFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp time_stamp = 8;
*/
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 = 8;
*/
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 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 = 9;
* @return Whether the duration field is set.
*/
public boolean hasDuration() {
return ((bitField0_ & 0x00000080) != 0);
}
/**
* .google.protobuf.Duration duration = 9;
* @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 = 9;
*/
public Builder setDuration(com.google.protobuf.Duration value) {
if (durationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
duration_ = value;
} else {
durationBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 9;
*/
public Builder setDuration(
com.google.protobuf.Duration.Builder builderForValue) {
if (durationBuilder_ == null) {
duration_ = builderForValue.build();
} else {
durationBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 9;
*/
public Builder mergeDuration(com.google.protobuf.Duration value) {
if (durationBuilder_ == null) {
if (((bitField0_ & 0x00000080) != 0) &&
duration_ != null &&
duration_ != com.google.protobuf.Duration.getDefaultInstance()) {
getDurationBuilder().mergeFrom(value);
} else {
duration_ = value;
}
} else {
durationBuilder_.mergeFrom(value);
}
if (duration_ != null) {
bitField0_ |= 0x00000080;
onChanged();
}
return this;
}
/**
* .google.protobuf.Duration duration = 9;
*/
public Builder clearDuration() {
bitField0_ = (bitField0_ & ~0x00000080);
duration_ = null;
if (durationBuilder_ != null) {
durationBuilder_.dispose();
durationBuilder_ = null;
}
onChanged();
return this;
}
/**
* .google.protobuf.Duration duration = 9;
*/
public com.google.protobuf.Duration.Builder getDurationBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getDurationFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Duration duration = 9;
*/
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 = 9;
*/
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 = 10;
* @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 = 10;
* @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 = 10;
* @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_ |= 0x00000100;
onChanged();
return this;
}
/**
* string request = 10;
* @return This builder for chaining.
*/
public Builder clearRequest() {
request_ = getDefaultInstance().getRequest();
bitField0_ = (bitField0_ & ~0x00000100);
onChanged();
return this;
}
/**
* string request = 10;
* @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_ |= 0x00000100;
onChanged();
return this;
}
private java.lang.Object requestHeader_ = "";
/**
* string request_header = 11;
* @return The requestHeader.
*/
public java.lang.String getRequestHeader() {
java.lang.Object ref = requestHeader_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestHeader_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string request_header = 11;
* @return The bytes for requestHeader.
*/
public com.google.protobuf.ByteString
getRequestHeaderBytes() {
java.lang.Object ref = requestHeader_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
requestHeader_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string request_header = 11;
* @param value The requestHeader to set.
* @return This builder for chaining.
*/
public Builder setRequestHeader(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
requestHeader_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
/**
* string request_header = 11;
* @return This builder for chaining.
*/
public Builder clearRequestHeader() {
requestHeader_ = getDefaultInstance().getRequestHeader();
bitField0_ = (bitField0_ & ~0x00000200);
onChanged();
return this;
}
/**
* string request_header = 11;
* @param value The bytes for requestHeader to set.
* @return This builder for chaining.
*/
public Builder setRequestHeaderBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
requestHeader_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
private java.lang.Object response_ = "";
/**
* string response = 12;
* @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 = 12;
* @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 = 12;
* @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_ |= 0x00000400;
onChanged();
return this;
}
/**
* string response = 12;
* @return This builder for chaining.
*/
public Builder clearResponse() {
response_ = getDefaultInstance().getResponse();
bitField0_ = (bitField0_ & ~0x00000400);
onChanged();
return this;
}
/**
* string response = 12;
* @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_ |= 0x00000400;
onChanged();
return this;
}
private java.lang.Object responseHeader_ = "";
/**
* string response_header = 13;
* @return The responseHeader.
*/
public java.lang.String getResponseHeader() {
java.lang.Object ref = responseHeader_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
responseHeader_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string response_header = 13;
* @return The bytes for responseHeader.
*/
public com.google.protobuf.ByteString
getResponseHeaderBytes() {
java.lang.Object ref = responseHeader_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
responseHeader_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string response_header = 13;
* @param value The responseHeader to set.
* @return This builder for chaining.
*/
public Builder setResponseHeader(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
responseHeader_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
/**
* string response_header = 13;
* @return This builder for chaining.
*/
public Builder clearResponseHeader() {
responseHeader_ = getDefaultInstance().getResponseHeader();
bitField0_ = (bitField0_ & ~0x00000800);
onChanged();
return this;
}
/**
* string response_header = 13;
* @param value The bytes for responseHeader to set.
* @return This builder for chaining.
*/
public Builder setResponseHeaderBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
responseHeader_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
private java.lang.Object error_ = "";
/**
* optional string error = 14;
* @return Whether the error field is set.
*/
public boolean hasError() {
return ((bitField0_ & 0x00001000) != 0);
}
/**
* optional string error = 14;
* @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 = 14;
* @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 = 14;
* @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_ |= 0x00001000;
onChanged();
return this;
}
/**
* optional string error = 14;
* @return This builder for chaining.
*/
public Builder clearError() {
error_ = getDefaultInstance().getError();
bitField0_ = (bitField0_ & ~0x00001000);
onChanged();
return this;
}
/**
* optional string error = 14;
* @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_ |= 0x00001000;
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.IngressEvent)
}
// @@protoc_insertion_point(class_scope:xyz.block.ftl.v1.console.IngressEvent)
private static final xyz.block.ftl.v1.console.IngressEvent DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new xyz.block.ftl.v1.console.IngressEvent();
}
public static xyz.block.ftl.v1.console.IngressEvent getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public IngressEvent 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.IngressEvent getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}