Class Squash
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
io.envoyproxy.envoy.config.filter.http.squash.v2.Squash
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SquashOrBuilder,Serializable
[#next-free-field: 6]Protobuf type
envoy.config.filter.http.squash.v2.Squash- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancom.google.protobuf.DurationAmount of time to poll for the status of the attachment object in the Squash server (to check if has been attached).com.google.protobuf.DurationOrBuilderAmount of time to poll for the status of the attachment object in the Squash server (to check if has been attached).com.google.protobuf.StructWhen 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.StructOrBuilderWhen 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.DurationThe total timeout Squash will delay a request and wait for it to be attached.com.google.protobuf.DurationOrBuilderThe total timeout Squash will delay a request and wait for it to be attached.The name of the cluster that hosts the Squash server.com.google.protobuf.ByteStringThe name of the cluster that hosts the Squash server.static Squashstatic final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Parser<Squash>com.google.protobuf.DurationThe timeout for individual requests sent to the Squash cluster.com.google.protobuf.DurationOrBuilderThe timeout for individual requests sent to the Squash cluster.intbooleanAmount of time to poll for the status of the attachment object in the Squash server (to check if has been attached).booleanWhen the filter requests the Squash server to create a DebugAttachment, it will use this structure as template for the body of the request.booleanThe total timeout Squash will delay a request and wait for it to be attached.inthashCode()booleanThe timeout for individual requests sent to the Squash cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic Squash.Builderstatic Squash.BuildernewBuilder(Squash prototype) protected Squash.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static SquashparseDelimitedFrom(InputStream input) static SquashparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SquashparseFrom(byte[] data) static SquashparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SquashparseFrom(com.google.protobuf.ByteString data) static SquashparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SquashparseFrom(com.google.protobuf.CodedInputStream input) static SquashparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SquashparseFrom(InputStream input) static SquashparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SquashparseFrom(ByteBuffer data) static SquashparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Squash>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER- See Also:
-
ATTACHMENT_TEMPLATE_FIELD_NUMBER
public static final int ATTACHMENT_TEMPLATE_FIELD_NUMBER- See Also:
-
REQUEST_TIMEOUT_FIELD_NUMBER
public static final int REQUEST_TIMEOUT_FIELD_NUMBER- See Also:
-
ATTACHMENT_TIMEOUT_FIELD_NUMBER
public static final int ATTACHMENT_TIMEOUT_FIELD_NUMBER- See Also:
-
ATTACHMENT_POLL_PERIOD_FIELD_NUMBER
public static final int ATTACHMENT_POLL_PERIOD_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getCluster
The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterin interfaceSquashOrBuilder- Returns:
- The cluster.
-
getClusterBytes
public com.google.protobuf.ByteString getClusterBytes()The name of the cluster that hosts the Squash server.
string cluster = 1 [(.validate.rules) = { ... }- Specified by:
getClusterBytesin interfaceSquashOrBuilder- Returns:
- The bytes for cluster.
-
hasAttachmentTemplate
public 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;- Specified by:
hasAttachmentTemplatein interfaceSquashOrBuilder- Returns:
- Whether the attachmentTemplate field is set.
-
getAttachmentTemplate
public 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;- Specified by:
getAttachmentTemplatein interfaceSquashOrBuilder- Returns:
- The attachmentTemplate.
-
getAttachmentTemplateOrBuilder
public 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;- Specified by:
getAttachmentTemplateOrBuilderin interfaceSquashOrBuilder
-
hasRequestTimeout
public boolean hasRequestTimeout()The timeout for individual requests sent to the Squash cluster. Defaults to 1 second.
.google.protobuf.Duration request_timeout = 3;- Specified by:
hasRequestTimeoutin interfaceSquashOrBuilder- Returns:
- Whether the requestTimeout field is set.
-
getRequestTimeout
public 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;- Specified by:
getRequestTimeoutin interfaceSquashOrBuilder- Returns:
- The requestTimeout.
-
getRequestTimeoutOrBuilder
public 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;- Specified by:
getRequestTimeoutOrBuilderin interfaceSquashOrBuilder
-
hasAttachmentTimeout
public 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;- Specified by:
hasAttachmentTimeoutin interfaceSquashOrBuilder- Returns:
- Whether the attachmentTimeout field is set.
-
getAttachmentTimeout
public 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;- Specified by:
getAttachmentTimeoutin interfaceSquashOrBuilder- Returns:
- The attachmentTimeout.
-
getAttachmentTimeoutOrBuilder
public 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;- Specified by:
getAttachmentTimeoutOrBuilderin interfaceSquashOrBuilder
-
hasAttachmentPollPeriod
public 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;- Specified by:
hasAttachmentPollPeriodin interfaceSquashOrBuilder- Returns:
- Whether the attachmentPollPeriod field is set.
-
getAttachmentPollPeriod
public 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;- Specified by:
getAttachmentPollPeriodin interfaceSquashOrBuilder- Returns:
- The attachmentPollPeriod.
-
getAttachmentPollPeriodOrBuilder
public 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;- Specified by:
getAttachmentPollPeriodOrBuilderin interfaceSquashOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static Squash parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Squash parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Squash parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Squash parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Squash parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Squash parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Squash parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Squash parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Squash parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Squash.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-