public static final class Alert.AlertSpec extends com.google.protobuf.GeneratedMessageV3 implements Alert.AlertSpecOrBuilder
appscode.kubernetes.v1beta2.Alert.AlertSpec| Modifier and Type | Class and Description |
|---|---|
static class |
Alert.AlertSpec.Builder
Protobuf type
appscode.kubernetes.v1beta2.Alert.AlertSpec |
static class |
Alert.AlertSpec.IcingaParam
Protobuf type
appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam |
static interface |
Alert.AlertSpec.IcingaParamOrBuilder |
static class |
Alert.AlertSpec.NotifierParam
Protobuf type
appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam |
static interface |
Alert.AlertSpec.NotifierParamOrBuilder |
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 |
CHECK_COMMAND_FIELD_NUMBER |
static int |
ICINGA_PARAM_FIELD_NUMBER |
static int |
NOTIFIER_PARAMS_FIELD_NUMBER |
static int |
VARS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsVars(java.lang.String key)
map<string, string> vars = 4; |
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getCheckCommand()
optional string check_command = 2; |
com.google.protobuf.ByteString |
getCheckCommandBytes()
optional string check_command = 2; |
static Alert.AlertSpec |
getDefaultInstance() |
Alert.AlertSpec |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Alert.AlertSpec.IcingaParam |
getIcingaParam()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1; |
Alert.AlertSpec.IcingaParamOrBuilder |
getIcingaParamOrBuilder()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1; |
Alert.AlertSpec.NotifierParam |
getNotifierParams(int index)
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3; |
int |
getNotifierParamsCount()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3; |
java.util.List<Alert.AlertSpec.NotifierParam> |
getNotifierParamsList()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3; |
Alert.AlertSpec.NotifierParamOrBuilder |
getNotifierParamsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3; |
java.util.List<? extends Alert.AlertSpec.NotifierParamOrBuilder> |
getNotifierParamsOrBuilderList()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3; |
com.google.protobuf.Parser<Alert.AlertSpec> |
getParserForType() |
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
java.util.Map<java.lang.String,java.lang.String> |
getVars()
Deprecated.
|
int |
getVarsCount()
map<string, string> vars = 4; |
java.util.Map<java.lang.String,java.lang.String> |
getVarsMap()
map<string, string> vars = 4; |
java.lang.String |
getVarsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> vars = 4; |
java.lang.String |
getVarsOrThrow(java.lang.String key)
map<string, string> vars = 4; |
int |
hashCode() |
boolean |
hasIcingaParam()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static Alert.AlertSpec.Builder |
newBuilder() |
static Alert.AlertSpec.Builder |
newBuilder(Alert.AlertSpec prototype) |
Alert.AlertSpec.Builder |
newBuilderForType() |
protected Alert.AlertSpec.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Alert.AlertSpec |
parseDelimitedFrom(java.io.InputStream input) |
static Alert.AlertSpec |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Alert.AlertSpec |
parseFrom(byte[] data) |
static Alert.AlertSpec |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Alert.AlertSpec |
parseFrom(com.google.protobuf.ByteString data) |
static Alert.AlertSpec |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Alert.AlertSpec |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Alert.AlertSpec |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Alert.AlertSpec |
parseFrom(java.io.InputStream input) |
static Alert.AlertSpec |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Alert.AlertSpec> |
parser() |
Alert.AlertSpec.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 ICINGA_PARAM_FIELD_NUMBER
public static final int CHECK_COMMAND_FIELD_NUMBER
public static final int NOTIFIER_PARAMS_FIELD_NUMBER
public static final int VARS_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 boolean hasIcingaParam()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1;hasIcingaParam in interface Alert.AlertSpecOrBuilderpublic Alert.AlertSpec.IcingaParam getIcingaParam()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1;getIcingaParam in interface Alert.AlertSpecOrBuilderpublic Alert.AlertSpec.IcingaParamOrBuilder getIcingaParamOrBuilder()
optional .appscode.kubernetes.v1beta2.Alert.AlertSpec.IcingaParam icinga_param = 1;getIcingaParamOrBuilder in interface Alert.AlertSpecOrBuilderpublic java.lang.String getCheckCommand()
optional string check_command = 2;getCheckCommand in interface Alert.AlertSpecOrBuilderpublic com.google.protobuf.ByteString getCheckCommandBytes()
optional string check_command = 2;getCheckCommandBytes in interface Alert.AlertSpecOrBuilderpublic java.util.List<Alert.AlertSpec.NotifierParam> getNotifierParamsList()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3;getNotifierParamsList in interface Alert.AlertSpecOrBuilderpublic java.util.List<? extends Alert.AlertSpec.NotifierParamOrBuilder> getNotifierParamsOrBuilderList()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3;getNotifierParamsOrBuilderList in interface Alert.AlertSpecOrBuilderpublic int getNotifierParamsCount()
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3;getNotifierParamsCount in interface Alert.AlertSpecOrBuilderpublic Alert.AlertSpec.NotifierParam getNotifierParams(int index)
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3;getNotifierParams in interface Alert.AlertSpecOrBuilderpublic Alert.AlertSpec.NotifierParamOrBuilder getNotifierParamsOrBuilder(int index)
repeated .appscode.kubernetes.v1beta2.Alert.AlertSpec.NotifierParam notifier_params = 3;getNotifierParamsOrBuilder in interface Alert.AlertSpecOrBuilderpublic int getVarsCount()
Alert.AlertSpecOrBuildermap<string, string> vars = 4;getVarsCount in interface Alert.AlertSpecOrBuilderpublic boolean containsVars(java.lang.String key)
map<string, string> vars = 4;containsVars in interface Alert.AlertSpecOrBuilder@Deprecated public java.util.Map<java.lang.String,java.lang.String> getVars()
getVarsMap() instead.getVars in interface Alert.AlertSpecOrBuilderpublic java.util.Map<java.lang.String,java.lang.String> getVarsMap()
map<string, string> vars = 4;getVarsMap in interface Alert.AlertSpecOrBuilderpublic java.lang.String getVarsOrDefault(java.lang.String key,
java.lang.String defaultValue)
map<string, string> vars = 4;getVarsOrDefault in interface Alert.AlertSpecOrBuilderpublic java.lang.String getVarsOrThrow(java.lang.String key)
map<string, string> vars = 4;getVarsOrThrow in interface Alert.AlertSpecOrBuilderpublic 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 Alert.AlertSpec parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Alert.AlertSpec parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Alert.AlertSpec parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Alert.AlertSpec parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Alert.AlertSpec parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Alert.AlertSpec parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Alert.AlertSpec parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Alert.AlertSpec parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static Alert.AlertSpec parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static Alert.AlertSpec parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic Alert.AlertSpec.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Alert.AlertSpec.Builder newBuilder()
public static Alert.AlertSpec.Builder newBuilder(Alert.AlertSpec prototype)
public Alert.AlertSpec.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Alert.AlertSpec.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Alert.AlertSpec getDefaultInstance()
public static com.google.protobuf.Parser<Alert.AlertSpec> parser()
public com.google.protobuf.Parser<Alert.AlertSpec> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Alert.AlertSpec getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder