// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: metrics.proto
package io.prometheus.client;
public final class Metrics {
private Metrics() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code io.prometheus.client.MetricType}
*/
public enum MetricType
implements com.google.protobuf.ProtocolMessageEnum {
/**
* <code>COUNTER = 0;</code>
*/
COUNTER(0, 0),
/**
* <code>GAUGE = 1;</code>
*/
GAUGE(1, 1),
/**
* <code>SUMMARY = 2;</code>
*/
SUMMARY(2, 2),
/**
* <code>UNTYPED = 3;</code>
*/
UNTYPED(3, 3),
/**
* <code>HISTOGRAM = 4;</code>
*/
HISTOGRAM(4, 4),
;
/**
* <code>COUNTER = 0;</code>
*/
public static final int COUNTER_VALUE = 0;
/**
* <code>GAUGE = 1;</code>
*/
public static final int GAUGE_VALUE = 1;
/**
* <code>SUMMARY = 2;</code>
*/
public static final int SUMMARY_VALUE = 2;
/**
* <code>UNTYPED = 3;</code>
*/
public static final int UNTYPED_VALUE = 3;
/**
* <code>HISTOGRAM = 4;</code>
*/
public static final int HISTOGRAM_VALUE = 4;
public final int getNumber() { return value; }
public static MetricType valueOf(int value) {
switch (value) {
case 0: return COUNTER;
case 1: return GAUGE;
case 2: return SUMMARY;
case 3: return UNTYPED;
case 4: return HISTOGRAM;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap<MetricType>
internalGetValueMap() {
return internalValueMap;
}
private static com.google.protobuf.Internal.EnumLiteMap<MetricType>
internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap<MetricType>() {
public MetricType findValueByNumber(int number) {
return MetricType.valueOf(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return io.prometheus.client.Metrics.getDescriptor().getEnumTypes().get(0);
}
private static final MetricType[] VALUES = values();
public static MetricType valueOf(
com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private MetricType(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:io.prometheus.client.MetricType)
}
public interface LabelPairOrBuilder extends
// @@protoc_insertion_point(interface_extends:io.prometheus.client.LabelPair)
com.google.protobuf.MessageOrBuilder {
/**
* <code>optional string name = 1;</code>
*/
boolean hasName();
/**
* <code>optional string name = 1;</code>
*/
java.lang.String getName();
/**
* <code>optional string name = 1;</code>
*/
com.google.protobuf.ByteString
getNameBytes();
/**
* <code>optional string value = 2;</code>
*/
boolean hasValue();
/**
* <code>optional string value = 2;</code>
*/
java.lang.String getValue();
/**
* <code>optional string value = 2;</code>
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code io.prometheus.client.LabelPair}
*/
public static final class LabelPair extends
com.google.protobuf.GeneratedMessage implements
// @@protoc_insertion_point(message_implements:io.prometheus.client.LabelPair)
LabelPairOrBuilder {
// Use LabelPair.newBuilder() to construct.
private LabelPair(com.google.protobuf.GeneratedMessage.Builder<?> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private LabelPair(boolean noInit) { this.unknownFields = com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final LabelPair defaultInstance;
public static LabelPair getDefaultInstance() {
return defaultInstance;
}
public LabelPair getDefaultInstanceForType() {
return defaultInstance;
}
private final com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private LabelPair(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000001;
name_ = bs;
break;
}
case 18: {
com.google.protobuf.ByteString bs = input.readBytes();
bitField0_ |= 0x00000002;
value_ = bs;
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return io.prometheus.client.Metrics.internal_static_io_prometheus_client_LabelPair_descriptor;
}
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return io.prometheus.client.Metrics.internal_static_io_prometheus_client_LabelPair_fieldAccessorTable
.ensureFieldAccessorsInitialized(
io.prometheus.client.Metrics.LabelPair.class, io.prometheus.client.Metrics.LabelPair.Builder.class);
}
public static com.google.protobuf.Parser<LabelPair> PARSER =
new com.google.protobuf.AbstractParser<LabelPair>() {
public LabelPair parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new LabelPair(input, extensionRegistry);
}
};
@java.lang.Override
public com.google.protobuf.Parser<LabelPair> getParserForType() {
return PARSER;
}
private int bitField0_;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* <code>optional string name = 1;</code>
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x000
没有合适的资源?快使用搜索试试~ 我知道了~
mysql-operator:在Kubernetes中创建,操作和扩展自愈MySQL集群
共10528个文件
go:7180个
json:708个
build:454个
需积分: 44 12 下载量 69 浏览量
2021-02-02
17:24:31
上传
评论
收藏 29.96MB ZIP 举报
温馨提示
MySQL运算符 MySQL创建,配置和管理在Kubernetes上运行MySQL InnoDB集群。 它不适用于MySQL NDB群集。 MySQL Operator对集群的配置方式持保留意见。 我们基于和来为在Kubernetes上运行MySQL提供完整的高可用性解决方案。 虽然完全可用,但当前是alpha软件,应该这样对待。 您应对数据和数据库集群的运行负责。 在第一个主要版本发布之前,可能会有向后不兼容的更改。 入门 请参阅该,该为Oracle MySQL Operator的用户提供了快速入门指南。 产品特点 MySQL Operator提供以下核心功能: 轻松创建和删除Kubernetes中的高可用性MySQL InnoDB集群 自动化数据库备份,故障检测和恢复 将自动备份安排为群集定义的一部分 创建“按需”备份。 使用备份还原数据库 要求 Kubernetes 1.8.0 + 贡献 mysql-operator是一个开源项目。 有关详细信息,请参见。 Oracle非常感谢社区对此项目所做的贡献。 执照 版权所有(c)2018,Oracle和/或其分支机构。 版权所
资源详情
资源评论
资源推荐
收起资源包目录
mysql-operator:在Kubernetes中创建,操作和扩展自愈MySQL集群 (10528个子文件)
v0.1.0 354B
0 24B
0 24B
1 24B
1 24B
10 24B
2 24B
2 24B
3 24B
3 24B
Dockerfile.test.go1.4 260B
4 24B
Dockerfile.test.go1.5 278B
Dockerfile.test.go1.5-novendorexp 151B
Dockerfile.test.go1.6 248B
Dockerfile.test.go1.7 248B
Dockerfile.test.go1.8 248B
Dockerfile.test.go1.9 248B
errors-ae16.a 5KB
test_go1.7_1.a 2KB
test_go1.7_0.a 2KB
long.a 802B
short.a 710B
abc 0B
AUTHORS 548B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
AUTHORS 173B
setup-godoc-app.bash 3KB
make.bash 485B
upload.bash 454B
all_instructions.bpf 512B
buddyinfo 300B
buddyinfo 298B
buddyinfo 39B
BUILD 8KB
BUILD 8KB
BUILD 6KB
BUILD 6KB
BUILD 5KB
BUILD 5KB
BUILD 5KB
BUILD 5KB
BUILD 5KB
BUILD 4KB
BUILD 4KB
BUILD 4KB
BUILD 4KB
BUILD 4KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 3KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
BUILD 2KB
共 10528 条
- 1
- 2
- 3
- 4
- 5
- 6
- 106
TristanDu
- 粉丝: 15
- 资源: 4681
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功
评论0