diff --git a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParam.java b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParam.java
index 92b9d62ac1..aa3413cf0b 100644
--- a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParam.java
+++ b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParam.java
@@ -1,31 +1,32 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: threat_detection/message/http_response_param/v1/http_response_param.proto
-// Protobuf Java Version: 4.28.3
+// Protobuf Java Version: 4.29.2
package com.akto.proto.http_response_param.v1;
-/**
- * Protobuf type {@code threat_detection.message.http_response_param.v1.HttpResponseParam}
- */
-public final class HttpResponseParam extends
- com.google.protobuf.GeneratedMessage implements
+/** Protobuf type {@code threat_detection.message.http_response_param.v1.HttpResponseParam} */
+public final class HttpResponseParam extends com.google.protobuf.GeneratedMessage
+ implements
// @@protoc_insertion_point(message_implements:threat_detection.message.http_response_param.v1.HttpResponseParam)
HttpResponseParamOrBuilder {
-private static final long serialVersionUID = 0L;
+ private static final long serialVersionUID = 0L;
+
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 28,
- /* patch= */ 3,
- /* suffix= */ "",
- HttpResponseParam.class.getName());
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ HttpResponseParam.class.getName());
}
+
// Use HttpResponseParam.newBuilder() to construct.
private HttpResponseParam(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
+
private HttpResponseParam() {
method_ = "";
path_ = "";
@@ -41,9 +42,9 @@ private HttpResponseParam() {
aktoVxlanId_ = "";
}
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -56,23 +57,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
case 9:
return internalGetResponseHeaders();
default:
- throw new RuntimeException(
- "Invalid map field number: " + number);
+ throw new RuntimeException("Invalid map field number: " + number);
}
}
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.akto.proto.http_response_param.v1.HttpResponseParam.class, com.akto.proto.http_response_param.v1.HttpResponseParam.Builder.class);
+ com.akto.proto.http_response_param.v1.HttpResponseParam.class,
+ com.akto.proto.http_response_param.v1.HttpResponseParam.Builder.class);
}
public static final int METHOD_FIELD_NUMBER = 1;
+
@SuppressWarnings("serial")
private volatile java.lang.Object method_ = "";
+
/**
* string method = 1 [json_name = "method"];
+ *
* @return The method.
*/
@java.lang.Override
@@ -81,25 +87,24 @@ public java.lang.String getMethod() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
method_ = s;
return s;
}
}
+
/**
* string method = 1 [json_name = "method"];
+ *
* @return The bytes for method.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getMethodBytes() {
+ 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);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
method_ = b;
return b;
} else {
@@ -108,10 +113,13 @@ public java.lang.String getMethod() {
}
public static final int PATH_FIELD_NUMBER = 2;
+
@SuppressWarnings("serial")
private volatile java.lang.Object path_ = "";
+
/**
* string path = 2 [json_name = "path"];
+ *
* @return The path.
*/
@java.lang.Override
@@ -120,25 +128,24 @@ public java.lang.String getPath() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
+
/**
* string path = 2 [json_name = "path"];
+ *
* @return The bytes for path.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getPathBytes() {
+ 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);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
path_ = b;
return b;
} else {
@@ -147,10 +154,13 @@ public java.lang.String getPath() {
}
public static final int TYPE_FIELD_NUMBER = 3;
+
@SuppressWarnings("serial")
private volatile java.lang.Object type_ = "";
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return The type.
*/
@java.lang.Override
@@ -159,25 +169,24 @@ public java.lang.String getType() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
}
}
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return The bytes for type.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getTypeBytes() {
+ public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
type_ = b;
return b;
} else {
@@ -186,76 +195,102 @@ public java.lang.String getType() {
}
public static final int REQUEST_HEADERS_FIELD_NUMBER = 4;
+
private static final class RequestHeadersDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
- java.lang.String, com.akto.proto.http_response_param.v1.StringList> defaultEntry =
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ defaultEntry =
com.google.protobuf.MapEntry
- .newDefaultInstance(
- com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor,
- com.google.protobuf.WireFormat.FieldType.STRING,
- "",
- com.google.protobuf.WireFormat.FieldType.MESSAGE,
- com.akto.proto.http_response_param.v1.StringList.getDefaultInstance());
+ .
+ newDefaultInstance(
+ com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.akto.proto.http_response_param.v1.StringList.getDefaultInstance());
}
+
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
- java.lang.String, com.akto.proto.http_response_param.v1.StringList> requestHeaders_;
- private com.google.protobuf.MapField
- internalGetRequestHeaders() {
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ requestHeaders_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ internalGetRequestHeaders() {
if (requestHeaders_ == null) {
return com.google.protobuf.MapField.emptyMapField(
RequestHeadersDefaultEntryHolder.defaultEntry);
}
return requestHeaders_;
}
+
public int getRequestHeadersCount() {
return internalGetRequestHeaders().getMap().size();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public boolean containsRequestHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ public boolean containsRequestHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
return internalGetRequestHeaders().getMap().containsKey(key);
}
- /**
- * Use {@link #getRequestHeadersMap()} instead.
- */
+
+ /** Use {@link #getRequestHeadersMap()} instead. */
@java.lang.Override
@java.lang.Deprecated
- public java.util.Map getRequestHeaders() {
+ public java.util.Map
+ getRequestHeaders() {
return getRequestHeadersMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public java.util.Map getRequestHeadersMap() {
+ public java.util.Map
+ getRequestHeadersMap() {
return internalGetRequestHeaders().getMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public /* nullable */
-com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrDefault(
+ public /* nullable */ com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrDefault(
java.lang.String key,
/* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ com.akto.proto.http_response_param.v1.StringList defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
java.util.Map map =
internalGetRequestHeaders().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
public com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
java.util.Map map =
internalGetRequestHeaders().getMap();
if (!map.containsKey(key)) {
@@ -265,10 +300,13 @@ public com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrThrow
}
public static final int REQUEST_PAYLOAD_FIELD_NUMBER = 5;
+
@SuppressWarnings("serial")
private volatile java.lang.Object requestPayload_ = "";
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The requestPayload.
*/
@java.lang.Override
@@ -277,25 +315,24 @@ public java.lang.String getRequestPayload() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestPayload_ = s;
return s;
}
}
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The bytes for requestPayload.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getRequestPayloadBytes() {
+ public com.google.protobuf.ByteString getRequestPayloadBytes() {
java.lang.Object ref = requestPayload_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
requestPayload_ = b;
return b;
} else {
@@ -305,8 +342,10 @@ public java.lang.String getRequestPayload() {
public static final int API_COLLECTION_ID_FIELD_NUMBER = 6;
private int apiCollectionId_ = 0;
+
/**
* int32 api_collection_id = 6 [json_name = "apiCollectionId"];
+ *
* @return The apiCollectionId.
*/
@java.lang.Override
@@ -316,8 +355,10 @@ public int getApiCollectionId() {
public static final int STATUS_CODE_FIELD_NUMBER = 7;
private int statusCode_ = 0;
+
/**
* int32 status_code = 7 [json_name = "statusCode"];
+ *
* @return The statusCode.
*/
@java.lang.Override
@@ -326,10 +367,13 @@ public int getStatusCode() {
}
public static final int STATUS_FIELD_NUMBER = 8;
+
@SuppressWarnings("serial")
private volatile java.lang.Object status_ = "";
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return The status.
*/
@java.lang.Override
@@ -338,25 +382,24 @@ public java.lang.String getStatus() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
}
}
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return The bytes for status.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getStatusBytes() {
+ public com.google.protobuf.ByteString getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
status_ = b;
return b;
} else {
@@ -365,76 +408,103 @@ public java.lang.String getStatus() {
}
public static final int RESPONSE_HEADERS_FIELD_NUMBER = 9;
+
private static final class ResponseHeadersDefaultEntryHolder {
static final com.google.protobuf.MapEntry<
- java.lang.String, com.akto.proto.http_response_param.v1.StringList> defaultEntry =
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ defaultEntry =
com.google.protobuf.MapEntry
- .newDefaultInstance(
- com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor,
- com.google.protobuf.WireFormat.FieldType.STRING,
- "",
- com.google.protobuf.WireFormat.FieldType.MESSAGE,
- com.akto.proto.http_response_param.v1.StringList.getDefaultInstance());
+ .
+ newDefaultInstance(
+ com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor,
+ com.google.protobuf.WireFormat.FieldType.STRING,
+ "",
+ com.google.protobuf.WireFormat.FieldType.MESSAGE,
+ com.akto.proto.http_response_param.v1.StringList.getDefaultInstance());
}
+
@SuppressWarnings("serial")
private com.google.protobuf.MapField<
- java.lang.String, com.akto.proto.http_response_param.v1.StringList> responseHeaders_;
- private com.google.protobuf.MapField
- internalGetResponseHeaders() {
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ responseHeaders_;
+
+ private com.google.protobuf.MapField<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ internalGetResponseHeaders() {
if (responseHeaders_ == null) {
return com.google.protobuf.MapField.emptyMapField(
ResponseHeadersDefaultEntryHolder.defaultEntry);
}
return responseHeaders_;
}
+
public int getResponseHeadersCount() {
return internalGetResponseHeaders().getMap().size();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public boolean containsResponseHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ public boolean containsResponseHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
return internalGetResponseHeaders().getMap().containsKey(key);
}
- /**
- * Use {@link #getResponseHeadersMap()} instead.
- */
+
+ /** Use {@link #getResponseHeadersMap()} instead. */
@java.lang.Override
@java.lang.Deprecated
- public java.util.Map getResponseHeaders() {
+ public java.util.Map
+ getResponseHeaders() {
return getResponseHeadersMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public java.util.Map getResponseHeadersMap() {
+ public java.util.Map
+ getResponseHeadersMap() {
return internalGetResponseHeaders().getMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public /* nullable */
-com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrDefault(
- java.lang.String key,
- /* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
+ public /* nullable */ com.akto.proto.http_response_param.v1.StringList
+ getResponseHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.akto.proto.http_response_param.v1.StringList defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
java.util.Map map =
internalGetResponseHeaders().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
public com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
java.util.Map map =
internalGetResponseHeaders().getMap();
if (!map.containsKey(key)) {
@@ -444,10 +514,13 @@ public com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrThro
}
public static final int RESPONSE_PAYLOAD_FIELD_NUMBER = 10;
+
@SuppressWarnings("serial")
private volatile java.lang.Object responsePayload_ = "";
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The responsePayload.
*/
@java.lang.Override
@@ -456,25 +529,24 @@ public java.lang.String getResponsePayload() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
responsePayload_ = s;
return s;
}
}
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The bytes for responsePayload.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getResponsePayloadBytes() {
+ public com.google.protobuf.ByteString getResponsePayloadBytes() {
java.lang.Object ref = responsePayload_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
responsePayload_ = b;
return b;
} else {
@@ -484,8 +556,10 @@ public java.lang.String getResponsePayload() {
public static final int TIME_FIELD_NUMBER = 11;
private int time_ = 0;
+
/**
* int32 time = 11 [json_name = "time"];
+ *
* @return The time.
*/
@java.lang.Override
@@ -494,10 +568,13 @@ public int getTime() {
}
public static final int AKTO_ACCOUNT_ID_FIELD_NUMBER = 12;
+
@SuppressWarnings("serial")
private volatile java.lang.Object aktoAccountId_ = "";
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The aktoAccountId.
*/
@java.lang.Override
@@ -506,25 +583,24 @@ public java.lang.String getAktoAccountId() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
aktoAccountId_ = s;
return s;
}
}
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The bytes for aktoAccountId.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getAktoAccountIdBytes() {
+ public com.google.protobuf.ByteString getAktoAccountIdBytes() {
java.lang.Object ref = aktoAccountId_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
aktoAccountId_ = b;
return b;
} else {
@@ -533,10 +609,13 @@ public java.lang.String getAktoAccountId() {
}
public static final int IP_FIELD_NUMBER = 13;
+
@SuppressWarnings("serial")
private volatile java.lang.Object ip_ = "";
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The ip.
*/
@java.lang.Override
@@ -545,25 +624,24 @@ public java.lang.String getIp() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ip_ = s;
return s;
}
}
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The bytes for ip.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getIpBytes() {
+ public com.google.protobuf.ByteString getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
ip_ = b;
return b;
} else {
@@ -572,10 +650,13 @@ public java.lang.String getIp() {
}
public static final int DEST_IP_FIELD_NUMBER = 14;
+
@SuppressWarnings("serial")
private volatile java.lang.Object destIp_ = "";
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The destIp.
*/
@java.lang.Override
@@ -584,25 +665,24 @@ public java.lang.String getDestIp() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destIp_ = s;
return s;
}
}
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The bytes for destIp.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getDestIpBytes() {
+ public com.google.protobuf.ByteString getDestIpBytes() {
java.lang.Object ref = destIp_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
destIp_ = b;
return b;
} else {
@@ -611,10 +691,13 @@ public java.lang.String getDestIp() {
}
public static final int DIRECTION_FIELD_NUMBER = 15;
+
@SuppressWarnings("serial")
private volatile java.lang.Object direction_ = "";
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The direction.
*/
@java.lang.Override
@@ -623,25 +706,24 @@ public java.lang.String getDirection() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
direction_ = s;
return s;
}
}
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The bytes for direction.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getDirectionBytes() {
+ public com.google.protobuf.ByteString getDirectionBytes() {
java.lang.Object ref = direction_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
direction_ = b;
return b;
} else {
@@ -651,8 +733,10 @@ public java.lang.String getDirection() {
public static final int IS_PENDING_FIELD_NUMBER = 16;
private boolean isPending_ = false;
+
/**
* bool is_pending = 16 [json_name = "isPending"];
+ *
* @return The isPending.
*/
@java.lang.Override
@@ -661,10 +745,13 @@ public boolean getIsPending() {
}
public static final int SOURCE_FIELD_NUMBER = 17;
+
@SuppressWarnings("serial")
private volatile java.lang.Object source_ = "";
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return The source.
*/
@java.lang.Override
@@ -673,25 +760,24 @@ public java.lang.String getSource() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
}
}
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return The bytes for source.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getSourceBytes() {
+ public com.google.protobuf.ByteString getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
source_ = b;
return b;
} else {
@@ -700,10 +786,13 @@ public java.lang.String getSource() {
}
public static final int AKTO_VXLAN_ID_FIELD_NUMBER = 18;
+
@SuppressWarnings("serial")
private volatile java.lang.Object aktoVxlanId_ = "";
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The aktoVxlanId.
*/
@java.lang.Override
@@ -712,25 +801,24 @@ public java.lang.String getAktoVxlanId() {
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
aktoVxlanId_ = s;
return s;
}
}
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The bytes for aktoVxlanId.
*/
@java.lang.Override
- public com.google.protobuf.ByteString
- getAktoVxlanIdBytes() {
+ public com.google.protobuf.ByteString getAktoVxlanIdBytes() {
java.lang.Object ref = aktoVxlanId_;
if (ref instanceof java.lang.String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
aktoVxlanId_ = b;
return b;
} else {
@@ -739,6 +827,7 @@ public java.lang.String getAktoVxlanId() {
}
private byte memoizedIsInitialized = -1;
+
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
@@ -750,8 +839,7 @@ public final boolean isInitialized() {
}
@java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(method_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, method_);
}
@@ -761,12 +849,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 3, type_);
}
- com.google.protobuf.GeneratedMessage
- .serializeStringMapTo(
- output,
- internalGetRequestHeaders(),
- RequestHeadersDefaultEntryHolder.defaultEntry,
- 4);
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetRequestHeaders(), RequestHeadersDefaultEntryHolder.defaultEntry, 4);
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestPayload_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 5, requestPayload_);
}
@@ -779,12 +863,8 @@ public void writeTo(com.google.protobuf.CodedOutputStream output)
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(status_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 8, status_);
}
- com.google.protobuf.GeneratedMessage
- .serializeStringMapTo(
- output,
- internalGetResponseHeaders(),
- ResponseHeadersDefaultEntryHolder.defaultEntry,
- 9);
+ com.google.protobuf.GeneratedMessage.serializeStringMapTo(
+ output, internalGetResponseHeaders(), ResponseHeadersDefaultEntryHolder.defaultEntry, 9);
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responsePayload_)) {
com.google.protobuf.GeneratedMessage.writeString(output, 10, responsePayload_);
}
@@ -830,46 +910,47 @@ public int getSerializedSize() {
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(type_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(3, type_);
}
- for (java.util.Map.Entry entry
- : internalGetRequestHeaders().getMap().entrySet()) {
- com.google.protobuf.MapEntry
- requestHeaders__ = RequestHeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
- .setKey(entry.getKey())
- .setValue(entry.getValue())
- .build();
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(4, requestHeaders__);
+ for (java.util.Map.Entry
+ entry : internalGetRequestHeaders().getMap().entrySet()) {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ requestHeaders__ =
+ RequestHeadersDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(4, requestHeaders__);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(requestPayload_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(5, requestPayload_);
}
if (apiCollectionId_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(6, apiCollectionId_);
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(6, apiCollectionId_);
}
if (statusCode_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(7, statusCode_);
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(7, statusCode_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(status_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(8, status_);
}
- for (java.util.Map.Entry entry
- : internalGetResponseHeaders().getMap().entrySet()) {
- com.google.protobuf.MapEntry
- responseHeaders__ = ResponseHeadersDefaultEntryHolder.defaultEntry.newBuilderForType()
- .setKey(entry.getKey())
- .setValue(entry.getValue())
- .build();
- size += com.google.protobuf.CodedOutputStream
- .computeMessageSize(9, responseHeaders__);
+ for (java.util.Map.Entry
+ entry : internalGetResponseHeaders().getMap().entrySet()) {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ responseHeaders__ =
+ ResponseHeadersDefaultEntryHolder.defaultEntry
+ .newBuilderForType()
+ .setKey(entry.getKey())
+ .setValue(entry.getValue())
+ .build();
+ size += com.google.protobuf.CodedOutputStream.computeMessageSize(9, responseHeaders__);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(responsePayload_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(10, responsePayload_);
}
if (time_ != 0) {
- size += com.google.protobuf.CodedOutputStream
- .computeInt32Size(11, time_);
+ size += com.google.protobuf.CodedOutputStream.computeInt32Size(11, time_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(aktoAccountId_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(12, aktoAccountId_);
@@ -884,8 +965,7 @@ public int getSerializedSize() {
size += com.google.protobuf.GeneratedMessage.computeStringSize(15, direction_);
}
if (isPending_ != false) {
- size += com.google.protobuf.CodedOutputStream
- .computeBoolSize(16, isPending_);
+ size += com.google.protobuf.CodedOutputStream.computeBoolSize(16, isPending_);
}
if (!com.google.protobuf.GeneratedMessage.isStringEmpty(source_)) {
size += com.google.protobuf.GeneratedMessage.computeStringSize(17, source_);
@@ -901,49 +981,32 @@ public int getSerializedSize() {
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
- return true;
+ return true;
}
if (!(obj instanceof com.akto.proto.http_response_param.v1.HttpResponseParam)) {
return super.equals(obj);
}
- com.akto.proto.http_response_param.v1.HttpResponseParam other = (com.akto.proto.http_response_param.v1.HttpResponseParam) obj;
-
- if (!getMethod()
- .equals(other.getMethod())) return false;
- if (!getPath()
- .equals(other.getPath())) return false;
- if (!getType()
- .equals(other.getType())) return false;
- if (!internalGetRequestHeaders().equals(
- other.internalGetRequestHeaders())) return false;
- if (!getRequestPayload()
- .equals(other.getRequestPayload())) return false;
- if (getApiCollectionId()
- != other.getApiCollectionId()) return false;
- if (getStatusCode()
- != other.getStatusCode()) return false;
- if (!getStatus()
- .equals(other.getStatus())) return false;
- if (!internalGetResponseHeaders().equals(
- other.internalGetResponseHeaders())) return false;
- if (!getResponsePayload()
- .equals(other.getResponsePayload())) return false;
- if (getTime()
- != other.getTime()) return false;
- if (!getAktoAccountId()
- .equals(other.getAktoAccountId())) return false;
- if (!getIp()
- .equals(other.getIp())) return false;
- if (!getDestIp()
- .equals(other.getDestIp())) return false;
- if (!getDirection()
- .equals(other.getDirection())) return false;
- if (getIsPending()
- != other.getIsPending()) return false;
- if (!getSource()
- .equals(other.getSource())) return false;
- if (!getAktoVxlanId()
- .equals(other.getAktoVxlanId())) return false;
+ com.akto.proto.http_response_param.v1.HttpResponseParam other =
+ (com.akto.proto.http_response_param.v1.HttpResponseParam) obj;
+
+ if (!getMethod().equals(other.getMethod())) return false;
+ if (!getPath().equals(other.getPath())) return false;
+ if (!getType().equals(other.getType())) return false;
+ if (!internalGetRequestHeaders().equals(other.internalGetRequestHeaders())) return false;
+ if (!getRequestPayload().equals(other.getRequestPayload())) return false;
+ if (getApiCollectionId() != other.getApiCollectionId()) return false;
+ if (getStatusCode() != other.getStatusCode()) return false;
+ if (!getStatus().equals(other.getStatus())) return false;
+ if (!internalGetResponseHeaders().equals(other.internalGetResponseHeaders())) return false;
+ if (!getResponsePayload().equals(other.getResponsePayload())) return false;
+ if (getTime() != other.getTime()) return false;
+ if (!getAktoAccountId().equals(other.getAktoAccountId())) return false;
+ if (!getIp().equals(other.getIp())) return false;
+ if (!getDestIp().equals(other.getDestIp())) return false;
+ if (!getDirection().equals(other.getDirection())) return false;
+ if (getIsPending() != other.getIsPending()) return false;
+ if (!getSource().equals(other.getSource())) return false;
+ if (!getAktoVxlanId().equals(other.getAktoVxlanId())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -990,8 +1053,7 @@ public int hashCode() {
hash = (37 * hash) + DIRECTION_FIELD_NUMBER;
hash = (53 * hash) + getDirection().hashCode();
hash = (37 * hash) + IS_PENDING_FIELD_NUMBER;
- hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(
- getIsPending());
+ hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getIsPending());
hash = (37 * hash) + SOURCE_FIELD_NUMBER;
hash = (53 * hash) + getSource().hashCode();
hash = (37 * hash) + AKTO_VXLAN_ID_FIELD_NUMBER;
@@ -1002,107 +1064,110 @@ public int hashCode() {
}
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
- java.nio.ByteBuffer data)
- throws com.google.protobuf.InvalidProtocolBufferException {
+ java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input);
+
+ public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
}
- public static com.akto.proto.http_response_param.v1.HttpResponseParam parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseDelimitedWithIOException(PARSER, input);
+ public static com.akto.proto.http_response_param.v1.HttpResponseParam parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input);
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
+
public static com.akto.proto.http_response_param.v1.HttpResponseParam parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
}
@java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
- public static Builder newBuilder(com.akto.proto.http_response_param.v1.HttpResponseParam prototype) {
+
+ public static Builder newBuilder(
+ com.akto.proto.http_response_param.v1.HttpResponseParam prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+
@java.lang.Override
public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
- /**
- * Protobuf type {@code threat_detection.message.http_response_param.v1.HttpResponseParam}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+
+ /** Protobuf type {@code threat_detection.message.http_response_param.v1.HttpResponseParam} */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
// @@protoc_insertion_point(builder_implements:threat_detection.message.http_response_param.v1.HttpResponseParam)
com.akto.proto.http_response_param.v1.HttpResponseParamOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
}
@SuppressWarnings({"rawtypes"})
@@ -1114,10 +1179,10 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldRefl
case 9:
return internalGetResponseHeaders();
default:
- throw new RuntimeException(
- "Invalid map field number: " + number);
+ throw new RuntimeException("Invalid map field number: " + number);
}
}
+
@SuppressWarnings({"rawtypes"})
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(
int number) {
@@ -1127,28 +1192,28 @@ protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFi
case 9:
return internalGetMutableResponseHeaders();
default:
- throw new RuntimeException(
- "Invalid map field number: " + number);
+ throw new RuntimeException("Invalid map field number: " + number);
}
}
+
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.akto.proto.http_response_param.v1.HttpResponseParam.class, com.akto.proto.http_response_param.v1.HttpResponseParam.Builder.class);
+ com.akto.proto.http_response_param.v1.HttpResponseParam.class,
+ com.akto.proto.http_response_param.v1.HttpResponseParam.Builder.class);
}
- // Construct using com.akto.proto.generated.threat_detection.message.http_response_param.v1.HttpResponseParam.newBuilder()
- private Builder() {
-
- }
+ // Construct using
+ // com.akto.proto.generated.threat_detection.message.http_response_param.v1.HttpResponseParam.newBuilder()
+ private Builder() {}
- private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
-
}
+
@java.lang.Override
public Builder clear() {
super.clear();
@@ -1175,9 +1240,9 @@ public Builder clear() {
}
@java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
}
@java.lang.Override
@@ -1196,8 +1261,11 @@ public com.akto.proto.http_response_param.v1.HttpResponseParam build() {
@java.lang.Override
public com.akto.proto.http_response_param.v1.HttpResponseParam buildPartial() {
- com.akto.proto.http_response_param.v1.HttpResponseParam result = new com.akto.proto.http_response_param.v1.HttpResponseParam(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ com.akto.proto.http_response_param.v1.HttpResponseParam result =
+ new com.akto.proto.http_response_param.v1.HttpResponseParam(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
@@ -1214,7 +1282,8 @@ private void buildPartial0(com.akto.proto.http_response_param.v1.HttpResponsePar
result.type_ = type_;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
- result.requestHeaders_ = internalGetRequestHeaders().build(RequestHeadersDefaultEntryHolder.defaultEntry);
+ result.requestHeaders_ =
+ internalGetRequestHeaders().build(RequestHeadersDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000010) != 0)) {
result.requestPayload_ = requestPayload_;
@@ -1229,7 +1298,8 @@ private void buildPartial0(com.akto.proto.http_response_param.v1.HttpResponsePar
result.status_ = status_;
}
if (((from_bitField0_ & 0x00000100) != 0)) {
- result.responseHeaders_ = internalGetResponseHeaders().build(ResponseHeadersDefaultEntryHolder.defaultEntry);
+ result.responseHeaders_ =
+ internalGetResponseHeaders().build(ResponseHeadersDefaultEntryHolder.defaultEntry);
}
if (((from_bitField0_ & 0x00000200) != 0)) {
result.responsePayload_ = responsePayload_;
@@ -1263,7 +1333,7 @@ private void buildPartial0(com.akto.proto.http_response_param.v1.HttpResponsePar
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akto.proto.http_response_param.v1.HttpResponseParam) {
- return mergeFrom((com.akto.proto.http_response_param.v1.HttpResponseParam)other);
+ return mergeFrom((com.akto.proto.http_response_param.v1.HttpResponseParam) other);
} else {
super.mergeFrom(other);
return this;
@@ -1271,7 +1341,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(com.akto.proto.http_response_param.v1.HttpResponseParam other) {
- if (other == com.akto.proto.http_response_param.v1.HttpResponseParam.getDefaultInstance()) return this;
+ if (other == com.akto.proto.http_response_param.v1.HttpResponseParam.getDefaultInstance())
+ return this;
if (!other.getMethod().isEmpty()) {
method_ = other.method_;
bitField0_ |= 0x00000001;
@@ -1287,8 +1358,7 @@ public Builder mergeFrom(com.akto.proto.http_response_param.v1.HttpResponseParam
bitField0_ |= 0x00000004;
onChanged();
}
- internalGetMutableRequestHeaders().mergeFrom(
- other.internalGetRequestHeaders());
+ internalGetMutableRequestHeaders().mergeFrom(other.internalGetRequestHeaders());
bitField0_ |= 0x00000008;
if (!other.getRequestPayload().isEmpty()) {
requestPayload_ = other.requestPayload_;
@@ -1306,8 +1376,7 @@ public Builder mergeFrom(com.akto.proto.http_response_param.v1.HttpResponseParam
bitField0_ |= 0x00000080;
onChanged();
}
- internalGetMutableResponseHeaders().mergeFrom(
- other.internalGetResponseHeaders());
+ internalGetMutableResponseHeaders().mergeFrom(other.internalGetResponseHeaders());
bitField0_ |= 0x00000100;
if (!other.getResponsePayload().isEmpty()) {
responsePayload_ = other.responsePayload_;
@@ -1376,110 +1445,137 @@ public Builder mergeFrom(
case 0:
done = true;
break;
- case 10: {
- method_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000001;
- break;
- } // case 10
- case 18: {
- path_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000002;
- break;
- } // case 18
- case 26: {
- type_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000004;
- break;
- } // case 26
- case 34: {
- com.google.protobuf.MapEntry
- requestHeaders__ = input.readMessage(
- RequestHeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableRequestHeaders().ensureBuilderMap().put(
- requestHeaders__.getKey(), requestHeaders__.getValue());
- bitField0_ |= 0x00000008;
- break;
- } // case 34
- case 42: {
- requestPayload_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000010;
- break;
- } // case 42
- case 48: {
- apiCollectionId_ = input.readInt32();
- bitField0_ |= 0x00000020;
- break;
- } // case 48
- case 56: {
- statusCode_ = input.readInt32();
- bitField0_ |= 0x00000040;
- break;
- } // case 56
- case 66: {
- status_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000080;
- break;
- } // case 66
- case 74: {
- com.google.protobuf.MapEntry
- responseHeaders__ = input.readMessage(
- ResponseHeadersDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
- internalGetMutableResponseHeaders().ensureBuilderMap().put(
- responseHeaders__.getKey(), responseHeaders__.getValue());
- bitField0_ |= 0x00000100;
- break;
- } // case 74
- case 82: {
- responsePayload_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000200;
- break;
- } // case 82
- case 88: {
- time_ = input.readInt32();
- bitField0_ |= 0x00000400;
- break;
- } // case 88
- case 98: {
- aktoAccountId_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00000800;
- break;
- } // case 98
- case 106: {
- ip_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00001000;
- break;
- } // case 106
- case 114: {
- destIp_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00002000;
- break;
- } // case 114
- case 122: {
- direction_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00004000;
- break;
- } // case 122
- case 128: {
- isPending_ = input.readBool();
- bitField0_ |= 0x00008000;
- break;
- } // case 128
- case 138: {
- source_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00010000;
- break;
- } // case 138
- case 146: {
- aktoVxlanId_ = input.readStringRequireUtf8();
- bitField0_ |= 0x00020000;
- break;
- } // case 146
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
+ case 10:
+ {
+ method_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000001;
+ break;
+ } // case 10
+ case 18:
+ {
+ path_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000002;
+ break;
+ } // case 18
+ case 26:
+ {
+ type_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000004;
+ break;
+ } // case 26
+ case 34:
+ {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ requestHeaders__ =
+ input.readMessage(
+ RequestHeadersDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ internalGetMutableRequestHeaders()
+ .ensureBuilderMap()
+ .put(requestHeaders__.getKey(), requestHeaders__.getValue());
+ bitField0_ |= 0x00000008;
+ break;
+ } // case 34
+ case 42:
+ {
+ requestPayload_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000010;
+ break;
+ } // case 42
+ case 48:
+ {
+ apiCollectionId_ = input.readInt32();
+ bitField0_ |= 0x00000020;
+ break;
+ } // case 48
+ case 56:
+ {
+ statusCode_ = input.readInt32();
+ bitField0_ |= 0x00000040;
+ break;
+ } // case 56
+ case 66:
+ {
+ status_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000080;
+ break;
+ } // case 66
+ case 74:
+ {
+ com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ responseHeaders__ =
+ input.readMessage(
+ ResponseHeadersDefaultEntryHolder.defaultEntry.getParserForType(),
+ extensionRegistry);
+ internalGetMutableResponseHeaders()
+ .ensureBuilderMap()
+ .put(responseHeaders__.getKey(), responseHeaders__.getValue());
+ bitField0_ |= 0x00000100;
+ break;
+ } // case 74
+ case 82:
+ {
+ responsePayload_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000200;
+ break;
+ } // case 82
+ case 88:
+ {
+ time_ = input.readInt32();
+ bitField0_ |= 0x00000400;
+ break;
+ } // case 88
+ case 98:
+ {
+ aktoAccountId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00000800;
+ break;
+ } // case 98
+ case 106:
+ {
+ ip_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00001000;
+ break;
+ } // case 106
+ case 114:
+ {
+ destIp_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00002000;
+ break;
+ } // case 114
+ case 122:
+ {
+ direction_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00004000;
+ break;
+ } // case 122
+ case 128:
+ {
+ isPending_ = input.readBool();
+ bitField0_ |= 0x00008000;
+ break;
+ } // case 128
+ case 138:
+ {
+ source_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00010000;
+ break;
+ } // case 138
+ case 146:
+ {
+ aktoVxlanId_ = input.readStringRequireUtf8();
+ bitField0_ |= 0x00020000;
+ break;
+ } // case 146
+ 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) {
@@ -1489,18 +1585,20 @@ public Builder mergeFrom(
} // finally
return this;
}
+
private int bitField0_;
private java.lang.Object method_ = "";
+
/**
* string method = 1 [json_name = "method"];
+ *
* @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;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
method_ = s;
return s;
@@ -1508,38 +1606,43 @@ public java.lang.String getMethod() {
return (java.lang.String) ref;
}
}
+
/**
* string method = 1 [json_name = "method"];
+ *
* @return The bytes for method.
*/
- public com.google.protobuf.ByteString
- getMethodBytes() {
+ 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);
+ 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 = 1 [json_name = "method"];
+ *
* @param value The method to set.
* @return This builder for chaining.
*/
- public Builder setMethod(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setMethod(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
method_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
+
/**
* string method = 1 [json_name = "method"];
+ *
* @return This builder for chaining.
*/
public Builder clearMethod() {
@@ -1548,14 +1651,17 @@ public Builder clearMethod() {
onChanged();
return this;
}
+
/**
* string method = 1 [json_name = "method"];
+ *
* @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(); }
+ public Builder setMethodBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
method_ = value;
bitField0_ |= 0x00000001;
@@ -1564,15 +1670,16 @@ public Builder setMethodBytes(
}
private java.lang.Object path_ = "";
+
/**
* string path = 2 [json_name = "path"];
+ *
* @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;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
@@ -1580,38 +1687,43 @@ public java.lang.String getPath() {
return (java.lang.String) ref;
}
}
+
/**
* string path = 2 [json_name = "path"];
+ *
* @return The bytes for path.
*/
- public com.google.protobuf.ByteString
- getPathBytes() {
+ 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);
+ 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 = 2 [json_name = "path"];
+ *
* @param value The path to set.
* @return This builder for chaining.
*/
- public Builder setPath(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setPath(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
path_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
+
/**
* string path = 2 [json_name = "path"];
+ *
* @return This builder for chaining.
*/
public Builder clearPath() {
@@ -1620,14 +1732,17 @@ public Builder clearPath() {
onChanged();
return this;
}
+
/**
* string path = 2 [json_name = "path"];
+ *
* @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(); }
+ public Builder setPathBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
path_ = value;
bitField0_ |= 0x00000002;
@@ -1636,15 +1751,16 @@ public Builder setPathBytes(
}
private java.lang.Object type_ = "";
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return The type.
*/
public java.lang.String getType() {
java.lang.Object ref = type_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
type_ = s;
return s;
@@ -1652,38 +1768,43 @@ public java.lang.String getType() {
return (java.lang.String) ref;
}
}
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return The bytes for type.
*/
- public com.google.protobuf.ByteString
- getTypeBytes() {
+ public com.google.protobuf.ByteString getTypeBytes() {
java.lang.Object ref = type_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
type_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string type = 3 [json_name = "type"];
+ *
* @param value The type to set.
* @return This builder for chaining.
*/
- public Builder setType(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setType(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
type_ = value;
bitField0_ |= 0x00000004;
onChanged();
return this;
}
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return This builder for chaining.
*/
public Builder clearType() {
@@ -1692,14 +1813,17 @@ public Builder clearType() {
onChanged();
return this;
}
+
/**
* string type = 3 [json_name = "type"];
+ *
* @param value The bytes for type to set.
* @return This builder for chaining.
*/
- public Builder setTypeBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setTypeBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
type_ = value;
bitField0_ |= 0x00000004;
@@ -1707,30 +1831,56 @@ public Builder setTypeBytes(
return this;
}
- private static final class RequestHeadersConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+ private static final class RequestHeadersConverter
+ implements com.google.protobuf.MapFieldBuilder.Converter<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList> {
@java.lang.Override
- public com.akto.proto.http_response_param.v1.StringList build(com.akto.proto.http_response_param.v1.StringListOrBuilder val) {
- if (val instanceof com.akto.proto.http_response_param.v1.StringList) { return (com.akto.proto.http_response_param.v1.StringList) val; }
+ public com.akto.proto.http_response_param.v1.StringList build(
+ com.akto.proto.http_response_param.v1.StringListOrBuilder val) {
+ if (val instanceof com.akto.proto.http_response_param.v1.StringList) {
+ return (com.akto.proto.http_response_param.v1.StringList) val;
+ }
return ((com.akto.proto.http_response_param.v1.StringList.Builder) val).build();
}
@java.lang.Override
- public com.google.protobuf.MapEntry defaultEntry() {
+ public com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ defaultEntry() {
return RequestHeadersDefaultEntryHolder.defaultEntry;
}
- };
- private static final RequestHeadersConverter requestHeadersConverter = new RequestHeadersConverter();
+ }
+ ;
+
+ private static final RequestHeadersConverter requestHeadersConverter =
+ new RequestHeadersConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
+ requestHeaders_;
private com.google.protobuf.MapFieldBuilder<
- java.lang.String, com.akto.proto.http_response_param.v1.StringListOrBuilder, com.akto.proto.http_response_param.v1.StringList, com.akto.proto.http_response_param.v1.StringList.Builder> requestHeaders_;
- private com.google.protobuf.MapFieldBuilder
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
internalGetRequestHeaders() {
if (requestHeaders_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(requestHeadersConverter);
}
return requestHeaders_;
}
- private com.google.protobuf.MapFieldBuilder
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
internalGetMutableRequestHeaders() {
if (requestHeaders_ == null) {
requestHeaders_ = new com.google.protobuf.MapFieldBuilder<>(requestHeadersConverter);
@@ -1739,117 +1889,153 @@ public com.google.protobuf.MapEntrymap<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public boolean containsRequestHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ public boolean containsRequestHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
return internalGetRequestHeaders().ensureBuilderMap().containsKey(key);
}
- /**
- * Use {@link #getRequestHeadersMap()} instead.
- */
+
+ /** Use {@link #getRequestHeadersMap()} instead. */
@java.lang.Override
@java.lang.Deprecated
- public java.util.Map getRequestHeaders() {
+ public java.util.Map
+ getRequestHeaders() {
return getRequestHeadersMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public java.util.Map getRequestHeadersMap() {
+ public java.util.Map
+ getRequestHeadersMap() {
return internalGetRequestHeaders().getImmutableMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
- public /* nullable */
-com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrDefault(
- java.lang.String key,
- /* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
- java.util.Map map = internalGetMutableRequestHeaders().ensureBuilderMap();
+ public /* nullable */ com.akto.proto.http_response_param.v1.StringList
+ getRequestHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.akto.proto.http_response_param.v1.StringList defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetMutableRequestHeaders().ensureBuilderMap();
return map.containsKey(key) ? requestHeadersConverter.build(map.get(key)) : defaultValue;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
@java.lang.Override
public com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
- java.util.Map map = internalGetMutableRequestHeaders().ensureBuilderMap();
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetMutableRequestHeaders().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return requestHeadersConverter.build(map.get(key));
}
+
public Builder clearRequestHeaders() {
bitField0_ = (bitField0_ & ~0x00000008);
internalGetMutableRequestHeaders().clear();
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
- public Builder removeRequestHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
- internalGetMutableRequestHeaders().ensureBuilderMap()
- .remove(key);
+ public Builder removeRequestHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableRequestHeaders().ensureBuilderMap().remove(key);
return this;
}
- /**
- * Use alternate mutation accessors instead.
- */
+
+ /** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map
getMutableRequestHeaders() {
bitField0_ |= 0x00000008;
return internalGetMutableRequestHeaders().ensureMessageMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
public Builder putRequestHeaders(
- java.lang.String key,
- com.akto.proto.http_response_param.v1.StringList value) {
- if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
- internalGetMutableRequestHeaders().ensureBuilderMap()
- .put(key, value);
+ java.lang.String key, com.akto.proto.http_response_param.v1.StringList value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableRequestHeaders().ensureBuilderMap().put(key, value);
bitField0_ |= 0x00000008;
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
public Builder putAllRequestHeaders(
java.util.Map values) {
- for (java.util.Map.Entry e : values.entrySet()) {
+ for (java.util.Map.Entry
+ e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
- internalGetMutableRequestHeaders().ensureBuilderMap()
- .putAll(values);
+ internalGetMutableRequestHeaders().ensureBuilderMap().putAll(values);
bitField0_ |= 0x00000008;
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
- public com.akto.proto.http_response_param.v1.StringList.Builder putRequestHeadersBuilderIfAbsent(
- java.lang.String key) {
- java.util.Map builderMap = internalGetMutableRequestHeaders().ensureBuilderMap();
+ public com.akto.proto.http_response_param.v1.StringList.Builder
+ putRequestHeadersBuilderIfAbsent(java.lang.String key) {
+ java.util.Map
+ builderMap = internalGetMutableRequestHeaders().ensureBuilderMap();
com.akto.proto.http_response_param.v1.StringListOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = com.akto.proto.http_response_param.v1.StringList.newBuilder();
@@ -1863,15 +2049,16 @@ public com.akto.proto.http_response_param.v1.StringList.Builder putRequestHeader
}
private java.lang.Object requestPayload_ = "";
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The requestPayload.
*/
public java.lang.String getRequestPayload() {
java.lang.Object ref = requestPayload_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
requestPayload_ = s;
return s;
@@ -1879,38 +2066,43 @@ public java.lang.String getRequestPayload() {
return (java.lang.String) ref;
}
}
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The bytes for requestPayload.
*/
- public com.google.protobuf.ByteString
- getRequestPayloadBytes() {
+ public com.google.protobuf.ByteString getRequestPayloadBytes() {
java.lang.Object ref = requestPayload_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
requestPayload_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @param value The requestPayload to set.
* @return This builder for chaining.
*/
- public Builder setRequestPayload(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setRequestPayload(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
requestPayload_ = value;
bitField0_ |= 0x00000010;
onChanged();
return this;
}
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return This builder for chaining.
*/
public Builder clearRequestPayload() {
@@ -1919,14 +2111,17 @@ public Builder clearRequestPayload() {
onChanged();
return this;
}
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @param value The bytes for requestPayload to set.
* @return This builder for chaining.
*/
- public Builder setRequestPayloadBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setRequestPayloadBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
requestPayload_ = value;
bitField0_ |= 0x00000010;
@@ -1934,17 +2129,21 @@ public Builder setRequestPayloadBytes(
return this;
}
- private int apiCollectionId_ ;
+ private int apiCollectionId_;
+
/**
* int32 api_collection_id = 6 [json_name = "apiCollectionId"];
+ *
* @return The apiCollectionId.
*/
@java.lang.Override
public int getApiCollectionId() {
return apiCollectionId_;
}
+
/**
* int32 api_collection_id = 6 [json_name = "apiCollectionId"];
+ *
* @param value The apiCollectionId to set.
* @return This builder for chaining.
*/
@@ -1955,8 +2154,10 @@ public Builder setApiCollectionId(int value) {
onChanged();
return this;
}
+
/**
* int32 api_collection_id = 6 [json_name = "apiCollectionId"];
+ *
* @return This builder for chaining.
*/
public Builder clearApiCollectionId() {
@@ -1966,17 +2167,21 @@ public Builder clearApiCollectionId() {
return this;
}
- private int statusCode_ ;
+ private int statusCode_;
+
/**
* int32 status_code = 7 [json_name = "statusCode"];
+ *
* @return The statusCode.
*/
@java.lang.Override
public int getStatusCode() {
return statusCode_;
}
+
/**
* int32 status_code = 7 [json_name = "statusCode"];
+ *
* @param value The statusCode to set.
* @return This builder for chaining.
*/
@@ -1987,8 +2192,10 @@ public Builder setStatusCode(int value) {
onChanged();
return this;
}
+
/**
* int32 status_code = 7 [json_name = "statusCode"];
+ *
* @return This builder for chaining.
*/
public Builder clearStatusCode() {
@@ -1999,15 +2206,16 @@ public Builder clearStatusCode() {
}
private java.lang.Object status_ = "";
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return The status.
*/
public java.lang.String getStatus() {
java.lang.Object ref = status_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
status_ = s;
return s;
@@ -2015,38 +2223,43 @@ public java.lang.String getStatus() {
return (java.lang.String) ref;
}
}
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return The bytes for status.
*/
- public com.google.protobuf.ByteString
- getStatusBytes() {
+ public com.google.protobuf.ByteString getStatusBytes() {
java.lang.Object ref = status_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
status_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string status = 8 [json_name = "status"];
+ *
* @param value The status to set.
* @return This builder for chaining.
*/
- public Builder setStatus(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setStatus(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
status_ = value;
bitField0_ |= 0x00000080;
onChanged();
return this;
}
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return This builder for chaining.
*/
public Builder clearStatus() {
@@ -2055,14 +2268,17 @@ public Builder clearStatus() {
onChanged();
return this;
}
+
/**
* string status = 8 [json_name = "status"];
+ *
* @param value The bytes for status to set.
* @return This builder for chaining.
*/
- public Builder setStatusBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setStatusBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
status_ = value;
bitField0_ |= 0x00000080;
@@ -2070,30 +2286,56 @@ public Builder setStatusBytes(
return this;
}
- private static final class ResponseHeadersConverter implements com.google.protobuf.MapFieldBuilder.Converter {
+ private static final class ResponseHeadersConverter
+ implements com.google.protobuf.MapFieldBuilder.Converter<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList> {
@java.lang.Override
- public com.akto.proto.http_response_param.v1.StringList build(com.akto.proto.http_response_param.v1.StringListOrBuilder val) {
- if (val instanceof com.akto.proto.http_response_param.v1.StringList) { return (com.akto.proto.http_response_param.v1.StringList) val; }
+ public com.akto.proto.http_response_param.v1.StringList build(
+ com.akto.proto.http_response_param.v1.StringListOrBuilder val) {
+ if (val instanceof com.akto.proto.http_response_param.v1.StringList) {
+ return (com.akto.proto.http_response_param.v1.StringList) val;
+ }
return ((com.akto.proto.http_response_param.v1.StringList.Builder) val).build();
}
@java.lang.Override
- public com.google.protobuf.MapEntry defaultEntry() {
+ public com.google.protobuf.MapEntry<
+ java.lang.String, com.akto.proto.http_response_param.v1.StringList>
+ defaultEntry() {
return ResponseHeadersDefaultEntryHolder.defaultEntry;
}
- };
- private static final ResponseHeadersConverter responseHeadersConverter = new ResponseHeadersConverter();
+ }
+ ;
+
+ private static final ResponseHeadersConverter responseHeadersConverter =
+ new ResponseHeadersConverter();
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
+ responseHeaders_;
private com.google.protobuf.MapFieldBuilder<
- java.lang.String, com.akto.proto.http_response_param.v1.StringListOrBuilder, com.akto.proto.http_response_param.v1.StringList, com.akto.proto.http_response_param.v1.StringList.Builder> responseHeaders_;
- private com.google.protobuf.MapFieldBuilder
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
internalGetResponseHeaders() {
if (responseHeaders_ == null) {
return new com.google.protobuf.MapFieldBuilder<>(responseHeadersConverter);
}
return responseHeaders_;
}
- private com.google.protobuf.MapFieldBuilder
+
+ private com.google.protobuf.MapFieldBuilder<
+ java.lang.String,
+ com.akto.proto.http_response_param.v1.StringListOrBuilder,
+ com.akto.proto.http_response_param.v1.StringList,
+ com.akto.proto.http_response_param.v1.StringList.Builder>
internalGetMutableResponseHeaders() {
if (responseHeaders_ == null) {
responseHeaders_ = new com.google.protobuf.MapFieldBuilder<>(responseHeadersConverter);
@@ -2102,117 +2344,153 @@ public com.google.protobuf.MapEntrymap<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public boolean containsResponseHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
+ public boolean containsResponseHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
return internalGetResponseHeaders().ensureBuilderMap().containsKey(key);
}
- /**
- * Use {@link #getResponseHeadersMap()} instead.
- */
+
+ /** Use {@link #getResponseHeadersMap()} instead. */
@java.lang.Override
@java.lang.Deprecated
- public java.util.Map getResponseHeaders() {
+ public java.util.Map
+ getResponseHeaders() {
return getResponseHeadersMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public java.util.Map getResponseHeadersMap() {
+ public java.util.Map
+ getResponseHeadersMap() {
return internalGetResponseHeaders().getImmutableMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
- public /* nullable */
-com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrDefault(
- java.lang.String key,
- /* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue) {
- if (key == null) { throw new NullPointerException("map key"); }
- java.util.Map map = internalGetMutableResponseHeaders().ensureBuilderMap();
+ public /* nullable */ com.akto.proto.http_response_param.v1.StringList
+ getResponseHeadersOrDefault(
+ java.lang.String key,
+ /* nullable */
+ com.akto.proto.http_response_param.v1.StringList defaultValue) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetMutableResponseHeaders().ensureBuilderMap();
return map.containsKey(key) ? responseHeadersConverter.build(map.get(key)) : defaultValue;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
@java.lang.Override
public com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrThrow(
java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
- java.util.Map map = internalGetMutableResponseHeaders().ensureBuilderMap();
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ java.util.Map
+ map = internalGetMutableResponseHeaders().ensureBuilderMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return responseHeadersConverter.build(map.get(key));
}
+
public Builder clearResponseHeaders() {
bitField0_ = (bitField0_ & ~0x00000100);
internalGetMutableResponseHeaders().clear();
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
- public Builder removeResponseHeaders(
- java.lang.String key) {
- if (key == null) { throw new NullPointerException("map key"); }
- internalGetMutableResponseHeaders().ensureBuilderMap()
- .remove(key);
+ public Builder removeResponseHeaders(java.lang.String key) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ internalGetMutableResponseHeaders().ensureBuilderMap().remove(key);
return this;
}
- /**
- * Use alternate mutation accessors instead.
- */
+
+ /** Use alternate mutation accessors instead. */
@java.lang.Deprecated
public java.util.Map
getMutableResponseHeaders() {
bitField0_ |= 0x00000100;
return internalGetMutableResponseHeaders().ensureMessageMap();
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
public Builder putResponseHeaders(
- java.lang.String key,
- com.akto.proto.http_response_param.v1.StringList value) {
- if (key == null) { throw new NullPointerException("map key"); }
- if (value == null) { throw new NullPointerException("map value"); }
- internalGetMutableResponseHeaders().ensureBuilderMap()
- .put(key, value);
+ java.lang.String key, com.akto.proto.http_response_param.v1.StringList value) {
+ if (key == null) {
+ throw new NullPointerException("map key");
+ }
+ if (value == null) {
+ throw new NullPointerException("map value");
+ }
+ internalGetMutableResponseHeaders().ensureBuilderMap().put(key, value);
bitField0_ |= 0x00000100;
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
public Builder putAllResponseHeaders(
java.util.Map values) {
- for (java.util.Map.Entry e : values.entrySet()) {
+ for (java.util.Map.Entry
+ e : values.entrySet()) {
if (e.getKey() == null || e.getValue() == null) {
throw new NullPointerException();
}
}
- internalGetMutableResponseHeaders().ensureBuilderMap()
- .putAll(values);
+ internalGetMutableResponseHeaders().ensureBuilderMap().putAll(values);
bitField0_ |= 0x00000100;
return this;
}
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
- public com.akto.proto.http_response_param.v1.StringList.Builder putResponseHeadersBuilderIfAbsent(
- java.lang.String key) {
- java.util.Map builderMap = internalGetMutableResponseHeaders().ensureBuilderMap();
+ public com.akto.proto.http_response_param.v1.StringList.Builder
+ putResponseHeadersBuilderIfAbsent(java.lang.String key) {
+ java.util.Map
+ builderMap = internalGetMutableResponseHeaders().ensureBuilderMap();
com.akto.proto.http_response_param.v1.StringListOrBuilder entry = builderMap.get(key);
if (entry == null) {
entry = com.akto.proto.http_response_param.v1.StringList.newBuilder();
@@ -2226,15 +2504,16 @@ public com.akto.proto.http_response_param.v1.StringList.Builder putResponseHeade
}
private java.lang.Object responsePayload_ = "";
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The responsePayload.
*/
public java.lang.String getResponsePayload() {
java.lang.Object ref = responsePayload_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
responsePayload_ = s;
return s;
@@ -2242,38 +2521,43 @@ public java.lang.String getResponsePayload() {
return (java.lang.String) ref;
}
}
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The bytes for responsePayload.
*/
- public com.google.protobuf.ByteString
- getResponsePayloadBytes() {
+ public com.google.protobuf.ByteString getResponsePayloadBytes() {
java.lang.Object ref = responsePayload_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
responsePayload_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @param value The responsePayload to set.
* @return This builder for chaining.
*/
- public Builder setResponsePayload(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setResponsePayload(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
responsePayload_ = value;
bitField0_ |= 0x00000200;
onChanged();
return this;
}
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return This builder for chaining.
*/
public Builder clearResponsePayload() {
@@ -2282,14 +2566,17 @@ public Builder clearResponsePayload() {
onChanged();
return this;
}
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @param value The bytes for responsePayload to set.
* @return This builder for chaining.
*/
- public Builder setResponsePayloadBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setResponsePayloadBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
responsePayload_ = value;
bitField0_ |= 0x00000200;
@@ -2297,17 +2584,21 @@ public Builder setResponsePayloadBytes(
return this;
}
- private int time_ ;
+ private int time_;
+
/**
* int32 time = 11 [json_name = "time"];
+ *
* @return The time.
*/
@java.lang.Override
public int getTime() {
return time_;
}
+
/**
* int32 time = 11 [json_name = "time"];
+ *
* @param value The time to set.
* @return This builder for chaining.
*/
@@ -2318,8 +2609,10 @@ public Builder setTime(int value) {
onChanged();
return this;
}
+
/**
* int32 time = 11 [json_name = "time"];
+ *
* @return This builder for chaining.
*/
public Builder clearTime() {
@@ -2330,15 +2623,16 @@ public Builder clearTime() {
}
private java.lang.Object aktoAccountId_ = "";
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The aktoAccountId.
*/
public java.lang.String getAktoAccountId() {
java.lang.Object ref = aktoAccountId_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
aktoAccountId_ = s;
return s;
@@ -2346,38 +2640,43 @@ public java.lang.String getAktoAccountId() {
return (java.lang.String) ref;
}
}
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The bytes for aktoAccountId.
*/
- public com.google.protobuf.ByteString
- getAktoAccountIdBytes() {
+ public com.google.protobuf.ByteString getAktoAccountIdBytes() {
java.lang.Object ref = aktoAccountId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
aktoAccountId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @param value The aktoAccountId to set.
* @return This builder for chaining.
*/
- public Builder setAktoAccountId(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setAktoAccountId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
aktoAccountId_ = value;
bitField0_ |= 0x00000800;
onChanged();
return this;
}
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return This builder for chaining.
*/
public Builder clearAktoAccountId() {
@@ -2386,14 +2685,17 @@ public Builder clearAktoAccountId() {
onChanged();
return this;
}
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @param value The bytes for aktoAccountId to set.
* @return This builder for chaining.
*/
- public Builder setAktoAccountIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setAktoAccountIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
aktoAccountId_ = value;
bitField0_ |= 0x00000800;
@@ -2402,15 +2704,16 @@ public Builder setAktoAccountIdBytes(
}
private java.lang.Object ip_ = "";
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The ip.
*/
public java.lang.String getIp() {
java.lang.Object ref = ip_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
ip_ = s;
return s;
@@ -2418,38 +2721,43 @@ public java.lang.String getIp() {
return (java.lang.String) ref;
}
}
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The bytes for ip.
*/
- public com.google.protobuf.ByteString
- getIpBytes() {
+ public com.google.protobuf.ByteString getIpBytes() {
java.lang.Object ref = ip_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
ip_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @param value The ip to set.
* @return This builder for chaining.
*/
- public Builder setIp(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setIp(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
ip_ = value;
bitField0_ |= 0x00001000;
onChanged();
return this;
}
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return This builder for chaining.
*/
public Builder clearIp() {
@@ -2458,14 +2766,17 @@ public Builder clearIp() {
onChanged();
return this;
}
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @param value The bytes for ip to set.
* @return This builder for chaining.
*/
- public Builder setIpBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setIpBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
ip_ = value;
bitField0_ |= 0x00001000;
@@ -2474,15 +2785,16 @@ public Builder setIpBytes(
}
private java.lang.Object destIp_ = "";
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The destIp.
*/
public java.lang.String getDestIp() {
java.lang.Object ref = destIp_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
destIp_ = s;
return s;
@@ -2490,38 +2802,43 @@ public java.lang.String getDestIp() {
return (java.lang.String) ref;
}
}
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The bytes for destIp.
*/
- public com.google.protobuf.ByteString
- getDestIpBytes() {
+ public com.google.protobuf.ByteString getDestIpBytes() {
java.lang.Object ref = destIp_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
destIp_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @param value The destIp to set.
* @return This builder for chaining.
*/
- public Builder setDestIp(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setDestIp(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
destIp_ = value;
bitField0_ |= 0x00002000;
onChanged();
return this;
}
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return This builder for chaining.
*/
public Builder clearDestIp() {
@@ -2530,14 +2847,17 @@ public Builder clearDestIp() {
onChanged();
return this;
}
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @param value The bytes for destIp to set.
* @return This builder for chaining.
*/
- public Builder setDestIpBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setDestIpBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
destIp_ = value;
bitField0_ |= 0x00002000;
@@ -2546,15 +2866,16 @@ public Builder setDestIpBytes(
}
private java.lang.Object direction_ = "";
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The direction.
*/
public java.lang.String getDirection() {
java.lang.Object ref = direction_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
direction_ = s;
return s;
@@ -2562,38 +2883,43 @@ public java.lang.String getDirection() {
return (java.lang.String) ref;
}
}
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The bytes for direction.
*/
- public com.google.protobuf.ByteString
- getDirectionBytes() {
+ public com.google.protobuf.ByteString getDirectionBytes() {
java.lang.Object ref = direction_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
direction_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @param value The direction to set.
* @return This builder for chaining.
*/
- public Builder setDirection(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setDirection(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
direction_ = value;
bitField0_ |= 0x00004000;
onChanged();
return this;
}
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return This builder for chaining.
*/
public Builder clearDirection() {
@@ -2602,14 +2928,17 @@ public Builder clearDirection() {
onChanged();
return this;
}
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @param value The bytes for direction to set.
* @return This builder for chaining.
*/
- public Builder setDirectionBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setDirectionBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
direction_ = value;
bitField0_ |= 0x00004000;
@@ -2617,17 +2946,21 @@ public Builder setDirectionBytes(
return this;
}
- private boolean isPending_ ;
+ private boolean isPending_;
+
/**
* bool is_pending = 16 [json_name = "isPending"];
+ *
* @return The isPending.
*/
@java.lang.Override
public boolean getIsPending() {
return isPending_;
}
+
/**
* bool is_pending = 16 [json_name = "isPending"];
+ *
* @param value The isPending to set.
* @return This builder for chaining.
*/
@@ -2638,8 +2971,10 @@ public Builder setIsPending(boolean value) {
onChanged();
return this;
}
+
/**
* bool is_pending = 16 [json_name = "isPending"];
+ *
* @return This builder for chaining.
*/
public Builder clearIsPending() {
@@ -2650,15 +2985,16 @@ public Builder clearIsPending() {
}
private java.lang.Object source_ = "";
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return The source.
*/
public java.lang.String getSource() {
java.lang.Object ref = source_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
source_ = s;
return s;
@@ -2666,38 +3002,43 @@ public java.lang.String getSource() {
return (java.lang.String) ref;
}
}
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return The bytes for source.
*/
- public com.google.protobuf.ByteString
- getSourceBytes() {
+ public com.google.protobuf.ByteString getSourceBytes() {
java.lang.Object ref = source_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
source_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string source = 17 [json_name = "source"];
+ *
* @param value The source to set.
* @return This builder for chaining.
*/
- public Builder setSource(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setSource(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
source_ = value;
bitField0_ |= 0x00010000;
onChanged();
return this;
}
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return This builder for chaining.
*/
public Builder clearSource() {
@@ -2706,14 +3047,17 @@ public Builder clearSource() {
onChanged();
return this;
}
+
/**
* string source = 17 [json_name = "source"];
+ *
* @param value The bytes for source to set.
* @return This builder for chaining.
*/
- public Builder setSourceBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setSourceBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
source_ = value;
bitField0_ |= 0x00010000;
@@ -2722,15 +3066,16 @@ public Builder setSourceBytes(
}
private java.lang.Object aktoVxlanId_ = "";
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The aktoVxlanId.
*/
public java.lang.String getAktoVxlanId() {
java.lang.Object ref = aktoVxlanId_;
if (!(ref instanceof java.lang.String)) {
- com.google.protobuf.ByteString bs =
- (com.google.protobuf.ByteString) ref;
+ com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
aktoVxlanId_ = s;
return s;
@@ -2738,38 +3083,43 @@ public java.lang.String getAktoVxlanId() {
return (java.lang.String) ref;
}
}
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The bytes for aktoVxlanId.
*/
- public com.google.protobuf.ByteString
- getAktoVxlanIdBytes() {
+ public com.google.protobuf.ByteString getAktoVxlanIdBytes() {
java.lang.Object ref = aktoVxlanId_;
if (ref instanceof String) {
- com.google.protobuf.ByteString b =
- com.google.protobuf.ByteString.copyFromUtf8(
- (java.lang.String) ref);
+ com.google.protobuf.ByteString b =
+ com.google.protobuf.ByteString.copyFromUtf8((java.lang.String) ref);
aktoVxlanId_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @param value The aktoVxlanId to set.
* @return This builder for chaining.
*/
- public Builder setAktoVxlanId(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setAktoVxlanId(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
aktoVxlanId_ = value;
bitField0_ |= 0x00020000;
onChanged();
return this;
}
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return This builder for chaining.
*/
public Builder clearAktoVxlanId() {
@@ -2778,14 +3128,17 @@ public Builder clearAktoVxlanId() {
onChanged();
return this;
}
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @param value The bytes for aktoVxlanId to set.
* @return This builder for chaining.
*/
- public Builder setAktoVxlanIdBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setAktoVxlanIdBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
aktoVxlanId_ = value;
bitField0_ |= 0x00020000;
@@ -2798,6 +3151,7 @@ public Builder setAktoVxlanIdBytes(
// @@protoc_insertion_point(class_scope:threat_detection.message.http_response_param.v1.HttpResponseParam)
private static final com.akto.proto.http_response_param.v1.HttpResponseParam DEFAULT_INSTANCE;
+
static {
DEFAULT_INSTANCE = new com.akto.proto.http_response_param.v1.HttpResponseParam();
}
@@ -2806,27 +3160,27 @@ public static com.akto.proto.http_response_param.v1.HttpResponseParam getDefault
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public HttpResponseParam 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();
- }
- };
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public HttpResponseParam 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;
@@ -2841,6 +3195,4 @@ public com.google.protobuf.Parser getParserForType() {
public com.akto.proto.http_response_param.v1.HttpResponseParam getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
-
}
-
diff --git a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamOrBuilder.java b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamOrBuilder.java
index 1fcc1d632d..a8a0247e17 100644
--- a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamOrBuilder.java
+++ b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamOrBuilder.java
@@ -1,247 +1,298 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: threat_detection/message/http_response_param/v1/http_response_param.proto
-// Protobuf Java Version: 4.28.3
+// Protobuf Java Version: 4.29.2
package com.akto.proto.http_response_param.v1;
-public interface HttpResponseParamOrBuilder extends
+public interface HttpResponseParamOrBuilder
+ extends
// @@protoc_insertion_point(interface_extends:threat_detection.message.http_response_param.v1.HttpResponseParam)
com.google.protobuf.MessageOrBuilder {
/**
* string method = 1 [json_name = "method"];
+ *
* @return The method.
*/
java.lang.String getMethod();
+
/**
* string method = 1 [json_name = "method"];
+ *
* @return The bytes for method.
*/
- com.google.protobuf.ByteString
- getMethodBytes();
+ com.google.protobuf.ByteString getMethodBytes();
/**
* string path = 2 [json_name = "path"];
+ *
* @return The path.
*/
java.lang.String getPath();
+
/**
* string path = 2 [json_name = "path"];
+ *
* @return The bytes for path.
*/
- com.google.protobuf.ByteString
- getPathBytes();
+ com.google.protobuf.ByteString getPathBytes();
/**
* string type = 3 [json_name = "type"];
+ *
* @return The type.
*/
java.lang.String getType();
+
/**
* string type = 3 [json_name = "type"];
+ *
* @return The bytes for type.
*/
- com.google.protobuf.ByteString
- getTypeBytes();
+ com.google.protobuf.ByteString getTypeBytes();
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
int getRequestHeadersCount();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
- */
- boolean containsRequestHeaders(
- java.lang.String key);
- /**
- * Use {@link #getRequestHeadersMap()} instead.
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
+ boolean containsRequestHeaders(java.lang.String key);
+
+ /** Use {@link #getRequestHeadersMap()} instead. */
@java.lang.Deprecated
java.util.Map
- getRequestHeaders();
+ getRequestHeaders();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
java.util.Map
- getRequestHeadersMap();
+ getRequestHeadersMap();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
/* nullable */
-com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrDefault(
+ com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrDefault(
java.lang.String key,
/* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue);
+ com.akto.proto.http_response_param.v1.StringList defaultValue);
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> request_headers = 4 [json_name = "requestHeaders"];
+ *
*/
- com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrThrow(
- java.lang.String key);
+ com.akto.proto.http_response_param.v1.StringList getRequestHeadersOrThrow(java.lang.String key);
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The requestPayload.
*/
java.lang.String getRequestPayload();
+
/**
* string request_payload = 5 [json_name = "requestPayload"];
+ *
* @return The bytes for requestPayload.
*/
- com.google.protobuf.ByteString
- getRequestPayloadBytes();
+ com.google.protobuf.ByteString getRequestPayloadBytes();
/**
* int32 api_collection_id = 6 [json_name = "apiCollectionId"];
+ *
* @return The apiCollectionId.
*/
int getApiCollectionId();
/**
* int32 status_code = 7 [json_name = "statusCode"];
+ *
* @return The statusCode.
*/
int getStatusCode();
/**
* string status = 8 [json_name = "status"];
+ *
* @return The status.
*/
java.lang.String getStatus();
+
/**
* string status = 8 [json_name = "status"];
+ *
* @return The bytes for status.
*/
- com.google.protobuf.ByteString
- getStatusBytes();
+ com.google.protobuf.ByteString getStatusBytes();
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
int getResponseHeadersCount();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
- */
- boolean containsResponseHeaders(
- java.lang.String key);
- /**
- * Use {@link #getResponseHeadersMap()} instead.
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
+ boolean containsResponseHeaders(java.lang.String key);
+
+ /** Use {@link #getResponseHeadersMap()} instead. */
@java.lang.Deprecated
java.util.Map
- getResponseHeaders();
+ getResponseHeaders();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
java.util.Map
- getResponseHeadersMap();
+ getResponseHeadersMap();
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
/* nullable */
-com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrDefault(
+ com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrDefault(
java.lang.String key,
/* nullable */
-com.akto.proto.http_response_param.v1.StringList defaultValue);
+ com.akto.proto.http_response_param.v1.StringList defaultValue);
+
/**
- * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
+ * map<string, .threat_detection.message.http_response_param.v1.StringList> response_headers = 9 [json_name = "responseHeaders"];
+ *
*/
- com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrThrow(
- java.lang.String key);
+ com.akto.proto.http_response_param.v1.StringList getResponseHeadersOrThrow(java.lang.String key);
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The responsePayload.
*/
java.lang.String getResponsePayload();
+
/**
* string response_payload = 10 [json_name = "responsePayload"];
+ *
* @return The bytes for responsePayload.
*/
- com.google.protobuf.ByteString
- getResponsePayloadBytes();
+ com.google.protobuf.ByteString getResponsePayloadBytes();
/**
* int32 time = 11 [json_name = "time"];
+ *
* @return The time.
*/
int getTime();
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The aktoAccountId.
*/
java.lang.String getAktoAccountId();
+
/**
* string akto_account_id = 12 [json_name = "aktoAccountId"];
+ *
* @return The bytes for aktoAccountId.
*/
- com.google.protobuf.ByteString
- getAktoAccountIdBytes();
+ com.google.protobuf.ByteString getAktoAccountIdBytes();
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The ip.
*/
java.lang.String getIp();
+
/**
* string ip = 13 [json_name = "ip"];
+ *
* @return The bytes for ip.
*/
- com.google.protobuf.ByteString
- getIpBytes();
+ com.google.protobuf.ByteString getIpBytes();
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The destIp.
*/
java.lang.String getDestIp();
+
/**
* string dest_ip = 14 [json_name = "destIp"];
+ *
* @return The bytes for destIp.
*/
- com.google.protobuf.ByteString
- getDestIpBytes();
+ com.google.protobuf.ByteString getDestIpBytes();
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The direction.
*/
java.lang.String getDirection();
+
/**
* string direction = 15 [json_name = "direction"];
+ *
* @return The bytes for direction.
*/
- com.google.protobuf.ByteString
- getDirectionBytes();
+ com.google.protobuf.ByteString getDirectionBytes();
/**
* bool is_pending = 16 [json_name = "isPending"];
+ *
* @return The isPending.
*/
boolean getIsPending();
/**
* string source = 17 [json_name = "source"];
+ *
* @return The source.
*/
java.lang.String getSource();
+
/**
* string source = 17 [json_name = "source"];
+ *
* @return The bytes for source.
*/
- com.google.protobuf.ByteString
- getSourceBytes();
+ com.google.protobuf.ByteString getSourceBytes();
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The aktoVxlanId.
*/
java.lang.String getAktoVxlanId();
+
/**
* string akto_vxlan_id = 18 [json_name = "aktoVxlanId"];
+ *
* @return The bytes for aktoVxlanId.
*/
- com.google.protobuf.ByteString
- getAktoVxlanIdBytes();
+ com.google.protobuf.ByteString getAktoVxlanIdBytes();
}
diff --git a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamProto.java b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamProto.java
index 6e0a985d01..19f17c40b7 100644
--- a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamProto.java
+++ b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/HttpResponseParamProto.java
@@ -1,127 +1,150 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: threat_detection/message/http_response_param/v1/http_response_param.proto
-// Protobuf Java Version: 4.28.3
+// Protobuf Java Version: 4.29.2
package com.akto.proto.http_response_param.v1;
public final class HttpResponseParamProto {
private HttpResponseParamProto() {}
+
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 28,
- /* patch= */ 3,
- /* suffix= */ "",
- HttpResponseParamProto.class.getName());
- }
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistryLite registry) {
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ HttpResponseParamProto.class.getName());
}
- public static void registerAllExtensions(
- com.google.protobuf.ExtensionRegistry registry) {
- registerAllExtensions(
- (com.google.protobuf.ExtensionRegistryLite) registry);
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {}
+
+ public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) {
+ registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry);
}
+
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
- static final
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
- static final
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor;
- static final
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor;
- static final
- com.google.protobuf.GeneratedMessage.FieldAccessorTable
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor;
+ static final com.google.protobuf.GeneratedMessage.FieldAccessorTable
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_fieldAccessorTable;
- public static com.google.protobuf.Descriptors.FileDescriptor
- getDescriptor() {
+ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
return descriptor;
}
- private static com.google.protobuf.Descriptors.FileDescriptor
- descriptor;
+
+ private static com.google.protobuf.Descriptors.FileDescriptor descriptor;
+
static {
java.lang.String[] descriptorData = {
- "\nIthreat_detection/message/http_response" +
- "_param/v1/http_response_param.proto\022/thr" +
- "eat_detection.message.http_response_para" +
- "m.v1\"$\n\nStringList\022\026\n\006values\030\001 \003(\tR\006valu" +
- "es\"\361\007\n\021HttpResponseParam\022\026\n\006method\030\001 \001(\t" +
- "R\006method\022\022\n\004path\030\002 \001(\tR\004path\022\022\n\004type\030\003 \001" +
- "(\tR\004type\022\177\n\017request_headers\030\004 \003(\0132V.thre" +
- "at_detection.message.http_response_param" +
- ".v1.HttpResponseParam.RequestHeadersEntr" +
- "yR\016requestHeaders\022\'\n\017request_payload\030\005 \001" +
- "(\tR\016requestPayload\022*\n\021api_collection_id\030" +
- "\006 \001(\005R\017apiCollectionId\022\037\n\013status_code\030\007 " +
- "\001(\005R\nstatusCode\022\026\n\006status\030\010 \001(\tR\006status\022" +
- "\202\001\n\020response_headers\030\t \003(\0132W.threat_dete" +
- "ction.message.http_response_param.v1.Htt" +
- "pResponseParam.ResponseHeadersEntryR\017res" +
- "ponseHeaders\022)\n\020response_payload\030\n \001(\tR\017" +
- "responsePayload\022\022\n\004time\030\013 \001(\005R\004time\022&\n\017a" +
- "kto_account_id\030\014 \001(\tR\raktoAccountId\022\016\n\002i" +
- "p\030\r \001(\tR\002ip\022\027\n\007dest_ip\030\016 \001(\tR\006destIp\022\034\n\t" +
- "direction\030\017 \001(\tR\tdirection\022\035\n\nis_pending" +
- "\030\020 \001(\010R\tisPending\022\026\n\006source\030\021 \001(\tR\006sourc" +
- "e\022\"\n\rakto_vxlan_id\030\022 \001(\tR\013aktoVxlanId\032~\n" +
- "\023RequestHeadersEntry\022\020\n\003key\030\001 \001(\tR\003key\022Q" +
- "\n\005value\030\002 \001(\0132;.threat_detection.message" +
- ".http_response_param.v1.StringListR\005valu" +
- "e:\0028\001\032\177\n\024ResponseHeadersEntry\022\020\n\003key\030\001 \001" +
- "(\tR\003key\022Q\n\005value\030\002 \001(\0132;.threat_detectio" +
- "n.message.http_response_param.v1.StringL" +
- "istR\005value:\0028\001B\331\002\nHcom.akto.proto.genera" +
- "ted.threat_detection.message.http_respon" +
- "se_param.v1B\026HttpResponseParamProtoP\001Z\"p" +
- "rotobuf/traffic_payload;trafficpb\242\002\003TMH\252" +
- "\002,ThreatDetection.Message.HttpResponsePa" +
- "ram.V1\312\002,ThreatDetection\\Message\\HttpRes" +
- "ponseParam\\V1\342\0028ThreatDetection\\Message\\" +
- "HttpResponseParam\\V1\\GPBMetadata\352\002/Threa" +
- "tDetection::Message::HttpResponseParam::" +
- "V1b\006proto3"
+ "\nIthreat_detection/message/http_response"
+ + "_param/v1/http_response_param.proto\022/thr"
+ + "eat_detection.message.http_response_para"
+ + "m.v1\"$\n\nStringList\022\026\n\006values\030\001 \003(\tR\006valu"
+ + "es\"\361\007\n\021HttpResponseParam\022\026\n\006method\030\001 \001(\t"
+ + "R\006method\022\022\n\004path\030\002 \001(\tR\004path\022\022\n\004type\030\003 \001"
+ + "(\tR\004type\022\177\n\017request_headers\030\004 \003(\0132V.thre"
+ + "at_detection.message.http_response_param"
+ + ".v1.HttpResponseParam.RequestHeadersEntr"
+ + "yR\016requestHeaders\022\'\n\017request_payload\030\005 \001"
+ + "(\tR\016requestPayload\022*\n\021api_collection_id\030"
+ + "\006 \001(\005R\017apiCollectionId\022\037\n\013status_code\030\007 "
+ + "\001(\005R\nstatusCode\022\026\n\006status\030\010 \001(\tR\006status\022"
+ + "\202\001\n\020response_headers\030\t \003(\0132W.threat_dete"
+ + "ction.message.http_response_param.v1.Htt"
+ + "pResponseParam.ResponseHeadersEntryR\017res"
+ + "ponseHeaders\022)\n\020response_payload\030\n \001(\tR\017"
+ + "responsePayload\022\022\n\004time\030\013 \001(\005R\004time\022&\n\017a"
+ + "kto_account_id\030\014 \001(\tR\raktoAccountId\022\016\n\002i"
+ + "p\030\r \001(\tR\002ip\022\027\n\007dest_ip\030\016 \001(\tR\006destIp\022\034\n\t"
+ + "direction\030\017 \001(\tR\tdirection\022\035\n\nis_pending"
+ + "\030\020 \001(\010R\tisPending\022\026\n\006source\030\021 \001(\tR\006sourc"
+ + "e\022\"\n\rakto_vxlan_id\030\022 \001(\tR\013aktoVxlanId\032~\n"
+ + "\023RequestHeadersEntry\022\020\n\003key\030\001 \001(\tR\003key\022Q"
+ + "\n\005value\030\002 \001(\0132;.threat_detection.message"
+ + ".http_response_param.v1.StringListR\005valu"
+ + "e:\0028\001\032\177\n\024ResponseHeadersEntry\022\020\n\003key\030\001 \001"
+ + "(\tR\003key\022Q\n\005value\030\002 \001(\0132;.threat_detectio"
+ + "n.message.http_response_param.v1.StringL"
+ + "istR\005value:\0028\001B\331\002\nHcom.akto.proto.genera"
+ + "ted.threat_detection.message.http_respon"
+ + "se_param.v1B\026HttpResponseParamProtoP\001Z\"p"
+ + "rotobuf/traffic_payload;trafficpb\242\002\003TMH\252"
+ + "\002,ThreatDetection.Message.HttpResponsePa"
+ + "ram.V1\312\002,ThreatDetection\\Message\\HttpRes"
+ + "ponseParam\\V1\342\0028ThreatDetection\\Message\\"
+ + "HttpResponseParam\\V1\\GPBMetadata\352\002/Threa"
+ + "tDetection::Message::HttpResponseParam::"
+ + "V1b\006proto3"
};
- descriptor = com.google.protobuf.Descriptors.FileDescriptor
- .internalBuildGeneratedFileFrom(descriptorData,
- new com.google.protobuf.Descriptors.FileDescriptor[] {
- });
+ descriptor =
+ com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
+ descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] {});
internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor =
- getDescriptor().getMessageTypes().get(0);
- internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor,
- new java.lang.String[] { "Values", });
+ getDescriptor().getMessageTypes().get(0);
+ internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor,
+ new java.lang.String[] {
+ "Values",
+ });
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor =
- getDescriptor().getMessageTypes().get(1);
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor,
- new java.lang.String[] { "Method", "Path", "Type", "RequestHeaders", "RequestPayload", "ApiCollectionId", "StatusCode", "Status", "ResponseHeaders", "ResponsePayload", "Time", "AktoAccountId", "Ip", "DestIp", "Direction", "IsPending", "Source", "AktoVxlanId", });
+ getDescriptor().getMessageTypes().get(1);
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor,
+ new java.lang.String[] {
+ "Method",
+ "Path",
+ "Type",
+ "RequestHeaders",
+ "RequestPayload",
+ "ApiCollectionId",
+ "StatusCode",
+ "Status",
+ "ResponseHeaders",
+ "ResponsePayload",
+ "Time",
+ "AktoAccountId",
+ "Ip",
+ "DestIp",
+ "Direction",
+ "IsPending",
+ "Source",
+ "AktoVxlanId",
+ });
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor =
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor.getNestedTypes().get(0);
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor,
- new java.lang.String[] { "Key", "Value", });
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor
+ .getNestedTypes()
+ .get(0);
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_RequestHeadersEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
+ });
internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor =
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor.getNestedTypes().get(1);
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_fieldAccessorTable = new
- com.google.protobuf.GeneratedMessage.FieldAccessorTable(
- internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor,
- new java.lang.String[] { "Key", "Value", });
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_descriptor
+ .getNestedTypes()
+ .get(1);
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_fieldAccessorTable =
+ new com.google.protobuf.GeneratedMessage.FieldAccessorTable(
+ internal_static_threat_detection_message_http_response_param_v1_HttpResponseParam_ResponseHeadersEntry_descriptor,
+ new java.lang.String[] {
+ "Key", "Value",
+ });
descriptor.resolveAllFeaturesImmutable();
}
diff --git a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringList.java b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringList.java
index 4a6ce60a7d..54f54656d0 100644
--- a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringList.java
+++ b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringList.java
@@ -1,7 +1,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: threat_detection/message/http_response_param/v1/http_response_param.proto
-// Protobuf Java Version: 4.28.3
+// Protobuf Java Version: 4.29.2
package com.akto.proto.http_response_param.v1;
@@ -10,83 +10,94 @@
import java.util.List;
import java.util.ListIterator;
-/**
- * Protobuf type {@code threat_detection.message.http_response_param.v1.StringList}
- */
-public final class StringList extends
- com.google.protobuf.GeneratedMessage implements
- // @@protoc_insertion_point(message_implements:threat_detection.message.http_response_param.v1.StringList)
- StringListOrBuilder, List {
-private static final long serialVersionUID = 0L;
+/** Protobuf type {@code threat_detection.message.http_response_param.v1.StringList} */
+public final class StringList extends com.google.protobuf.GeneratedMessage
+ implements
+ // @@protoc_insertion_point(message_implements:threat_detection.message.http_response_param.v1.StringList)
+ StringListOrBuilder,
+ List {
+ private static final long serialVersionUID = 0L;
+
static {
com.google.protobuf.RuntimeVersion.validateProtobufGencodeVersion(
- com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
- /* major= */ 4,
- /* minor= */ 28,
- /* patch= */ 3,
- /* suffix= */ "",
- StringList.class.getName());
+ com.google.protobuf.RuntimeVersion.RuntimeDomain.PUBLIC,
+ /* major= */ 4,
+ /* minor= */ 29,
+ /* patch= */ 2,
+ /* suffix= */ "",
+ StringList.class.getName());
}
+
// Use StringList.newBuilder() to construct.
private StringList(com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
}
+
private StringList() {
- values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ values_ = com.google.protobuf.LazyStringArrayList.emptyList();
}
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.akto.proto.http_response_param.v1.StringList.class, com.akto.proto.http_response_param.v1.StringList.Builder.class);
+ com.akto.proto.http_response_param.v1.StringList.class,
+ com.akto.proto.http_response_param.v1.StringList.Builder.class);
}
public static final int VALUES_FIELD_NUMBER = 1;
+
@SuppressWarnings("serial")
private com.google.protobuf.LazyStringArrayList values_ =
com.google.protobuf.LazyStringArrayList.emptyList();
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return A list containing the values.
*/
- public com.google.protobuf.ProtocolStringList
- getValuesList() {
+ public com.google.protobuf.ProtocolStringList getValuesList() {
return values_;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return The count of values.
*/
public int getValuesCount() {
return values_.size();
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the element to return.
* @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
- public com.google.protobuf.ByteString
- getValuesBytes(int index) {
+ public com.google.protobuf.ByteString getValuesBytes(int index) {
return values_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
+
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
@@ -98,8 +109,7 @@ public final boolean isInitialized() {
}
@java.lang.Override
- public void writeTo(com.google.protobuf.CodedOutputStream output)
- throws java.io.IOException {
+ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
for (int i = 0; i < values_.size(); i++) {
com.google.protobuf.GeneratedMessage.writeString(output, 1, values_.getRaw(i));
}
@@ -128,15 +138,15 @@ public int getSerializedSize() {
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
- return true;
+ return true;
}
if (!(obj instanceof com.akto.proto.http_response_param.v1.StringList)) {
return super.equals(obj);
}
- com.akto.proto.http_response_param.v1.StringList other = (com.akto.proto.http_response_param.v1.StringList) obj;
+ com.akto.proto.http_response_param.v1.StringList other =
+ (com.akto.proto.http_response_param.v1.StringList) obj;
- if (!getValuesList()
- .equals(other.getValuesList())) return false;
+ if (!getValuesList().equals(other.getValuesList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@@ -157,141 +167,142 @@ public int hashCode() {
return hash;
}
- public static com.akto.proto.http_response_param.v1.StringList parseFrom(
- java.nio.ByteBuffer data)
+ public static com.akto.proto.http_response_param.v1.StringList parseFrom(java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
- java.nio.ByteBuffer data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
- byte[] data,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
- public static com.akto.proto.http_response_param.v1.StringList parseFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input);
+
+ public static com.akto.proto.http_response_param.v1.StringList parseFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
}
- public static com.akto.proto.http_response_param.v1.StringList parseDelimitedFrom(java.io.InputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseDelimitedWithIOException(PARSER, input);
+ public static com.akto.proto.http_response_param.v1.StringList parseDelimitedFrom(
+ java.io.InputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(PARSER, input);
}
public static com.akto.proto.http_response_param.v1.StringList parseDelimitedFrom(
- java.io.InputStream input,
- com.google.protobuf.ExtensionRegistryLite extensionRegistry)
+ java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseDelimitedWithIOException(
+ PARSER, input, extensionRegistry);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
- com.google.protobuf.CodedInputStream input)
- throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input);
+ com.google.protobuf.CodedInputStream input) throws java.io.IOException {
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(PARSER, input);
}
+
public static com.akto.proto.http_response_param.v1.StringList parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
- return com.google.protobuf.GeneratedMessage
- .parseWithIOException(PARSER, input, extensionRegistry);
+ return com.google.protobuf.GeneratedMessage.parseWithIOException(
+ PARSER, input, extensionRegistry);
}
@java.lang.Override
- public Builder newBuilderForType() { return newBuilder(); }
+ public Builder newBuilderForType() {
+ return newBuilder();
+ }
+
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
+
public static Builder newBuilder(com.akto.proto.http_response_param.v1.StringList prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
+
@java.lang.Override
public Builder toBuilder() {
- return this == DEFAULT_INSTANCE
- ? new Builder() : new Builder().mergeFrom(this);
+ return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
- protected Builder newBuilderForType(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
- /**
- * Protobuf type {@code threat_detection.message.http_response_param.v1.StringList}
- */
- public static final class Builder extends
- com.google.protobuf.GeneratedMessage.Builder implements
+
+ /** Protobuf type {@code threat_detection.message.http_response_param.v1.StringList} */
+ public static final class Builder extends com.google.protobuf.GeneratedMessage.Builder
+ implements
// @@protoc_insertion_point(builder_implements:threat_detection.message.http_response_param.v1.StringList)
com.akto.proto.http_response_param.v1.StringListOrBuilder {
- public static final com.google.protobuf.Descriptors.Descriptor
- getDescriptor() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
+ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_StringList_fieldAccessorTable
.ensureFieldAccessorsInitialized(
- com.akto.proto.http_response_param.v1.StringList.class, com.akto.proto.http_response_param.v1.StringList.Builder.class);
+ com.akto.proto.http_response_param.v1.StringList.class,
+ com.akto.proto.http_response_param.v1.StringList.Builder.class);
}
- // Construct using com.akto.proto.http_response_param.v1.StringList.newBuilder()
- private Builder() {
-
- }
+ // Construct using
+ // com.akto.proto.generated.threat_detection.message.http_response_param.v1.StringList.newBuilder()
+ private Builder() {}
- private Builder(
- com.google.protobuf.GeneratedMessage.BuilderParent parent) {
+ private Builder(com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
-
}
+
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
- values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
+ values_ = com.google.protobuf.LazyStringArrayList.emptyList();
return this;
}
@java.lang.Override
- public com.google.protobuf.Descriptors.Descriptor
- getDescriptorForType() {
- return com.akto.proto.http_response_param.v1.HttpResponseParamProto.internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
+ public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() {
+ return com.akto.proto.http_response_param.v1.HttpResponseParamProto
+ .internal_static_threat_detection_message_http_response_param_v1_StringList_descriptor;
}
@java.lang.Override
@@ -310,8 +321,11 @@ public com.akto.proto.http_response_param.v1.StringList build() {
@java.lang.Override
public com.akto.proto.http_response_param.v1.StringList buildPartial() {
- com.akto.proto.http_response_param.v1.StringList result = new com.akto.proto.http_response_param.v1.StringList(this);
- if (bitField0_ != 0) { buildPartial0(result); }
+ com.akto.proto.http_response_param.v1.StringList result =
+ new com.akto.proto.http_response_param.v1.StringList(this);
+ if (bitField0_ != 0) {
+ buildPartial0(result);
+ }
onBuilt();
return result;
}
@@ -327,7 +341,7 @@ private void buildPartial0(com.akto.proto.http_response_param.v1.StringList resu
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.akto.proto.http_response_param.v1.StringList) {
- return mergeFrom((com.akto.proto.http_response_param.v1.StringList)other);
+ return mergeFrom((com.akto.proto.http_response_param.v1.StringList) other);
} else {
super.mergeFrom(other);
return this;
@@ -335,7 +349,8 @@ public Builder mergeFrom(com.google.protobuf.Message other) {
}
public Builder mergeFrom(com.akto.proto.http_response_param.v1.StringList other) {
- if (other == com.akto.proto.http_response_param.v1.StringList.getDefaultInstance()) return this;
+ if (other == com.akto.proto.http_response_param.v1.StringList.getDefaultInstance())
+ return this;
if (!other.values_.isEmpty()) {
if (values_.isEmpty()) {
values_ = other.values_;
@@ -372,18 +387,20 @@ public Builder mergeFrom(
case 0:
done = true;
break;
- case 10: {
- java.lang.String s = input.readStringRequireUtf8();
- ensureValuesIsMutable();
- values_.add(s);
- break;
- } // case 10
- default: {
- if (!super.parseUnknownField(input, extensionRegistry, tag)) {
- done = true; // was an endgroup tag
- }
- break;
- } // default:
+ case 10:
+ {
+ java.lang.String s = input.readStringRequireUtf8();
+ ensureValuesIsMutable();
+ values_.add(s);
+ break;
+ } // case 10
+ 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) {
@@ -393,111 +410,130 @@ public Builder mergeFrom(
} // finally
return this;
}
+
private int bitField0_;
private com.google.protobuf.LazyStringArrayList values_ =
com.google.protobuf.LazyStringArrayList.emptyList();
+
private void ensureValuesIsMutable() {
if (!values_.isModifiable()) {
values_ = new com.google.protobuf.LazyStringArrayList(values_);
}
bitField0_ |= 0x00000001;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return A list containing the values.
*/
- public com.google.protobuf.ProtocolStringList
- getValuesList() {
+ public com.google.protobuf.ProtocolStringList getValuesList() {
values_.makeImmutable();
return values_;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return The count of values.
*/
public int getValuesCount() {
return values_.size();
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the element to return.
* @return The values at the given index.
*/
public java.lang.String getValues(int index) {
return values_.get(index);
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
- public com.google.protobuf.ByteString
- getValuesBytes(int index) {
+ public com.google.protobuf.ByteString getValuesBytes(int index) {
return values_.getByteString(index);
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index to set the value at.
* @param value The values to set.
* @return This builder for chaining.
*/
- public Builder setValues(
- int index, java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder setValues(int index, java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
ensureValuesIsMutable();
values_.set(index, value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param value The values to add.
* @return This builder for chaining.
*/
- public Builder addValues(
- java.lang.String value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder addValues(java.lang.String value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
ensureValuesIsMutable();
values_.add(value);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param values The values to add.
* @return This builder for chaining.
*/
- public Builder addAllValues(
- java.lang.Iterable values) {
+ public Builder addAllValues(java.lang.Iterable values) {
ensureValuesIsMutable();
- com.google.protobuf.AbstractMessageLite.Builder.addAll(
- values, values_);
+ com.google.protobuf.AbstractMessageLite.Builder.addAll(values, values_);
bitField0_ |= 0x00000001;
onChanged();
return this;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return This builder for chaining.
*/
public Builder clearValues() {
- values_ =
- com.google.protobuf.LazyStringArrayList.emptyList();
- bitField0_ = (bitField0_ & ~0x00000001);;
+ values_ = com.google.protobuf.LazyStringArrayList.emptyList();
+ bitField0_ = (bitField0_ & ~0x00000001);
+ ;
onChanged();
return this;
}
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param value The bytes of the values to add.
* @return This builder for chaining.
*/
- public Builder addValuesBytes(
- com.google.protobuf.ByteString value) {
- if (value == null) { throw new NullPointerException(); }
+ public Builder addValuesBytes(com.google.protobuf.ByteString value) {
+ if (value == null) {
+ throw new NullPointerException();
+ }
checkByteStringIsUtf8(value);
ensureValuesIsMutable();
values_.add(value);
@@ -511,6 +547,7 @@ public Builder addValuesBytes(
// @@protoc_insertion_point(class_scope:threat_detection.message.http_response_param.v1.StringList)
private static final com.akto.proto.http_response_param.v1.StringList DEFAULT_INSTANCE;
+
static {
DEFAULT_INSTANCE = new com.akto.proto.http_response_param.v1.StringList();
}
@@ -519,27 +556,27 @@ public static com.akto.proto.http_response_param.v1.StringList getDefaultInstanc
return DEFAULT_INSTANCE;
}
- private static final com.google.protobuf.Parser
- PARSER = new com.google.protobuf.AbstractParser() {
- @java.lang.Override
- public StringList 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();
- }
- };
+ private static final com.google.protobuf.Parser PARSER =
+ new com.google.protobuf.AbstractParser() {
+ @java.lang.Override
+ public StringList 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;
@@ -554,99 +591,119 @@ public com.google.protobuf.Parser getParserForType() {
public com.akto.proto.http_response_param.v1.StringList getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
-
+
@Override
public int size() {
return values_.size();
}
+
@Override
public boolean isEmpty() {
return values_.isEmpty();
}
+
@Override
public boolean contains(Object o) {
return values_.contains(o);
}
+
@Override
public Iterator iterator() {
return values_.iterator();
}
+
@Override
public Object[] toArray() {
return values_.toArray();
}
+
@Override
public T[] toArray(T[] a) {
return values_.toArray(a);
}
+
@Override
public boolean add(String e) {
return values_.add(e);
}
+
@Override
public boolean remove(Object o) {
return values_.remove(o);
}
+
@Override
public boolean containsAll(Collection> c) {
return values_.containsAll(c);
}
+
@Override
public boolean addAll(Collection extends String> c) {
return values_.addAll(c);
}
+
@Override
public boolean addAll(int index, Collection extends String> c) {
return values_.addAll(index, c);
}
+
@Override
public boolean removeAll(Collection> c) {
return values_.removeAll(c);
}
+
@Override
public boolean retainAll(Collection> c) {
return values_.retainAll(c);
}
+
@Override
public void clear() {
values_.clear();
}
+
@Override
public String get(int index) {
return values_.get(index);
}
+
@Override
public String set(int index, String element) {
return values_.set(index, element);
}
+
@Override
public void add(int index, String element) {
values_.add(index, element);
}
+
@Override
public String remove(int index) {
return values_.remove(index);
}
+
@Override
public int indexOf(Object o) {
return values_.indexOf(o);
}
+
@Override
public int lastIndexOf(Object o) {
return values_.lastIndexOf(o);
}
+
@Override
public ListIterator listIterator() {
return values_.listIterator();
}
+
@Override
public ListIterator listIterator(int index) {
return values_.listIterator(index);
}
+
@Override
public List subList(int fromIndex, int toIndex) {
return values_.subList(fromIndex, toIndex);
}
-
}
-
diff --git a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringListOrBuilder.java b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringListOrBuilder.java
index 8304180a84..e778a60b09 100644
--- a/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringListOrBuilder.java
+++ b/libs/protobuf/src/main/java/com/akto/proto/http_response_param/v1/StringListOrBuilder.java
@@ -1,36 +1,42 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// NO CHECKED-IN PROTOBUF GENCODE
// source: threat_detection/message/http_response_param/v1/http_response_param.proto
-// Protobuf Java Version: 4.28.3
+// Protobuf Java Version: 4.29.2
package com.akto.proto.http_response_param.v1;
-public interface StringListOrBuilder extends
+public interface StringListOrBuilder
+ extends
// @@protoc_insertion_point(interface_extends:threat_detection.message.http_response_param.v1.StringList)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return A list containing the values.
*/
- java.util.List
- getValuesList();
+ java.util.List getValuesList();
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @return The count of values.
*/
int getValuesCount();
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the element to return.
* @return The values at the given index.
*/
java.lang.String getValues(int index);
+
/**
* repeated string values = 1 [json_name = "values"];
+ *
* @param index The index of the value to return.
* @return The bytes of the values at the given index.
*/
- com.google.protobuf.ByteString
- getValuesBytes(int index);
+ com.google.protobuf.ByteString getValuesBytes(int index);
}