Package io.kubernetes.client.proto
Interface V1Networking.ServiceBackendPortOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1Networking.ServiceBackendPort,V1Networking.ServiceBackendPort.Builder
- Enclosing class:
- V1Networking
public static interface V1Networking.ServiceBackendPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetName()Name is the name of the port on the Service.com.google.protobuf.ByteStringName is the name of the port on the Service.intNumber is the numerical port number (e.g.booleanhasName()Name is the name of the port on the Service.booleanNumber is the numerical port number (e.g.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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; -
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; -
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; -
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; -
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;
-