Package namespace.cloud.network.v1beta
Class Egress.EgressPolicySpec
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
namespace.cloud.network.v1beta.Egress.EgressPolicySpec
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Egress.EgressPolicySpecOrBuilder
- Enclosing class:
Egress
public static final class Egress.EgressPolicySpec
extends com.google.protobuf.GeneratedMessage
implements Egress.EgressPolicySpecOrBuilder
Protobuf type
namespace.cloud.network.v1beta.EgressPolicySpec- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpec.AllowOptsstatic interfacestatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpecstatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpec.InjectOptsstatic interfacestatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpec.Matcherstatic interfacestatic enumProtobuf enumnamespace.cloud.network.v1beta.EgressPolicySpec.Modestatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpec.ProxyOptsstatic interfacestatic final classProtobuf typenamespace.cloud.network.v1beta.EgressPolicySpec.Rulestatic interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested 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.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleangetAdditionalRulesets(int index) Tags of Namespace-managed egress rulesets appended to rules.com.google.protobuf.ByteStringgetAdditionalRulesetsBytes(int index) Tags of Namespace-managed egress rulesets appended to rules.intTags of Namespace-managed egress rulesets appended to rules.com.google.protobuf.ProtocolStringListTags of Namespace-managed egress rulesets appended to rules.getAllowedEgressDomains(int index) Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated.com.google.protobuf.ByteStringgetAllowedEgressDomainsBytes(int index) Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated.intDeprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated.com.google.protobuf.ProtocolStringListDeprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated.booleanEnables HTTP and HTTPS interception for PROXY and INJECT rules.static Egress.EgressPolicySpecstatic final com.google.protobuf.Descriptors.DescriptorgetMode().namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;int.namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;com.google.protobuf.Parser<Egress.EgressPolicySpec> getRules(int index) Rules applied in order to outbound connections.intRules applied in order to outbound connections.Rules applied in order to outbound connections.getRulesOrBuilder(int index) Rules applied in order to outbound connections.List<? extends Egress.EgressPolicySpec.RuleOrBuilder> Rules applied in order to outbound connections.intinthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(Egress.EgressPolicySpec prototype) protected Egress.EgressPolicySpec.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static Egress.EgressPolicySpecparseDelimitedFrom(InputStream input) static Egress.EgressPolicySpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Egress.EgressPolicySpecparseFrom(byte[] data) static Egress.EgressPolicySpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Egress.EgressPolicySpecparseFrom(com.google.protobuf.ByteString data) static Egress.EgressPolicySpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Egress.EgressPolicySpecparseFrom(com.google.protobuf.CodedInputStream input) static Egress.EgressPolicySpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Egress.EgressPolicySpecparseFrom(InputStream input) static Egress.EgressPolicySpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static Egress.EgressPolicySpecparseFrom(ByteBuffer data) static Egress.EgressPolicySpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<Egress.EgressPolicySpec> parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
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
-
MODE_FIELD_NUMBER
public static final int MODE_FIELD_NUMBER- See Also:
-
DEEP_PACKET_INSPECTION_FIELD_NUMBER
public static final int DEEP_PACKET_INSPECTION_FIELD_NUMBER- See Also:
-
RULES_FIELD_NUMBER
public static final int RULES_FIELD_NUMBER- See Also:
-
ADDITIONAL_RULESETS_FIELD_NUMBER
public static final int ADDITIONAL_RULESETS_FIELD_NUMBER- See Also:
-
ALLOWED_EGRESS_DOMAINS_FIELD_NUMBER
public static final int ALLOWED_EGRESS_DOMAINS_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getModeValue
public int getModeValue().namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;- Specified by:
getModeValuein interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- The enum numeric value on the wire for mode.
-
getMode
.namespace.cloud.network.v1beta.EgressPolicySpec.Mode mode = 2;- Specified by:
getModein interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- The mode.
-
getDeepPacketInspection
public boolean getDeepPacketInspection()Enables HTTP and HTTPS interception for PROXY and INJECT rules.
bool deep_packet_inspection = 3;- Specified by:
getDeepPacketInspectionin interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- The deepPacketInspection.
-
getRulesList
Rules applied in order to outbound connections.
repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;- Specified by:
getRulesListin interfaceEgress.EgressPolicySpecOrBuilder
-
getRulesOrBuilderList
Rules applied in order to outbound connections.
repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;- Specified by:
getRulesOrBuilderListin interfaceEgress.EgressPolicySpecOrBuilder
-
getRulesCount
public int getRulesCount()Rules applied in order to outbound connections.
repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;- Specified by:
getRulesCountin interfaceEgress.EgressPolicySpecOrBuilder
-
getRules
Rules applied in order to outbound connections.
repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;- Specified by:
getRulesin interfaceEgress.EgressPolicySpecOrBuilder
-
getRulesOrBuilder
Rules applied in order to outbound connections.
repeated .namespace.cloud.network.v1beta.EgressPolicySpec.Rule rules = 4;- Specified by:
getRulesOrBuilderin interfaceEgress.EgressPolicySpecOrBuilder
-
getAdditionalRulesetsList
public com.google.protobuf.ProtocolStringList getAdditionalRulesetsList()Tags of Namespace-managed egress rulesets appended to rules.
repeated string additional_rulesets = 5;- Specified by:
getAdditionalRulesetsListin interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- A list containing the additionalRulesets.
-
getAdditionalRulesetsCount
public int getAdditionalRulesetsCount()Tags of Namespace-managed egress rulesets appended to rules.
repeated string additional_rulesets = 5;- Specified by:
getAdditionalRulesetsCountin interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- The count of additionalRulesets.
-
getAdditionalRulesets
Tags of Namespace-managed egress rulesets appended to rules.
repeated string additional_rulesets = 5;- Specified by:
getAdditionalRulesetsin interfaceEgress.EgressPolicySpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The additionalRulesets at the given index.
-
getAdditionalRulesetsBytes
public com.google.protobuf.ByteString getAdditionalRulesetsBytes(int index) Tags of Namespace-managed egress rulesets appended to rules.
repeated string additional_rulesets = 5;- Specified by:
getAdditionalRulesetsBytesin interfaceEgress.EgressPolicySpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the additionalRulesets at the given index.
-
getAllowedEgressDomainsList
Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104Deprecated. Only supported in inline egress policies during instance creation. Use `ALLOW` rules instead.
repeated string allowed_egress_domains = 1 [deprecated = true];- Specified by:
getAllowedEgressDomainsListin interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- A list containing the allowedEgressDomains.
-
getAllowedEgressDomainsCount
Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104Deprecated. Only supported in inline egress policies during instance creation. Use `ALLOW` rules instead.
repeated string allowed_egress_domains = 1 [deprecated = true];- Specified by:
getAllowedEgressDomainsCountin interfaceEgress.EgressPolicySpecOrBuilder- Returns:
- The count of allowedEgressDomains.
-
getAllowedEgressDomains
Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104Deprecated. Only supported in inline egress policies during instance creation. Use `ALLOW` rules instead.
repeated string allowed_egress_domains = 1 [deprecated = true];- Specified by:
getAllowedEgressDomainsin interfaceEgress.EgressPolicySpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The allowedEgressDomains at the given index.
-
getAllowedEgressDomainsBytes
Deprecated.namespace.cloud.network.v1beta.EgressPolicySpec.allowed_egress_domains is deprecated. See proto/namespace/cloud/network/v1beta/egress.proto;l=104Deprecated. Only supported in inline egress policies during instance creation. Use `ALLOW` rules instead.
repeated string allowed_egress_domains = 1 [deprecated = true];- Specified by:
getAllowedEgressDomainsBytesin interfaceEgress.EgressPolicySpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the allowedEgressDomains at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
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 Egress.EgressPolicySpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Egress.EgressPolicySpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static Egress.EgressPolicySpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static Egress.EgressPolicySpec 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 Egress.EgressPolicySpec.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-