public static final class HiveMetastore.AbortTxnsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder> implements HiveMetastore.AbortTxnsRequestOrBuilder
org.apache.hadoop.hive.metastore.grpc.AbortTxnsRequest
Modifier and Type | Method and Description |
---|---|
HiveMetastore.AbortTxnsRequest.Builder |
addAllTxnIds(Iterable<? extends Long> values)
repeated int64 txn_ids = 1; |
HiveMetastore.AbortTxnsRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HiveMetastore.AbortTxnsRequest.Builder |
addTxnIds(long value)
repeated int64 txn_ids = 1; |
HiveMetastore.AbortTxnsRequest |
build() |
HiveMetastore.AbortTxnsRequest |
buildPartial() |
HiveMetastore.AbortTxnsRequest.Builder |
clear() |
HiveMetastore.AbortTxnsRequest.Builder |
clearErrorCode()
optional int64 errorCode = 2; |
HiveMetastore.AbortTxnsRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
HiveMetastore.AbortTxnsRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
HiveMetastore.AbortTxnsRequest.Builder |
clearTxnIds()
repeated int64 txn_ids = 1; |
HiveMetastore.AbortTxnsRequest.Builder |
clone() |
HiveMetastore.AbortTxnsRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
long |
getErrorCode()
optional int64 errorCode = 2; |
long |
getTxnIds(int index)
repeated int64 txn_ids = 1; |
int |
getTxnIdsCount()
repeated int64 txn_ids = 1; |
List<Long> |
getTxnIdsList()
repeated int64 txn_ids = 1; |
boolean |
hasErrorCode()
optional int64 errorCode = 2; |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
HiveMetastore.AbortTxnsRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
HiveMetastore.AbortTxnsRequest.Builder |
mergeFrom(HiveMetastore.AbortTxnsRequest other) |
HiveMetastore.AbortTxnsRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
HiveMetastore.AbortTxnsRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
HiveMetastore.AbortTxnsRequest.Builder |
setErrorCode(long value)
optional int64 errorCode = 2; |
HiveMetastore.AbortTxnsRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
HiveMetastore.AbortTxnsRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
HiveMetastore.AbortTxnsRequest.Builder |
setTxnIds(int index,
long value)
repeated int64 txn_ids = 1; |
HiveMetastore.AbortTxnsRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, 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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public HiveMetastore.AbortTxnsRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public HiveMetastore.AbortTxnsRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.Builder mergeFrom(HiveMetastore.AbortTxnsRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder>
public HiveMetastore.AbortTxnsRequest.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<HiveMetastore.AbortTxnsRequest.Builder>
IOException
public List<Long> getTxnIdsList()
repeated int64 txn_ids = 1;
getTxnIdsList
in interface HiveMetastore.AbortTxnsRequestOrBuilder
public int getTxnIdsCount()
repeated int64 txn_ids = 1;
getTxnIdsCount
in interface HiveMetastore.AbortTxnsRequestOrBuilder
public long getTxnIds(int index)
repeated int64 txn_ids = 1;
getTxnIds
in interface HiveMetastore.AbortTxnsRequestOrBuilder
index
- The index of the element to return.public HiveMetastore.AbortTxnsRequest.Builder setTxnIds(int index, long value)
repeated int64 txn_ids = 1;
index
- The index to set the value at.value
- The txnIds to set.public HiveMetastore.AbortTxnsRequest.Builder addTxnIds(long value)
repeated int64 txn_ids = 1;
value
- The txnIds to add.public HiveMetastore.AbortTxnsRequest.Builder addAllTxnIds(Iterable<? extends Long> values)
repeated int64 txn_ids = 1;
values
- The txnIds to add.public HiveMetastore.AbortTxnsRequest.Builder clearTxnIds()
repeated int64 txn_ids = 1;
public boolean hasErrorCode()
optional int64 errorCode = 2;
hasErrorCode
in interface HiveMetastore.AbortTxnsRequestOrBuilder
public long getErrorCode()
optional int64 errorCode = 2;
getErrorCode
in interface HiveMetastore.AbortTxnsRequestOrBuilder
public HiveMetastore.AbortTxnsRequest.Builder setErrorCode(long value)
optional int64 errorCode = 2;
value
- The errorCode to set.public HiveMetastore.AbortTxnsRequest.Builder clearErrorCode()
optional int64 errorCode = 2;
public final HiveMetastore.AbortTxnsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder>
public final HiveMetastore.AbortTxnsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<HiveMetastore.AbortTxnsRequest.Builder>
Copyright © 2023 The Apache Software Foundation. All rights reserved.