Package k8s.io.api.networking.v1
Class Generated.NetworkPolicySpec
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- k8s.io.api.networking.v1.Generated.NetworkPolicySpec
-
- All Implemented Interfaces:
com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable,Generated.NetworkPolicySpecOrBuilder
- Enclosing class:
- Generated
public static final class Generated.NetworkPolicySpec extends com.google.protobuf.GeneratedMessageV3 implements Generated.NetworkPolicySpecOrBuilder
NetworkPolicySpec provides the specification of a NetworkPolicy
Protobuf typek8s.io.api.networking.v1.NetworkPolicySpec- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGenerated.NetworkPolicySpec.BuilderNetworkPolicySpec provides the specification of a NetworkPolicy-
Nested 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
-
-
Field Summary
Fields Modifier and Type Field Description static intEGRESS_FIELD_NUMBERstatic intINGRESS_FIELD_NUMBERstatic com.google.protobuf.Parser<Generated.NetworkPolicySpec>PARSERDeprecated.static intPODSELECTOR_FIELD_NUMBERstatic intPOLICYTYPES_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object obj)static Generated.NetworkPolicySpecgetDefaultInstance()Generated.NetworkPolicySpecgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()Generated.NetworkPolicyEgressRulegetEgress(int index)egress is a list of egress rules to be applied to the selected pods.intgetEgressCount()egress is a list of egress rules to be applied to the selected pods.List<Generated.NetworkPolicyEgressRule>getEgressList()egress is a list of egress rules to be applied to the selected pods.Generated.NetworkPolicyEgressRuleOrBuildergetEgressOrBuilder(int index)egress is a list of egress rules to be applied to the selected pods.List<? extends Generated.NetworkPolicyEgressRuleOrBuilder>getEgressOrBuilderList()egress is a list of egress rules to be applied to the selected pods.Generated.NetworkPolicyIngressRulegetIngress(int index)ingress is a list of ingress rules to be applied to the selected pods.intgetIngressCount()ingress is a list of ingress rules to be applied to the selected pods.List<Generated.NetworkPolicyIngressRule>getIngressList()ingress is a list of ingress rules to be applied to the selected pods.Generated.NetworkPolicyIngressRuleOrBuildergetIngressOrBuilder(int index)ingress is a list of ingress rules to be applied to the selected pods.List<? extends Generated.NetworkPolicyIngressRuleOrBuilder>getIngressOrBuilderList()ingress is a list of ingress rules to be applied to the selected pods.com.google.protobuf.Parser<Generated.NetworkPolicySpec>getParserForType()Generated.LabelSelectorgetPodSelector()podSelector selects the pods to which this NetworkPolicy object applies.Generated.LabelSelectorOrBuildergetPodSelectorOrBuilder()podSelector selects the pods to which this NetworkPolicy object applies.StringgetPolicyTypes(int index)policyTypes is a list of rule types that the NetworkPolicy relates to.com.google.protobuf.ByteStringgetPolicyTypesBytes(int index)policyTypes is a list of rule types that the NetworkPolicy relates to.intgetPolicyTypesCount()policyTypes is a list of rule types that the NetworkPolicy relates to.com.google.protobuf.ProtocolStringListgetPolicyTypesList()policyTypes is a list of rule types that the NetworkPolicy relates to.intgetSerializedSize()inthashCode()booleanhasPodSelector()podSelector selects the pods to which this NetworkPolicy object applies.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Generated.NetworkPolicySpec.BuildernewBuilder()static Generated.NetworkPolicySpec.BuildernewBuilder(Generated.NetworkPolicySpec prototype)Generated.NetworkPolicySpec.BuildernewBuilderForType()protected Generated.NetworkPolicySpec.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static Generated.NetworkPolicySpecparseDelimitedFrom(InputStream input)static Generated.NetworkPolicySpecparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NetworkPolicySpecparseFrom(byte[] data)static Generated.NetworkPolicySpecparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NetworkPolicySpecparseFrom(com.google.protobuf.ByteString data)static Generated.NetworkPolicySpecparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NetworkPolicySpecparseFrom(com.google.protobuf.CodedInputStream input)static Generated.NetworkPolicySpecparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NetworkPolicySpecparseFrom(InputStream input)static Generated.NetworkPolicySpecparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static Generated.NetworkPolicySpecparseFrom(ByteBuffer data)static Generated.NetworkPolicySpecparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Generated.NetworkPolicySpec>parser()Generated.NetworkPolicySpec.BuildertoBuilder()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, 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
-
PODSELECTOR_FIELD_NUMBER
public static final int PODSELECTOR_FIELD_NUMBER
- See Also:
- Constant Field Values
-
INGRESS_FIELD_NUMBER
public static final int INGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EGRESS_FIELD_NUMBER
public static final int EGRESS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POLICYTYPES_FIELD_NUMBER
public static final int POLICYTYPES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PARSER
@Deprecated public static final com.google.protobuf.Parser<Generated.NetworkPolicySpec> PARSER
Deprecated.
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 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
-
hasPodSelector
public boolean hasPodSelector()
podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;- Specified by:
hasPodSelectorin interfaceGenerated.NetworkPolicySpecOrBuilder- Returns:
- Whether the podSelector field is set.
-
getPodSelector
public Generated.LabelSelector getPodSelector()
podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;- Specified by:
getPodSelectorin interfaceGenerated.NetworkPolicySpecOrBuilder- Returns:
- The podSelector.
-
getPodSelectorOrBuilder
public Generated.LabelSelectorOrBuilder getPodSelectorOrBuilder()
podSelector selects the pods to which this NetworkPolicy object applies. The array of ingress rules is applied to any pods selected by this field. Multiple network policies can select the same set of pods. In this case, the ingress rules for each are combined additively. This field is NOT optional and follows standard label selector semantics. An empty podSelector matches all pods in this namespace.
optional .k8s.io.apimachinery.pkg.apis.meta.v1.LabelSelector podSelector = 1;- Specified by:
getPodSelectorOrBuilderin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getIngressList
public List<Generated.NetworkPolicyIngressRule> getIngressList()
ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyIngressRule ingress = 2;- Specified by:
getIngressListin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getIngressOrBuilderList
public List<? extends Generated.NetworkPolicyIngressRuleOrBuilder> getIngressOrBuilderList()
ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyIngressRule ingress = 2;- Specified by:
getIngressOrBuilderListin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getIngressCount
public int getIngressCount()
ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyIngressRule ingress = 2;- Specified by:
getIngressCountin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getIngress
public Generated.NetworkPolicyIngressRule getIngress(int index)
ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyIngressRule ingress = 2;- Specified by:
getIngressin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getIngressOrBuilder
public Generated.NetworkPolicyIngressRuleOrBuilder getIngressOrBuilder(int index)
ingress is a list of ingress rules to be applied to the selected pods. Traffic is allowed to a pod if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic source is the pod's local node, OR if the traffic matches at least one ingress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy does not allow any traffic (and serves solely to ensure that the pods it selects are isolated by default) +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyIngressRule ingress = 2;- Specified by:
getIngressOrBuilderin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getEgressList
public List<Generated.NetworkPolicyEgressRule> getEgressList()
egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyEgressRule egress = 3;- Specified by:
getEgressListin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getEgressOrBuilderList
public List<? extends Generated.NetworkPolicyEgressRuleOrBuilder> getEgressOrBuilderList()
egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyEgressRule egress = 3;- Specified by:
getEgressOrBuilderListin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getEgressCount
public int getEgressCount()
egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyEgressRule egress = 3;- Specified by:
getEgressCountin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getEgress
public Generated.NetworkPolicyEgressRule getEgress(int index)
egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyEgressRule egress = 3;- Specified by:
getEgressin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getEgressOrBuilder
public Generated.NetworkPolicyEgressRuleOrBuilder getEgressOrBuilder(int index)
egress is a list of egress rules to be applied to the selected pods. Outgoing traffic is allowed if there are no NetworkPolicies selecting the pod (and cluster policy otherwise allows the traffic), OR if the traffic matches at least one egress rule across all of the NetworkPolicy objects whose podSelector matches the pod. If this field is empty then this NetworkPolicy limits all outgoing traffic (and serves solely to ensure that the pods it selects are isolated by default). This field is beta-level in 1.8 +optional +listType=atomic
repeated .k8s.io.api.networking.v1.NetworkPolicyEgressRule egress = 3;- Specified by:
getEgressOrBuilderin interfaceGenerated.NetworkPolicySpecOrBuilder
-
getPolicyTypesList
public com.google.protobuf.ProtocolStringList getPolicyTypesList()
policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 +optional +listType=atomic
repeated string policyTypes = 4;- Specified by:
getPolicyTypesListin interfaceGenerated.NetworkPolicySpecOrBuilder- Returns:
- A list containing the policyTypes.
-
getPolicyTypesCount
public int getPolicyTypesCount()
policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 +optional +listType=atomic
repeated string policyTypes = 4;- Specified by:
getPolicyTypesCountin interfaceGenerated.NetworkPolicySpecOrBuilder- Returns:
- The count of policyTypes.
-
getPolicyTypes
public String getPolicyTypes(int index)
policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 +optional +listType=atomic
repeated string policyTypes = 4;- Specified by:
getPolicyTypesin interfaceGenerated.NetworkPolicySpecOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The policyTypes at the given index.
-
getPolicyTypesBytes
public com.google.protobuf.ByteString getPolicyTypesBytes(int index)
policyTypes is a list of rule types that the NetworkPolicy relates to. Valid options are ["Ingress"], ["Egress"], or ["Ingress", "Egress"]. If this field is not specified, it will default based on the existence of ingress or egress rules; policies that contain an egress section are assumed to affect egress, and all policies (whether or not they contain an ingress section) are assumed to affect ingress. If you want to write an egress-only policy, you must explicitly specify policyTypes [ "Egress" ]. Likewise, if you want to write a policy that specifies that no egress is allowed, you must specify a policyTypes value that include "Egress" (since such a policy would not include an egress section and would otherwise default to just [ "Ingress" ]). This field is beta-level in 1.8 +optional +listType=atomic
repeated string policyTypes = 4;- Specified by:
getPolicyTypesBytesin interfaceGenerated.NetworkPolicySpecOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the policyTypes at the given index.
-
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 Generated.NetworkPolicySpec parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NetworkPolicySpec parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static Generated.NetworkPolicySpec parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static Generated.NetworkPolicySpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public Generated.NetworkPolicySpec.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static Generated.NetworkPolicySpec.Builder newBuilder()
-
newBuilder
public static Generated.NetworkPolicySpec.Builder newBuilder(Generated.NetworkPolicySpec prototype)
-
toBuilder
public Generated.NetworkPolicySpec.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected Generated.NetworkPolicySpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Generated.NetworkPolicySpec getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Generated.NetworkPolicySpec> parser()
-
getParserForType
public com.google.protobuf.Parser<Generated.NetworkPolicySpec> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Generated.NetworkPolicySpec getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-