public static final class V1beta1Extensions.NetworkPolicyPort.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder> implements V1beta1Extensions.NetworkPolicyPortOrBuilder
DEPRECATED 1.9 - This group version of NetworkPolicyPort is deprecated by networking/v1/NetworkPolicyPort.Protobuf type
k8s.io.api.extensions.v1beta1.NetworkPolicyPortgetAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.NetworkPolicyPort build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.NetworkPolicyPort buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.NetworkPolicyPort.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder mergeFrom(V1beta1Extensions.NetworkPolicyPort other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public V1beta1Extensions.NetworkPolicyPort.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>IOExceptionpublic boolean hasProtocol()
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;hasProtocol in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic String getProtocol()
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;getProtocol in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic com.google.protobuf.ByteString getProtocolBytes()
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;getProtocolBytes in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic V1beta1Extensions.NetworkPolicyPort.Builder setProtocol(String value)
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;public V1beta1Extensions.NetworkPolicyPort.Builder clearProtocol()
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;public V1beta1Extensions.NetworkPolicyPort.Builder setProtocolBytes(com.google.protobuf.ByteString value)
Optional. The protocol (TCP, UDP, or SCTP) which traffic must match. If not specified, this field defaults to TCP. +optional
optional string protocol = 1;public boolean hasPort()
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;hasPort in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic IntStr.IntOrString getPort()
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;getPort in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic V1beta1Extensions.NetworkPolicyPort.Builder setPort(IntStr.IntOrString value)
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;public V1beta1Extensions.NetworkPolicyPort.Builder setPort(IntStr.IntOrString.Builder builderForValue)
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;public V1beta1Extensions.NetworkPolicyPort.Builder mergePort(IntStr.IntOrString value)
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;public V1beta1Extensions.NetworkPolicyPort.Builder clearPort()
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;public IntStr.IntOrString.Builder getPortBuilder()
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;public IntStr.IntOrStringOrBuilder getPortOrBuilder()
If specified, the port on the given protocol. This can either be a numerical or named port on a pod. If this field is not provided, this matches all port names and numbers. If present, only traffic on the specified protocol AND port will be matched. +optional
optional .k8s.io.apimachinery.pkg.util.intstr.IntOrString port = 2;getPortOrBuilder in interface V1beta1Extensions.NetworkPolicyPortOrBuilderpublic final V1beta1Extensions.NetworkPolicyPort.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>public final V1beta1Extensions.NetworkPolicyPort.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.NetworkPolicyPort.Builder>Copyright © 2021. All rights reserved.