public final class LoadBalancer extends com.google.protobuf.GeneratedMessageV3 implements LoadBalancerOrBuilder
appscode.kubernetes.v1beta1.LoadBalancer| Modifier and Type | Class and Description |
|---|---|
static class |
LoadBalancer.Builder
Protobuf type
appscode.kubernetes.v1beta1.LoadBalancer |
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 |
CREATION_TIMESTAMP_FIELD_NUMBER |
static int |
JSON_FIELD_NUMBER |
static int |
KIND_FIELD_NUMBER |
static int |
NAME_FIELD_NUMBER |
static int |
NAMESPACE_FIELD_NUMBER |
static int |
OPTIONS_FIELD_NUMBER |
static int |
SPEC_FIELD_NUMBER |
static int |
STATUS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsOptions(java.lang.String key)
map<string, string> options = 5; |
boolean |
equals(java.lang.Object obj) |
long |
getCreationTimestamp()
optional int64 creation_timestamp = 4; |
static LoadBalancer |
getDefaultInstance() |
LoadBalancer |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getJson()
optional string json = 8; |
com.google.protobuf.ByteString |
getJsonBytes()
optional string json = 8; |
java.lang.String |
getKind()
'kind' defines is it the regular kubernetes instance or the
appscode superset called Extended Ingress.
|
com.google.protobuf.ByteString |
getKindBytes()
'kind' defines is it the regular kubernetes instance or the
appscode superset called Extended Ingress.
|
java.lang.String |
getName()
optional string name = 2; |
com.google.protobuf.ByteString |
getNameBytes()
optional string name = 2; |
java.lang.String |
getNamespace()
optional string namespace = 3; |
com.google.protobuf.ByteString |
getNamespaceBytes()
optional string namespace = 3; |
java.util.Map<java.lang.String,java.lang.String> |
getOptions()
Deprecated.
|
int |
getOptionsCount()
map<string, string> options = 5; |
java.util.Map<java.lang.String,java.lang.String> |
getOptionsMap()
map<string, string> options = 5; |
java.lang.String |
getOptionsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> options = 5; |
java.lang.String |
getOptionsOrThrow(java.lang.String key)
map<string, string> options = 5; |
com.google.protobuf.Parser<LoadBalancer> |
getParserForType() |
int |
getSerializedSize() |
Spec |
getSpec()
optional .appscode.kubernetes.v1beta1.Spec spec = 6; |
SpecOrBuilder |
getSpecOrBuilder()
optional .appscode.kubernetes.v1beta1.Spec spec = 6; |
Status |
getStatus()
optional .appscode.kubernetes.v1beta1.Status status = 7; |
StatusOrBuilder |
getStatusOrBuilder()
optional .appscode.kubernetes.v1beta1.Status status = 7; |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
boolean |
hasSpec()
optional .appscode.kubernetes.v1beta1.Spec spec = 6; |
boolean |
hasStatus()
optional .appscode.kubernetes.v1beta1.Status status = 7; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static LoadBalancer.Builder |
newBuilder() |
static LoadBalancer.Builder |
newBuilder(LoadBalancer prototype) |
LoadBalancer.Builder |
newBuilderForType() |
protected LoadBalancer.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static LoadBalancer |
parseDelimitedFrom(java.io.InputStream input) |
static LoadBalancer |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadBalancer |
parseFrom(byte[] data) |
static LoadBalancer |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadBalancer |
parseFrom(com.google.protobuf.ByteString data) |
static LoadBalancer |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadBalancer |
parseFrom(com.google.protobuf.CodedInputStream input) |
static LoadBalancer |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static LoadBalancer |
parseFrom(java.io.InputStream input) |
static LoadBalancer |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<LoadBalancer> |
parser() |
LoadBalancer.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 KIND_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int NAMESPACE_FIELD_NUMBER
public static final int CREATION_TIMESTAMP_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
public static final int SPEC_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
public static final int JSON_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 getKind()
'kind' defines is it the regular kubernetes instance or the appscode superset called Extended Ingress. This field will strictly contains only those two values 'ingress' - default kubernetes ingress object. 'extendedIngress' - appscode superset of ingress. when creating a Loadbalancer from UI this field will always be only 'extendedIngress.' List, Describe, Update and Delete will support both two modes. Create will support only extendedIngress. For Creating or Updating an regular ingress one must use the kubectl or direct API calls directly to kubernetes.
optional string kind = 1;getKind in interface LoadBalancerOrBuilderpublic com.google.protobuf.ByteString getKindBytes()
'kind' defines is it the regular kubernetes instance or the appscode superset called Extended Ingress. This field will strictly contains only those two values 'ingress' - default kubernetes ingress object. 'extendedIngress' - appscode superset of ingress. when creating a Loadbalancer from UI this field will always be only 'extendedIngress.' List, Describe, Update and Delete will support both two modes. Create will support only extendedIngress. For Creating or Updating an regular ingress one must use the kubectl or direct API calls directly to kubernetes.
optional string kind = 1;getKindBytes in interface LoadBalancerOrBuilderpublic java.lang.String getName()
optional string name = 2;getName in interface LoadBalancerOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
optional string name = 2;getNameBytes in interface LoadBalancerOrBuilderpublic java.lang.String getNamespace()
optional string namespace = 3;getNamespace in interface LoadBalancerOrBuilderpublic com.google.protobuf.ByteString getNamespaceBytes()
optional string namespace = 3;getNamespaceBytes in interface LoadBalancerOrBuilderpublic long getCreationTimestamp()
optional int64 creation_timestamp = 4;getCreationTimestamp in interface LoadBalancerOrBuilderpublic int getOptionsCount()
LoadBalancerOrBuildermap<string, string> options = 5;getOptionsCount in interface LoadBalancerOrBuilderpublic boolean containsOptions(java.lang.String key)
map<string, string> options = 5;containsOptions in interface LoadBalancerOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getOptions()
getOptionsMap() instead.getOptions in interface LoadBalancerOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getOptionsMap()
map<string, string> options = 5;getOptionsMap in interface LoadBalancerOrBuilderpublic java.lang.String getOptionsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> options = 5;getOptionsOrDefault in interface LoadBalancerOrBuilderpublic java.lang.String getOptionsOrThrow(java.lang.String key)
map<string, string> options = 5;getOptionsOrThrow in interface LoadBalancerOrBuilderpublic boolean hasSpec()
optional .appscode.kubernetes.v1beta1.Spec spec = 6;hasSpec in interface LoadBalancerOrBuilderpublic Spec getSpec()
optional .appscode.kubernetes.v1beta1.Spec spec = 6;getSpec in interface LoadBalancerOrBuilderpublic SpecOrBuilder getSpecOrBuilder()
optional .appscode.kubernetes.v1beta1.Spec spec = 6;getSpecOrBuilder in interface LoadBalancerOrBuilderpublic boolean hasStatus()
optional .appscode.kubernetes.v1beta1.Status status = 7;hasStatus in interface LoadBalancerOrBuilderpublic Status getStatus()
optional .appscode.kubernetes.v1beta1.Status status = 7;getStatus in interface LoadBalancerOrBuilderpublic StatusOrBuilder getStatusOrBuilder()
optional .appscode.kubernetes.v1beta1.Status status = 7;getStatusOrBuilder in interface LoadBalancerOrBuilderpublic java.lang.String getJson()
optional string json = 8;getJson in interface LoadBalancerOrBuilderpublic com.google.protobuf.ByteString getJsonBytes()
optional string json = 8;getJsonBytes in interface LoadBalancerOrBuilderpublic 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 LoadBalancer parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadBalancer parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadBalancer parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadBalancer parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static LoadBalancer parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoadBalancer parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LoadBalancer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoadBalancer parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static LoadBalancer parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static LoadBalancer parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic LoadBalancer.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static LoadBalancer.Builder newBuilder()
public static LoadBalancer.Builder newBuilder(LoadBalancer prototype)
public LoadBalancer.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected LoadBalancer.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static LoadBalancer getDefaultInstance()
public static com.google.protobuf.Parser<LoadBalancer> parser()
public com.google.protobuf.Parser<LoadBalancer> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public LoadBalancer getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder