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
public final class Squash extends com.google.protobuf.GeneratedMessageV3 implements SquashOrBuilder
[#next-free-field: 6]
Protobuf typeenvoy.config.filter.http.squash.v2.Squash- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classSquash.Builder[#next-free-field: 6]-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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
-
-
Field Summary
Fields Modifier and Type Field Description static intATTACHMENT_POLL_PERIOD_FIELD_NUMBERstatic intATTACHMENT_TEMPLATE_FIELD_NUMBERstatic intATTACHMENT_TIMEOUT_FIELD_NUMBERstatic intCLUSTER_FIELD_NUMBERstatic intREQUEST_TIMEOUT_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)com.google.protobuf.DurationgetAttachmentPollPeriod()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.DurationOrBuildergetAttachmentPollPeriodOrBuilder()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.StructgetAttachmentTemplate()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.StructOrBuildergetAttachmentTemplateOrBuilder()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.DurationgetAttachmentTimeout()The total timeout Squash will delay a request and wait for it to be attached.com.google.protobuf.DurationOrBuildergetAttachmentTimeoutOrBuilder()The total timeout Squash will delay a request and wait for it to be attached.StringgetCluster()The name of the cluster that hosts the Squash server.com.google.protobuf.ByteStringgetClusterBytes()The name of the cluster that hosts the Squash server.static SquashgetDefaultInstance()SquashgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Parser<Squash>getParserForType()com.google.protobuf.DurationgetRequestTimeout()The timeout for individual requests sent to the Squash cluster.com.google.protobuf.DurationOrBuildergetRequestTimeoutOrBuilder()The timeout for individual requests sent to the Squash cluster.intgetSerializedSize()com.google.protobuf.UnknownFieldSetgetUnknownFields()booleanhasAttachmentPollPeriod()Amount of time to poll for the status of the attachment object in the Squash server (to check if has been attached).booleanhasAttachmentTemplate()When the filter requests the Squash server to create a DebugAttachment, it will use this structure as template for the body of the request.booleanhasAttachmentTimeout()The total timeout Squash will delay a request and wait for it to be attached.inthashCode()booleanhasRequestTimeout()The timeout for individual requests sent to the Squash cluster.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Squash.BuildernewBuilder()static Squash.BuildernewBuilder(Squash prototype)Squash.BuildernewBuilderForType()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()Squash.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, 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, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
CLUSTER_FIELD_NUMBER
public static final int CLUSTER_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTACHMENT_TEMPLATE_FIELD_NUMBER
public static final int ATTACHMENT_TEMPLATE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
REQUEST_TIMEOUT_FIELD_NUMBER
public static final int REQUEST_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTACHMENT_TIMEOUT_FIELD_NUMBER
public static final int ATTACHMENT_TIMEOUT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ATTACHMENT_POLL_PERIOD_FIELD_NUMBER
public static final int ATTACHMENT_POLL_PERIOD_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- Specified by:
getUnknownFieldsin interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getUnknownFieldsin 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
public String 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
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 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
public boolean equals(Object obj)
- 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
public static Squash parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Squash parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Squash parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Squash parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Squash parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Squash parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Squash.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Squash.Builder newBuilder()
-
newBuilder
public static Squash.Builder newBuilder(Squash prototype)
-
toBuilder
public Squash.Builder 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
public static Squash getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Squash> parser()
-
getParserForType
public com.google.protobuf.Parser<Squash> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Squash getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-