public static final class ReplicationController.Spec extends com.google.protobuf.GeneratedMessageV3 implements ReplicationController.SpecOrBuilder
appscode.kubernetes.v1beta2.ReplicationController.Spec| Modifier and Type | Class and Description |
|---|---|
static class |
ReplicationController.Spec.Builder
Protobuf type
appscode.kubernetes.v1beta2.ReplicationController.Spec |
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 |
DESIRED_REPLICAS_FIELD_NUMBER |
static int |
POD_TEMPLATE_FIELD_NUMBER |
static int |
SELECTORS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsSelectors(java.lang.String key)
map<string, string> selectors = 2; |
boolean |
equals(java.lang.Object obj) |
static ReplicationController.Spec |
getDefaultInstance() |
ReplicationController.Spec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getDesiredReplicas()
int32 desired_replicas = 1; |
com.google.protobuf.Parser<ReplicationController.Spec> |
getParserForType() |
PodSpec |
getPodTemplate()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3; |
PodSpecOrBuilder |
getPodTemplateOrBuilder()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getSelectors()
Deprecated.
|
int |
getSelectorsCount()
map<string, string> selectors = 2; |
java.util.Map<java.lang.String,java.lang.String> |
getSelectorsMap()
map<string, string> selectors = 2; |
java.lang.String |
getSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> selectors = 2; |
java.lang.String |
getSelectorsOrThrow(java.lang.String key)
map<string, string> selectors = 2; |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasPodTemplate()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ReplicationController.Spec.Builder |
newBuilder() |
static ReplicationController.Spec.Builder |
newBuilder(ReplicationController.Spec prototype) |
ReplicationController.Spec.Builder |
newBuilderForType() |
protected ReplicationController.Spec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ReplicationController.Spec |
parseDelimitedFrom(java.io.InputStream input) |
static ReplicationController.Spec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicationController.Spec |
parseFrom(byte[] data) |
static ReplicationController.Spec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicationController.Spec |
parseFrom(java.nio.ByteBuffer data) |
static ReplicationController.Spec |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicationController.Spec |
parseFrom(com.google.protobuf.ByteString data) |
static ReplicationController.Spec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicationController.Spec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ReplicationController.Spec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ReplicationController.Spec |
parseFrom(java.io.InputStream input) |
static ReplicationController.Spec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ReplicationController.Spec> |
parser() |
ReplicationController.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 DESIRED_REPLICAS_FIELD_NUMBER
public static final int SELECTORS_FIELD_NUMBER
public static final int POD_TEMPLATE_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 int getDesiredReplicas()
int32 desired_replicas = 1;getDesiredReplicas in interface ReplicationController.SpecOrBuilderpublic int getSelectorsCount()
ReplicationController.SpecOrBuildermap<string, string> selectors = 2;getSelectorsCount in interface ReplicationController.SpecOrBuilderpublic boolean containsSelectors(java.lang.String key)
map<string, string> selectors = 2;containsSelectors in interface ReplicationController.SpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getSelectors()
getSelectorsMap() instead.getSelectors in interface ReplicationController.SpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getSelectorsMap()
map<string, string> selectors = 2;getSelectorsMap in interface ReplicationController.SpecOrBuilderpublic java.lang.String getSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> selectors = 2;getSelectorsOrDefault in interface ReplicationController.SpecOrBuilderpublic java.lang.String getSelectorsOrThrow(java.lang.String key)
map<string, string> selectors = 2;getSelectorsOrThrow in interface ReplicationController.SpecOrBuilderpublic boolean hasPodTemplate()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3;hasPodTemplate in interface ReplicationController.SpecOrBuilderpublic PodSpec getPodTemplate()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3;getPodTemplate in interface ReplicationController.SpecOrBuilderpublic PodSpecOrBuilder getPodTemplateOrBuilder()
.appscode.kubernetes.v1beta2.PodSpec pod_template = 3;getPodTemplateOrBuilder in interface ReplicationController.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 ReplicationController.Spec parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ReplicationController.Spec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReplicationController.Spec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReplicationController.Spec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReplicationController.Spec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static ReplicationController.Spec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static ReplicationController.Spec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic ReplicationController.Spec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ReplicationController.Spec.Builder newBuilder()
public static ReplicationController.Spec.Builder newBuilder(ReplicationController.Spec prototype)
public ReplicationController.Spec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ReplicationController.Spec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ReplicationController.Spec getDefaultInstance()
public static com.google.protobuf.Parser<ReplicationController.Spec> parser()
public com.google.protobuf.Parser<ReplicationController.Spec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ReplicationController.Spec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder