com.ibm.etcd.api.V3Lock Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of etcd-java Show documentation
Show all versions of etcd-java Show documentation
etcd3 java client and utilities
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: v3lock.proto
package com.ibm.etcd.api;
public final class V3Lock {
private V3Lock() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_v3lockpb_LockRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v3lockpb_LockRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_v3lockpb_LockResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v3lockpb_LockResponse_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_v3lockpb_UnlockRequest_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v3lockpb_UnlockRequest_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_v3lockpb_UnlockResponse_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_v3lockpb_UnlockResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\014v3lock.proto\022\010v3lockpb\032\trpc.proto\"*\n\013L" +
"ockRequest\022\014\n\004name\030\001 \001(\014\022\r\n\005lease\030\002 \001(\003\"" +
"I\n\014LockResponse\022,\n\006header\030\001 \001(\0132\034.etcdse" +
"rverpb.ResponseHeader\022\013\n\003key\030\002 \001(\014\"\034\n\rUn" +
"lockRequest\022\013\n\003key\030\001 \001(\014\">\n\016UnlockRespon" +
"se\022,\n\006header\030\001 \001(\0132\034.etcdserverpb.Respon" +
"seHeader2~\n\004Lock\0227\n\004Lock\022\025.v3lockpb.Lock" +
"Request\032\026.v3lockpb.LockResponse\"\000\022=\n\006Unl" +
"ock\022\027.v3lockpb.UnlockRequest\032\030.v3lockpb." +
"UnlockResponse\"\000B\024\n\020com.ibm.etcd.apiP\001b\006" +
"proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.ibm.etcd.api.Rpc.getDescriptor(),
});
internal_static_v3lockpb_LockRequest_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_v3lockpb_LockRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v3lockpb_LockRequest_descriptor,
new java.lang.String[] { "Name", "Lease", });
internal_static_v3lockpb_LockResponse_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_v3lockpb_LockResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v3lockpb_LockResponse_descriptor,
new java.lang.String[] { "Header", "Key", });
internal_static_v3lockpb_UnlockRequest_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_v3lockpb_UnlockRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v3lockpb_UnlockRequest_descriptor,
new java.lang.String[] { "Key", });
internal_static_v3lockpb_UnlockResponse_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_v3lockpb_UnlockResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_v3lockpb_UnlockResponse_descriptor,
new java.lang.String[] { "Header", });
com.ibm.etcd.api.Rpc.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}