public final class PodSpec extends com.google.protobuf.GeneratedMessageV3 implements PodSpecOrBuilder
appscode.kubernetes.v1beta2.PodSpec| Modifier and Type | Class and Description |
|---|---|
static class |
PodSpec.Builder
Protobuf type
appscode.kubernetes.v1beta2.PodSpec |
static class |
PodSpec.Container
Protobuf type
appscode.kubernetes.v1beta2.PodSpec.Container |
static interface |
PodSpec.ContainerOrBuilder |
static class |
PodSpec.Volume
Protobuf type
appscode.kubernetes.v1beta2.PodSpec.Volume |
static interface |
PodSpec.VolumeOrBuilder |
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 |
CONTAINERS_FIELD_NUMBER |
static int |
IMAGE_PULL_SECRETS_FIELD_NUMBER |
static int |
NODE_NAME_FIELD_NUMBER |
static int |
NODE_SELECTORS_FIELD_NUMBER |
static int |
SERVICE_ACCOUNT_NAME_FIELD_NUMBER |
static int |
VOLUMES_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsNodeSelectors(java.lang.String key)
map<string, string> node_selectors = 3; |
boolean |
equals(java.lang.Object obj) |
PodSpec.Container |
getContainers(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2; |
int |
getContainersCount()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2; |
java.util.List<PodSpec.Container> |
getContainersList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2; |
PodSpec.ContainerOrBuilder |
getContainersOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2; |
java.util.List<? extends PodSpec.ContainerOrBuilder> |
getContainersOrBuilderList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2; |
static PodSpec |
getDefaultInstance() |
PodSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getImagePullSecrets(int index)
repeated string image_pull_secrets = 6; |
com.google.protobuf.ByteString |
getImagePullSecretsBytes(int index)
repeated string image_pull_secrets = 6; |
int |
getImagePullSecretsCount()
repeated string image_pull_secrets = 6; |
com.google.protobuf.ProtocolStringList |
getImagePullSecretsList()
repeated string image_pull_secrets = 6; |
java.lang.String |
getNodeName()
optional string node_name = 5; |
com.google.protobuf.ByteString |
getNodeNameBytes()
optional string node_name = 5; |
java.util.Map<java.lang.String,java.lang.String> |
getNodeSelectors()
Deprecated.
|
int |
getNodeSelectorsCount()
map<string, string> node_selectors = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getNodeSelectorsMap()
map<string, string> node_selectors = 3; |
java.lang.String |
getNodeSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> node_selectors = 3; |
java.lang.String |
getNodeSelectorsOrThrow(java.lang.String key)
map<string, string> node_selectors = 3; |
com.google.protobuf.Parser<PodSpec> |
getParserForType() |
int |
getSerializedSize() |
java.lang.String |
getServiceAccountName()
optional string service_account_name = 4; |
com.google.protobuf.ByteString |
getServiceAccountNameBytes()
optional string service_account_name = 4; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
PodSpec.Volume |
getVolumes(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1; |
int |
getVolumesCount()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1; |
java.util.List<PodSpec.Volume> |
getVolumesList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1; |
PodSpec.VolumeOrBuilder |
getVolumesOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1; |
java.util.List<? extends PodSpec.VolumeOrBuilder> |
getVolumesOrBuilderList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1; |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static PodSpec.Builder |
newBuilder() |
static PodSpec.Builder |
newBuilder(PodSpec prototype) |
PodSpec.Builder |
newBuilderForType() |
protected PodSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static PodSpec |
parseDelimitedFrom(java.io.InputStream input) |
static PodSpec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PodSpec |
parseFrom(byte[] data) |
static PodSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PodSpec |
parseFrom(com.google.protobuf.ByteString data) |
static PodSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PodSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PodSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PodSpec |
parseFrom(java.io.InputStream input) |
static PodSpec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PodSpec> |
parser() |
PodSpec.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 VOLUMES_FIELD_NUMBER
public static final int CONTAINERS_FIELD_NUMBER
public static final int NODE_SELECTORS_FIELD_NUMBER
public static final int SERVICE_ACCOUNT_NAME_FIELD_NUMBER
public static final int NODE_NAME_FIELD_NUMBER
public static final int IMAGE_PULL_SECRETS_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.util.List<PodSpec.Volume> getVolumesList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1;getVolumesList in interface PodSpecOrBuilderpublic java.util.List<? extends PodSpec.VolumeOrBuilder> getVolumesOrBuilderList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1;getVolumesOrBuilderList in interface PodSpecOrBuilderpublic int getVolumesCount()
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1;getVolumesCount in interface PodSpecOrBuilderpublic PodSpec.Volume getVolumes(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1;getVolumes in interface PodSpecOrBuilderpublic PodSpec.VolumeOrBuilder getVolumesOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Volume volumes = 1;getVolumesOrBuilder in interface PodSpecOrBuilderpublic java.util.List<PodSpec.Container> getContainersList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2;getContainersList in interface PodSpecOrBuilderpublic java.util.List<? extends PodSpec.ContainerOrBuilder> getContainersOrBuilderList()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2;getContainersOrBuilderList in interface PodSpecOrBuilderpublic int getContainersCount()
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2;getContainersCount in interface PodSpecOrBuilderpublic PodSpec.Container getContainers(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2;getContainers in interface PodSpecOrBuilderpublic PodSpec.ContainerOrBuilder getContainersOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.PodSpec.Container containers = 2;getContainersOrBuilder in interface PodSpecOrBuilderpublic int getNodeSelectorsCount()
PodSpecOrBuildermap<string, string> node_selectors = 3;getNodeSelectorsCount in interface PodSpecOrBuilderpublic boolean containsNodeSelectors(java.lang.String key)
map<string, string> node_selectors = 3;containsNodeSelectors in interface PodSpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getNodeSelectors()
getNodeSelectorsMap() instead.getNodeSelectors in interface PodSpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getNodeSelectorsMap()
map<string, string> node_selectors = 3;getNodeSelectorsMap in interface PodSpecOrBuilderpublic java.lang.String getNodeSelectorsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> node_selectors = 3;getNodeSelectorsOrDefault in interface PodSpecOrBuilderpublic java.lang.String getNodeSelectorsOrThrow(java.lang.String key)
map<string, string> node_selectors = 3;getNodeSelectorsOrThrow in interface PodSpecOrBuilderpublic java.lang.String getServiceAccountName()
optional string service_account_name = 4;getServiceAccountName in interface PodSpecOrBuilderpublic com.google.protobuf.ByteString getServiceAccountNameBytes()
optional string service_account_name = 4;getServiceAccountNameBytes in interface PodSpecOrBuilderpublic java.lang.String getNodeName()
optional string node_name = 5;getNodeName in interface PodSpecOrBuilderpublic com.google.protobuf.ByteString getNodeNameBytes()
optional string node_name = 5;getNodeNameBytes in interface PodSpecOrBuilderpublic com.google.protobuf.ProtocolStringList getImagePullSecretsList()
repeated string image_pull_secrets = 6;getImagePullSecretsList in interface PodSpecOrBuilderpublic int getImagePullSecretsCount()
repeated string image_pull_secrets = 6;getImagePullSecretsCount in interface PodSpecOrBuilderpublic java.lang.String getImagePullSecrets(int index)
repeated string image_pull_secrets = 6;getImagePullSecrets in interface PodSpecOrBuilderpublic com.google.protobuf.ByteString getImagePullSecretsBytes(int index)
repeated string image_pull_secrets = 6;getImagePullSecretsBytes in interface PodSpecOrBuilderpublic 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 PodSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PodSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PodSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PodSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PodSpec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PodSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PodSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PodSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static PodSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static PodSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic PodSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PodSpec.Builder newBuilder()
public static PodSpec.Builder newBuilder(PodSpec prototype)
public PodSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PodSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PodSpec getDefaultInstance()
public static com.google.protobuf.Parser<PodSpec> parser()
public com.google.protobuf.Parser<PodSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PodSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder