public static final class Service.Spec extends com.google.protobuf.GeneratedMessageV3 implements Service.SpecOrBuilder
appscode.kubernetes.v1beta2.Service.Spec| Modifier and Type | Class and Description |
|---|---|
static class |
Service.Spec.Builder
Protobuf type
appscode.kubernetes.v1beta2.Service.Spec |
static class |
Service.Spec.Port
Protobuf type
appscode.kubernetes.v1beta2.Service.Spec.Port |
static interface |
Service.Spec.PortOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
CLUSTERIP_FIELD_NUMBER |
static int |
EXTERNAL_NAME_FIELD_NUMBER |
static int |
EXTERNALIPS_FIELD_NUMBER |
static int |
LOAD_BALANCER_SOURCE_RANGES_FIELD_NUMBER |
static int |
LOADBALANCERIP_FIELD_NUMBER |
static int |
PORTS_FIELD_NUMBER |
static int |
SELECTORS_FIELD_NUMBER |
static int |
SESSION_AFFINITY_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSelectors(java.lang.String key)
map<string, string> selectors = 3; |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getClusterIP()
optional string clusterIP = 4; |
com.google.protobuf.ByteString |
getClusterIPBytes()
optional string clusterIP = 4; |
static Service.Spec |
getDefaultInstance() |
Service.Spec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getExternalIPs(int index)
repeated string externalIPs = 5; |
com.google.protobuf.ByteString |
getExternalIPsBytes(int index)
repeated string externalIPs = 5; |
int |
getExternalIPsCount()
repeated string externalIPs = 5; |
com.google.protobuf.ProtocolStringList |
getExternalIPsList()
repeated string externalIPs = 5; |
java.lang.String |
getExternalName()
optional string external_name = 7; |
com.google.protobuf.ByteString |
getExternalNameBytes()
optional string external_name = 7; |
java.lang.String |
getLoadbalancerIP()
optional string loadbalancerIP = 6; |
com.google.protobuf.ByteString |
getLoadbalancerIPBytes()
optional string loadbalancerIP = 6; |
java.lang.String |
getLoadBalancerSourceRanges(int index)
repeated string load_balancer_source_ranges = 9; |
com.google.protobuf.ByteString |
getLoadBalancerSourceRangesBytes(int index)
repeated string load_balancer_source_ranges = 9; |
int |
getLoadBalancerSourceRangesCount()
repeated string load_balancer_source_ranges = 9; |
com.google.protobuf.ProtocolStringList |
getLoadBalancerSourceRangesList()
repeated string load_balancer_source_ranges = 9; |
com.google.protobuf.Parser<Service.Spec> |
getParserForType() |
Service.Spec.Port |
getPorts(int index)
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2; |
int |
getPortsCount()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2; |
java.util.List<Service.Spec.Port> |
getPortsList()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2; |
Service.Spec.PortOrBuilder |
getPortsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2; |
java.util.List<? extends Service.Spec.PortOrBuilder> |
getPortsOrBuilderList()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getSelectors()
Deprecated.
|
int |
getSelectorsCount()
map<string, string> selectors = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getSelectorsMap()
map<string, string> selectors = 3; |
java.lang.String |
getSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> selectors = 3; |
java.lang.String |
getSelectorsOrThrow(java.lang.String key)
map<string, string> selectors = 3; |
int |
getSerializedSize() |
java.lang.String |
getSessionAffinity()
optional string session_affinity = 8; |
com.google.protobuf.ByteString |
getSessionAffinityBytes()
optional string session_affinity = 8; |
java.lang.String |
getType()
optional string type = 1; |
com.google.protobuf.ByteString |
getTypeBytes()
optional string type = 1; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Service.Spec.Builder |
newBuilder() |
static Service.Spec.Builder |
newBuilder(Service.Spec prototype) |
Service.Spec.Builder |
newBuilderForType() |
protected Service.Spec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Service.Spec |
parseDelimitedFrom(java.io.InputStream input) |
static Service.Spec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service.Spec |
parseFrom(byte[] data) |
static Service.Spec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service.Spec |
parseFrom(com.google.protobuf.ByteString data) |
static Service.Spec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service.Spec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Service.Spec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Service.Spec |
parseFrom(java.io.InputStream input) |
static Service.Spec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Service.Spec> |
parser() |
Service.Spec.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int TYPE_FIELD_NUMBER
public static final int PORTS_FIELD_NUMBER
public static final int SELECTORS_FIELD_NUMBER
public static final int CLUSTERIP_FIELD_NUMBER
public static final int EXTERNALIPS_FIELD_NUMBER
public static final int LOADBALANCERIP_FIELD_NUMBER
public static final int EXTERNAL_NAME_FIELD_NUMBER
public static final int SESSION_AFFINITY_FIELD_NUMBER
public static final int LOAD_BALANCER_SOURCE_RANGES_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getType()
optional string type = 1;getType in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getTypeBytes()
optional string type = 1;getTypeBytes in interface Service.SpecOrBuilderpublic java.util.List<Service.Spec.Port> getPortsList()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2;getPortsList in interface Service.SpecOrBuilderpublic java.util.List<? extends Service.Spec.PortOrBuilder> getPortsOrBuilderList()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2;getPortsOrBuilderList in interface Service.SpecOrBuilderpublic int getPortsCount()
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2;getPortsCount in interface Service.SpecOrBuilderpublic Service.Spec.Port getPorts(int index)
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2;getPorts in interface Service.SpecOrBuilderpublic Service.Spec.PortOrBuilder getPortsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.Service.Spec.Port ports = 2;getPortsOrBuilder in interface Service.SpecOrBuilderpublic int getSelectorsCount()
Service.SpecOrBuildermap<string, string> selectors = 3;getSelectorsCount in interface Service.SpecOrBuilderpublic boolean containsSelectors(java.lang.String key)
map<string, string> selectors = 3;containsSelectors in interface Service.SpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSelectors()
getSelectorsMap() instead.getSelectors in interface Service.SpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getSelectorsMap()
map<string, string> selectors = 3;getSelectorsMap in interface Service.SpecOrBuilderpublic java.lang.String getSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> selectors = 3;getSelectorsOrDefault in interface Service.SpecOrBuilderpublic java.lang.String getSelectorsOrThrow(java.lang.String key)
map<string, string> selectors = 3;getSelectorsOrThrow in interface Service.SpecOrBuilderpublic java.lang.String getClusterIP()
optional string clusterIP = 4;getClusterIP in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getClusterIPBytes()
optional string clusterIP = 4;getClusterIPBytes in interface Service.SpecOrBuilderpublic com.google.protobuf.ProtocolStringList getExternalIPsList()
repeated string externalIPs = 5;getExternalIPsList in interface Service.SpecOrBuilderpublic int getExternalIPsCount()
repeated string externalIPs = 5;getExternalIPsCount in interface Service.SpecOrBuilderpublic java.lang.String getExternalIPs(int index)
repeated string externalIPs = 5;getExternalIPs in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getExternalIPsBytes(int index)
repeated string externalIPs = 5;getExternalIPsBytes in interface Service.SpecOrBuilderpublic java.lang.String getLoadbalancerIP()
optional string loadbalancerIP = 6;getLoadbalancerIP in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getLoadbalancerIPBytes()
optional string loadbalancerIP = 6;getLoadbalancerIPBytes in interface Service.SpecOrBuilderpublic java.lang.String getExternalName()
optional string external_name = 7;getExternalName in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getExternalNameBytes()
optional string external_name = 7;getExternalNameBytes in interface Service.SpecOrBuilderpublic java.lang.String getSessionAffinity()
optional string session_affinity = 8;getSessionAffinity in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getSessionAffinityBytes()
optional string session_affinity = 8;getSessionAffinityBytes in interface Service.SpecOrBuilderpublic com.google.protobuf.ProtocolStringList getLoadBalancerSourceRangesList()
repeated string load_balancer_source_ranges = 9;getLoadBalancerSourceRangesList in interface Service.SpecOrBuilderpublic int getLoadBalancerSourceRangesCount()
repeated string load_balancer_source_ranges = 9;getLoadBalancerSourceRangesCount in interface Service.SpecOrBuilderpublic java.lang.String getLoadBalancerSourceRanges(int index)
repeated string load_balancer_source_ranges = 9;getLoadBalancerSourceRanges in interface Service.SpecOrBuilderpublic com.google.protobuf.ByteString getLoadBalancerSourceRangesBytes(int index)
repeated string load_balancer_source_ranges = 9;getLoadBalancerSourceRangesBytes in interface Service.SpecOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Service.Spec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service.Spec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service.Spec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service.Spec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Service.Spec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service.Spec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Service.Spec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service.Spec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Service.Spec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Service.Spec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Service.Spec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Service.Spec.Builder newBuilder()
public static Service.Spec.Builder newBuilder(Service.Spec prototype)
public Service.Spec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Service.Spec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Service.Spec getDefaultInstance()
public static com.google.protobuf.Parser<Service.Spec> parser()
public com.google.protobuf.Parser<Service.Spec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Service.Spec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder