public static final class Rpc.PutRequest extends com.google.protobuf.GeneratedMessageV3 implements Rpc.PutRequestOrBuilder
etcdserverpb.PutRequest| 限定符和类型 | 类和说明 |
|---|---|
static class |
Rpc.PutRequest.Builder
Protobuf type
etcdserverpb.PutRequest |
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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
IGNORE_LEASE_FIELD_NUMBER |
static int |
IGNORE_VALUE_FIELD_NUMBER |
static int |
KEY_FIELD_NUMBER |
static int |
LEASE_FIELD_NUMBER |
static int |
PREV_KV_FIELD_NUMBER |
static int |
VALUE_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static Rpc.PutRequest |
getDefaultInstance() |
Rpc.PutRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
boolean |
getIgnoreLease()
If ignore_lease is set, etcd updates the key using its current lease.
|
boolean |
getIgnoreValue()
If ignore_value is set, etcd updates the key using its current value.
|
com.google.protobuf.ByteString |
getKey()
key is the key, in bytes, to put into the key-value store.
|
long |
getLease()
lease is the lease ID to associate with the key in the key-value store.
|
com.google.protobuf.Parser<Rpc.PutRequest> |
getParserForType() |
boolean |
getPrevKv()
If prev_kv is set, etcd gets the previous key-value pair before changing it.
|
int |
getSerializedSize() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
com.google.protobuf.ByteString |
getValue()
value is the value, in bytes, to associate with the key in the key-value store.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Rpc.PutRequest.Builder |
newBuilder() |
static Rpc.PutRequest.Builder |
newBuilder(Rpc.PutRequest prototype) |
Rpc.PutRequest.Builder |
newBuilderForType() |
protected Rpc.PutRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static Rpc.PutRequest |
parseDelimitedFrom(InputStream input) |
static Rpc.PutRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.PutRequest |
parseFrom(byte[] data) |
static Rpc.PutRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.PutRequest |
parseFrom(ByteBuffer data) |
static Rpc.PutRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.PutRequest |
parseFrom(com.google.protobuf.ByteString data) |
static Rpc.PutRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.PutRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Rpc.PutRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Rpc.PutRequest |
parseFrom(InputStream input) |
static Rpc.PutRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Rpc.PutRequest> |
parser() |
Rpc.PutRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int KEY_FIELD_NUMBER
public static final int VALUE_FIELD_NUMBER
public static final int LEASE_FIELD_NUMBER
public static final int PREV_KV_FIELD_NUMBER
public static final int IGNORE_VALUE_FIELD_NUMBER
public static final int IGNORE_LEASE_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public com.google.protobuf.ByteString getKey()
key is the key, in bytes, to put into the key-value store.
bytes key = 1;getKey 在接口中 Rpc.PutRequestOrBuilderpublic com.google.protobuf.ByteString getValue()
value is the value, in bytes, to associate with the key in the key-value store.
bytes value = 2;getValue 在接口中 Rpc.PutRequestOrBuilderpublic long getLease()
lease is the lease ID to associate with the key in the key-value store. A lease value of 0 indicates no lease.
int64 lease = 3;getLease 在接口中 Rpc.PutRequestOrBuilderpublic boolean getPrevKv()
If prev_kv is set, etcd gets the previous key-value pair before changing it. The previous key-value pair will be returned in the put response.
bool prev_kv = 4;getPrevKv 在接口中 Rpc.PutRequestOrBuilderpublic boolean getIgnoreValue()
If ignore_value is set, etcd updates the key using its current value. Returns an error if the key does not exist.
bool ignore_value = 5;getIgnoreValue 在接口中 Rpc.PutRequestOrBuilderpublic boolean getIgnoreLease()
If ignore_lease is set, etcd updates the key using its current lease. Returns an error if the key does not exist.
bool ignore_lease = 6;getIgnoreLease 在接口中 Rpc.PutRequestOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static Rpc.PutRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Rpc.PutRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.PutRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.PutRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Rpc.PutRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Rpc.PutRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Rpc.PutRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Rpc.PutRequest.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static Rpc.PutRequest.Builder newBuilder()
public static Rpc.PutRequest.Builder newBuilder(Rpc.PutRequest prototype)
public Rpc.PutRequest.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected Rpc.PutRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static Rpc.PutRequest getDefaultInstance()
public static com.google.protobuf.Parser<Rpc.PutRequest> parser()
public com.google.protobuf.Parser<Rpc.PutRequest> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public Rpc.PutRequest getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.