public final class Squash extends com.google.protobuf.GeneratedMessageV3 implements SquashOrBuilder
[#next-free-field: 6]Protobuf type
envoy.extensions.filters.http.squash.v3.Squash| Modifier and Type | Class and Description |
|---|---|
static class |
Squash.Builder
[#next-free-field: 6]
Protobuf type
envoy.extensions.filters.http.squash.v3.Squash |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ATTACHMENT_POLL_PERIOD_FIELD_NUMBER |
static int |
ATTACHMENT_TEMPLATE_FIELD_NUMBER |
static int |
ATTACHMENT_TIMEOUT_FIELD_NUMBER |
static int |
CLUSTER_FIELD_NUMBER |
static int |
REQUEST_TIMEOUT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
com.google.protobuf.Duration |
getAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
com.google.protobuf.DurationOrBuilder |
getAttachmentPollPeriodOrBuilder()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
com.google.protobuf.Struct |
getAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
com.google.protobuf.StructOrBuilder |
getAttachmentTemplateOrBuilder()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
com.google.protobuf.Duration |
getAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached.
|
com.google.protobuf.DurationOrBuilder |
getAttachmentTimeoutOrBuilder()
The total timeout Squash will delay a request and wait for it to be attached.
|
String |
getCluster()
The name of the cluster that hosts the Squash server.
|
com.google.protobuf.ByteString |
getClusterBytes()
The name of the cluster that hosts the Squash server.
|
static Squash |
getDefaultInstance() |
Squash |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Parser<Squash> |
getParserForType() |
com.google.protobuf.Duration |
getRequestTimeout()
The timeout for individual requests sent to the Squash cluster.
|
com.google.protobuf.DurationOrBuilder |
getRequestTimeoutOrBuilder()
The timeout for individual requests sent to the Squash cluster.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server
(to check if has been attached).
|
boolean |
hasAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request.
|
boolean |
hasAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached.
|
int |
hashCode() |
boolean |
hasRequestTimeout()
The timeout for individual requests sent to the Squash cluster.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Squash.Builder |
newBuilder() |
static Squash.Builder |
newBuilder(Squash prototype) |
Squash.Builder |
newBuilderForType() |
protected Squash.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Squash |
parseDelimitedFrom(InputStream input) |
static Squash |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Squash |
parseFrom(byte[] data) |
static Squash |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Squash |
parseFrom(ByteBuffer data) |
static Squash |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Squash |
parseFrom(com.google.protobuf.ByteString data) |
static Squash |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Squash |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Squash |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Squash |
parseFrom(InputStream input) |
static Squash |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Squash> |
parser() |
Squash.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int CLUSTER_FIELD_NUMBER
public static final int ATTACHMENT_TEMPLATE_FIELD_NUMBER
public static final int REQUEST_TIMEOUT_FIELD_NUMBER
public static final int ATTACHMENT_TIMEOUT_FIELD_NUMBER
public static final int ATTACHMENT_POLL_PERIOD_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public String getCluster()
The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }getCluster in interface SquashOrBuilderpublic com.google.protobuf.ByteString getClusterBytes()
The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }getClusterBytes in interface SquashOrBuilderpublic boolean hasAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;hasAttachmentTemplate in interface SquashOrBuilderpublic com.google.protobuf.Struct getAttachmentTemplate()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;getAttachmentTemplate in interface SquashOrBuilderpublic com.google.protobuf.StructOrBuilder getAttachmentTemplateOrBuilder()
When the filter requests the Squash server to create a DebugAttachment, it will use this
structure as template for the body of the request. It can contain reference to environment
variables in the form of '{{ ENV_VAR_NAME }}'. These can be used to provide the Squash server
with more information to find the process to attach the debugger to. For example, in a
Istio/k8s environment, this will contain information on the pod:
.. code-block:: json
{
"spec": {
"attachment": {
"pod": "{{ POD_NAME }}",
"namespace": "{{ POD_NAMESPACE }}"
},
"match_request": true
}
}
(where POD_NAME, POD_NAMESPACE are configured in the pod via the Downward API)
.google.protobuf.Struct attachment_template = 2;getAttachmentTemplateOrBuilder in interface SquashOrBuilderpublic boolean hasRequestTimeout()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;hasRequestTimeout in interface SquashOrBuilderpublic com.google.protobuf.Duration getRequestTimeout()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;getRequestTimeout in interface SquashOrBuilderpublic com.google.protobuf.DurationOrBuilder getRequestTimeoutOrBuilder()
The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;getRequestTimeoutOrBuilder in interface SquashOrBuilderpublic boolean hasAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;hasAttachmentTimeout in interface SquashOrBuilderpublic com.google.protobuf.Duration getAttachmentTimeout()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;getAttachmentTimeout in interface SquashOrBuilderpublic com.google.protobuf.DurationOrBuilder getAttachmentTimeoutOrBuilder()
The total timeout Squash will delay a request and wait for it to be attached. Defaults to 60 seconds.
.google.protobuf.Duration attachment_timeout = 4;getAttachmentTimeoutOrBuilder in interface SquashOrBuilderpublic boolean hasAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;hasAttachmentPollPeriod in interface SquashOrBuilderpublic com.google.protobuf.Duration getAttachmentPollPeriod()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;getAttachmentPollPeriod in interface SquashOrBuilderpublic com.google.protobuf.DurationOrBuilder getAttachmentPollPeriodOrBuilder()
Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached). Defaults to 1 second.
.google.protobuf.Duration attachment_poll_period = 5;getAttachmentPollPeriodOrBuilder in interface SquashOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Squash parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Squash parseFrom(InputStream input) throws IOException
IOExceptionpublic static Squash parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Squash parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Squash parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Squash parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Squash parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Squash.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Squash.Builder newBuilder()
public static Squash.Builder newBuilder(Squash prototype)
public Squash.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Squash.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Squash getDefaultInstance()
public static com.google.protobuf.Parser<Squash> parser()
public com.google.protobuf.Parser<Squash> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Squash getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018–2021 The Envoy Project. All rights reserved.