public static final class BeginTransactionResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder> implements BeginTransactionResponseOrBuilder
The response for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].Protobuf type
google.datastore.v1.BeginTransactionResponse
Modifier and Type | Method and Description |
---|---|
BeginTransactionResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeginTransactionResponse |
build() |
BeginTransactionResponse |
buildPartial() |
BeginTransactionResponse.Builder |
clear() |
BeginTransactionResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BeginTransactionResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BeginTransactionResponse.Builder |
clearTransaction()
The transaction identifier (always present).
|
BeginTransactionResponse.Builder |
clone() |
BeginTransactionResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.ByteString |
getTransaction()
The transaction identifier (always present).
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BeginTransactionResponse.Builder |
mergeFrom(BeginTransactionResponse other) |
BeginTransactionResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BeginTransactionResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
BeginTransactionResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BeginTransactionResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BeginTransactionResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BeginTransactionResponse.Builder |
setTransaction(com.google.protobuf.ByteString value)
The transaction identifier (always present).
|
BeginTransactionResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BeginTransactionResponse build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BeginTransactionResponse buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BeginTransactionResponse.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public BeginTransactionResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BeginTransactionResponse.Builder>
IOException
public com.google.protobuf.ByteString getTransaction()
The transaction identifier (always present).
bytes transaction = 1;
getTransaction
in interface BeginTransactionResponseOrBuilder
public BeginTransactionResponse.Builder setTransaction(com.google.protobuf.ByteString value)
The transaction identifier (always present).
bytes transaction = 1;
value
- The transaction to set.public BeginTransactionResponse.Builder clearTransaction()
The transaction identifier (always present).
bytes transaction = 1;
public final BeginTransactionResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
public final BeginTransactionResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionResponse.Builder>
Copyright © 2022 Google LLC. All rights reserved.