Package k8s.io.api.networking.v1
Interface Generated.ServiceBackendPortOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ServiceBackendPort,Generated.ServiceBackendPort.Builder
- Enclosing class:
- Generated
public static interface Generated.ServiceBackendPortOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()name is the name of the port on the Service.com.google.protobuf.ByteStringgetNameBytes()name is the name of the port on the Service.intgetNumber()number is the numerical port number (e.g.booleanhasName()name is the name of the port on the Service.booleanhasNumber()number is the numerical port number (e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
name is the name of the port on the Service. This is a mutually exclusive setting with "Number". +optional
optional string name = 1;- Returns:
- Whether the name field is set.
-
getName
String getName()
name is the name of the port on the Service. This is a mutually exclusive setting with "Number". +optional
optional string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
name is the name of the port on the Service. This is a mutually exclusive setting with "Number". +optional
optional string name = 1;- Returns:
- The bytes for name.
-
hasNumber
boolean hasNumber()
number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name". +optional
optional int32 number = 2;- Returns:
- Whether the number field is set.
-
getNumber
int getNumber()
number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name". +optional
optional int32 number = 2;- Returns:
- The number.
-
-