alluxio.grpc.table.SyncStatus Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Show all versions of alluxio-shaded-hadoop3-client Show documentation
Shaded Alluxio Client Module for hadoop 3
// Generated by the protocol buffer alluxio.shaded.client.com.iler. DO NOT EDIT!
// source: grpc/table/table_master.proto
package alluxio.grpc.table;
/**
* Protobuf type {@code alluxio.grpc.table.SyncStatus}
*/
public final class SyncStatus extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:alluxio.grpc.table.SyncStatus)
SyncStatusOrBuilder {
private static final long serialVersionUID = 0L;
// Use SyncStatus.newBuilder() to construct.
private SyncStatus(alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder builder) {
super(builder);
}
private SyncStatus() {
tablesIgnored_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
tablesUnchanged_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
tablesUpdated_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
tablesRemoved_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new SyncStatus();
}
@java.lang.Override
public final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_descriptor;
}
@SuppressWarnings({"rawtypes"})
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetTablesErrors();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.table.SyncStatus.class, alluxio.grpc.table.SyncStatus.Builder.class);
}
public static final int TABLES_ERRORS_FIELD_NUMBER = 1;
private static final class TablesErrorsDefaultEntryHolder {
static final alluxio.shaded.client.com.google.protobuf.MapEntry<
java.lang.String, java.lang.String> defaultEntry =
alluxio.shaded.client.com.google.protobuf.MapEntry
.newDefaultInstance(
alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_TablesErrorsEntry_descriptor,
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"",
alluxio.shaded.client.com.google.protobuf.WireFormat.FieldType.STRING,
"");
}
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, java.lang.String> tablesErrors_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetTablesErrors() {
if (tablesErrors_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
TablesErrorsDefaultEntryHolder.defaultEntry);
}
return tablesErrors_;
}
public int getTablesErrorsCount() {
return internalGetTablesErrors().getMap().size();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public boolean containsTablesErrors(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetTablesErrors().getMap().containsKey(key);
}
/**
* Use {@link #getTablesErrorsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getTablesErrors() {
return getTablesErrorsMap();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.util.Map getTablesErrorsMap() {
return internalGetTablesErrors().getMap();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.lang.String getTablesErrorsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTablesErrors().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.lang.String getTablesErrorsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTablesErrors().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public static final int TABLES_IGNORED_FIELD_NUMBER = 2;
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesIgnored_;
/**
* repeated string tables_ignored = 2;
* @return A list containing the tablesIgnored.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesIgnoredList() {
return tablesIgnored_;
}
/**
* repeated string tables_ignored = 2;
* @return The count of tablesIgnored.
*/
public int getTablesIgnoredCount() {
return tablesIgnored_.size();
}
/**
* repeated string tables_ignored = 2;
* @param index The index of the element to return.
* @return The tablesIgnored at the given index.
*/
public java.lang.String getTablesIgnored(int index) {
return tablesIgnored_.get(index);
}
/**
* repeated string tables_ignored = 2;
* @param index The index of the value to return.
* @return The bytes of the tablesIgnored at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesIgnoredBytes(int index) {
return tablesIgnored_.getByteString(index);
}
public static final int TABLES_UNCHANGED_FIELD_NUMBER = 3;
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesUnchanged_;
/**
* repeated string tables_unchanged = 3;
* @return A list containing the tablesUnchanged.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesUnchangedList() {
return tablesUnchanged_;
}
/**
* repeated string tables_unchanged = 3;
* @return The count of tablesUnchanged.
*/
public int getTablesUnchangedCount() {
return tablesUnchanged_.size();
}
/**
* repeated string tables_unchanged = 3;
* @param index The index of the element to return.
* @return The tablesUnchanged at the given index.
*/
public java.lang.String getTablesUnchanged(int index) {
return tablesUnchanged_.get(index);
}
/**
* repeated string tables_unchanged = 3;
* @param index The index of the value to return.
* @return The bytes of the tablesUnchanged at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesUnchangedBytes(int index) {
return tablesUnchanged_.getByteString(index);
}
public static final int TABLES_UPDATED_FIELD_NUMBER = 4;
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesUpdated_;
/**
* repeated string tables_updated = 4;
* @return A list containing the tablesUpdated.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesUpdatedList() {
return tablesUpdated_;
}
/**
* repeated string tables_updated = 4;
* @return The count of tablesUpdated.
*/
public int getTablesUpdatedCount() {
return tablesUpdated_.size();
}
/**
* repeated string tables_updated = 4;
* @param index The index of the element to return.
* @return The tablesUpdated at the given index.
*/
public java.lang.String getTablesUpdated(int index) {
return tablesUpdated_.get(index);
}
/**
* repeated string tables_updated = 4;
* @param index The index of the value to return.
* @return The bytes of the tablesUpdated at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesUpdatedBytes(int index) {
return tablesUpdated_.getByteString(index);
}
public static final int TABLES_REMOVED_FIELD_NUMBER = 5;
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesRemoved_;
/**
* repeated string tables_removed = 5;
* @return A list containing the tablesRemoved.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesRemovedList() {
return tablesRemoved_;
}
/**
* repeated string tables_removed = 5;
* @return The count of tablesRemoved.
*/
public int getTablesRemovedCount() {
return tablesRemoved_.size();
}
/**
* repeated string tables_removed = 5;
* @param index The index of the element to return.
* @return The tablesRemoved at the given index.
*/
public java.lang.String getTablesRemoved(int index) {
return tablesRemoved_.get(index);
}
/**
* repeated string tables_removed = 5;
* @param index The index of the value to return.
* @return The bytes of the tablesRemoved at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesRemovedBytes(int index) {
return tablesRemoved_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(alluxio.shaded.client.com.google.protobuf.CodedOutputStream output)
throws java.alluxio.shaded.client.io.IOException {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.serializeStringMapTo(
output,
internalGetTablesErrors(),
TablesErrorsDefaultEntryHolder.defaultEntry,
1);
for (int i = 0; i < tablesIgnored_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 2, tablesIgnored_.getRaw(i));
}
for (int i = 0; i < tablesUnchanged_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 3, tablesUnchanged_.getRaw(i));
}
for (int i = 0; i < tablesUpdated_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 4, tablesUpdated_.getRaw(i));
}
for (int i = 0; i < tablesRemoved_.size(); i++) {
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.writeString(output, 5, tablesRemoved_.getRaw(i));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (java.util.Map.Entry entry
: internalGetTablesErrors().getMap().entrySet()) {
alluxio.shaded.client.com.google.protobuf.MapEntry
tablesErrors__ = TablesErrorsDefaultEntryHolder.defaultEntry.newBuilderForType()
.setKey(entry.getKey())
.setValue(entry.getValue())
.build();
size += alluxio.shaded.client.com.google.protobuf.CodedOutputStream
.alluxio.shaded.client.com.uteMessageSize(1, tablesErrors__);
}
{
int dataSize = 0;
for (int i = 0; i < tablesIgnored_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(tablesIgnored_.getRaw(i));
}
size += dataSize;
size += 1 * getTablesIgnoredList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tablesUnchanged_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(tablesUnchanged_.getRaw(i));
}
size += dataSize;
size += 1 * getTablesUnchangedList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tablesUpdated_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(tablesUpdated_.getRaw(i));
}
size += dataSize;
size += 1 * getTablesUpdatedList().size();
}
{
int dataSize = 0;
for (int i = 0; i < tablesRemoved_.size(); i++) {
dataSize += alluxio.shaded.client.com.uteStringSizeNoTag(tablesRemoved_.getRaw(i));
}
size += dataSize;
size += 1 * getTablesRemovedList().size();
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof alluxio.grpc.table.SyncStatus)) {
return super.equals(obj);
}
alluxio.grpc.table.SyncStatus other = (alluxio.grpc.table.SyncStatus) obj;
if (!internalGetTablesErrors().equals(
other.internalGetTablesErrors())) return false;
if (!getTablesIgnoredList()
.equals(other.getTablesIgnoredList())) return false;
if (!getTablesUnchangedList()
.equals(other.getTablesUnchangedList())) return false;
if (!getTablesUpdatedList()
.equals(other.getTablesUpdatedList())) return false;
if (!getTablesRemovedList()
.equals(other.getTablesRemovedList())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (!internalGetTablesErrors().getMap().isEmpty()) {
hash = (37 * hash) + TABLES_ERRORS_FIELD_NUMBER;
hash = (53 * hash) + internalGetTablesErrors().hashCode();
}
if (getTablesIgnoredCount() > 0) {
hash = (37 * hash) + TABLES_IGNORED_FIELD_NUMBER;
hash = (53 * hash) + getTablesIgnoredList().hashCode();
}
if (getTablesUnchangedCount() > 0) {
hash = (37 * hash) + TABLES_UNCHANGED_FIELD_NUMBER;
hash = (53 * hash) + getTablesUnchangedList().hashCode();
}
if (getTablesUpdatedCount() > 0) {
hash = (37 * hash) + TABLES_UPDATED_FIELD_NUMBER;
hash = (53 * hash) + getTablesUpdatedList().hashCode();
}
if (getTablesRemovedCount() > 0) {
hash = (37 * hash) + TABLES_REMOVED_FIELD_NUMBER;
hash = (53 * hash) + getTablesRemovedList().hashCode();
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static alluxio.grpc.table.SyncStatus parseFrom(
java.nio.ByteBuffer data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
java.nio.ByteBuffer data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
alluxio.shaded.client.com.google.protobuf.ByteString data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.table.SyncStatus parseFrom(byte[] data)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
byte[] data,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static alluxio.grpc.table.SyncStatus parseFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.table.SyncStatus parseDelimitedFrom(java.alluxio.shaded.client.io.InputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static alluxio.grpc.table.SyncStatus parseDelimitedFrom(
java.alluxio.shaded.client.io.InputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static alluxio.grpc.table.SyncStatus parseFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
return alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(alluxio.grpc.table.SyncStatus prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code alluxio.grpc.table.SyncStatus}
*/
public static final class Builder extends
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:alluxio.grpc.table.SyncStatus)
alluxio.grpc.table.SyncStatusOrBuilder {
public static final alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_descriptor;
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMapField(
int number) {
switch (number) {
case 1:
return internalGetTablesErrors();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@SuppressWarnings({"rawtypes"})
protected alluxio.shaded.client.com.google.protobuf.MapField internalGetMutableMapField(
int number) {
switch (number) {
case 1:
return internalGetMutableTablesErrors();
default:
throw new RuntimeException(
"Invalid map field number: " + number);
}
}
@java.lang.Override
protected alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_fieldAccessorTable
.ensureFieldAccessorsInitialized(
alluxio.grpc.table.SyncStatus.class, alluxio.grpc.table.SyncStatus.Builder.class);
}
// Construct using alluxio.grpc.table.SyncStatus.newBuilder()
private Builder() {
}
private Builder(
alluxio.shaded.client.com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
internalGetMutableTablesErrors().clear();
tablesIgnored_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
tablesUnchanged_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
tablesUpdated_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
tablesRemoved_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return alluxio.grpc.table.TableMasterProto.internal_static_alluxio_grpc_table_SyncStatus_descriptor;
}
@java.lang.Override
public alluxio.grpc.table.SyncStatus getDefaultInstanceForType() {
return alluxio.grpc.table.SyncStatus.getDefaultInstance();
}
@java.lang.Override
public alluxio.grpc.table.SyncStatus build() {
alluxio.grpc.table.SyncStatus result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public alluxio.grpc.table.SyncStatus buildPartial() {
alluxio.grpc.table.SyncStatus result = new alluxio.grpc.table.SyncStatus(this);
int from_bitField0_ = bitField0_;
result.tablesErrors_ = internalGetTablesErrors();
result.tablesErrors_.makeImmutable();
if (((bitField0_ & 0x00000002) != 0)) {
tablesIgnored_ = tablesIgnored_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.tablesIgnored_ = tablesIgnored_;
if (((bitField0_ & 0x00000004) != 0)) {
tablesUnchanged_ = tablesUnchanged_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000004);
}
result.tablesUnchanged_ = tablesUnchanged_;
if (((bitField0_ & 0x00000008) != 0)) {
tablesUpdated_ = tablesUpdated_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000008);
}
result.tablesUpdated_ = tablesUpdated_;
if (((bitField0_ & 0x00000010) != 0)) {
tablesRemoved_ = tablesRemoved_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000010);
}
result.tablesRemoved_ = tablesRemoved_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
alluxio.shaded.client.com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
alluxio.shaded.client.com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(alluxio.shaded.client.com.google.protobuf.Message other) {
if (other instanceof alluxio.grpc.table.SyncStatus) {
return mergeFrom((alluxio.grpc.table.SyncStatus)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(alluxio.grpc.table.SyncStatus other) {
if (other == alluxio.grpc.table.SyncStatus.getDefaultInstance()) return this;
internalGetMutableTablesErrors().mergeFrom(
other.internalGetTablesErrors());
if (!other.tablesIgnored_.isEmpty()) {
if (tablesIgnored_.isEmpty()) {
tablesIgnored_ = other.tablesIgnored_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureTablesIgnoredIsMutable();
tablesIgnored_.addAll(other.tablesIgnored_);
}
onChanged();
}
if (!other.tablesUnchanged_.isEmpty()) {
if (tablesUnchanged_.isEmpty()) {
tablesUnchanged_ = other.tablesUnchanged_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureTablesUnchangedIsMutable();
tablesUnchanged_.addAll(other.tablesUnchanged_);
}
onChanged();
}
if (!other.tablesUpdated_.isEmpty()) {
if (tablesUpdated_.isEmpty()) {
tablesUpdated_ = other.tablesUpdated_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureTablesUpdatedIsMutable();
tablesUpdated_.addAll(other.tablesUpdated_);
}
onChanged();
}
if (!other.tablesRemoved_.isEmpty()) {
if (tablesRemoved_.isEmpty()) {
tablesRemoved_ = other.tablesRemoved_;
bitField0_ = (bitField0_ & ~0x00000010);
} else {
ensureTablesRemovedIsMutable();
tablesRemoved_.addAll(other.tablesRemoved_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.alluxio.shaded.client.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
alluxio.shaded.client.com.google.protobuf.MapEntry
tablesErrors__ = input.readMessage(
TablesErrorsDefaultEntryHolder.defaultEntry.getParserForType(), extensionRegistry);
internalGetMutableTablesErrors().getMutableMap().put(
tablesErrors__.getKey(), tablesErrors__.getValue());
break;
} // case 10
case 18: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureTablesIgnoredIsMutable();
tablesIgnored_.add(bs);
break;
} // case 18
case 26: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureTablesUnchangedIsMutable();
tablesUnchanged_.add(bs);
break;
} // case 26
case 34: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureTablesUpdatedIsMutable();
tablesUpdated_.add(bs);
break;
} // case 34
case 42: {
alluxio.shaded.client.com.google.protobuf.ByteString bs = input.readBytes();
ensureTablesRemovedIsMutable();
tablesRemoved_.add(bs);
break;
} // case 42
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private alluxio.shaded.client.com.google.protobuf.MapField<
java.lang.String, java.lang.String> tablesErrors_;
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetTablesErrors() {
if (tablesErrors_ == null) {
return alluxio.shaded.client.com.google.protobuf.MapField.emptyMapField(
TablesErrorsDefaultEntryHolder.defaultEntry);
}
return tablesErrors_;
}
private alluxio.shaded.client.com.google.protobuf.MapField
internalGetMutableTablesErrors() {
onChanged();;
if (tablesErrors_ == null) {
tablesErrors_ = alluxio.shaded.client.com.google.protobuf.MapField.newMapField(
TablesErrorsDefaultEntryHolder.defaultEntry);
}
if (!tablesErrors_.isMutable()) {
tablesErrors_ = tablesErrors_.copy();
}
return tablesErrors_;
}
public int getTablesErrorsCount() {
return internalGetTablesErrors().getMap().size();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public boolean containsTablesErrors(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
return internalGetTablesErrors().getMap().containsKey(key);
}
/**
* Use {@link #getTablesErrorsMap()} instead.
*/
@java.lang.Override
@java.lang.Deprecated
public java.util.Map getTablesErrors() {
return getTablesErrorsMap();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.util.Map getTablesErrorsMap() {
return internalGetTablesErrors().getMap();
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.lang.String getTablesErrorsOrDefault(
java.lang.String key,
java.lang.String defaultValue) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTablesErrors().getMap();
return map.containsKey(key) ? map.get(key) : defaultValue;
}
/**
* map<string, string> tables_errors = 1;
*/
@java.lang.Override
public java.lang.String getTablesErrorsOrThrow(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
java.util.Map map =
internalGetTablesErrors().getMap();
if (!map.containsKey(key)) {
throw new java.lang.IllegalArgumentException();
}
return map.get(key);
}
public Builder clearTablesErrors() {
internalGetMutableTablesErrors().getMutableMap()
.clear();
return this;
}
/**
* map<string, string> tables_errors = 1;
*/
public Builder removeTablesErrors(
java.lang.String key) {
if (key == null) { throw new NullPointerException("map key"); }
internalGetMutableTablesErrors().getMutableMap()
.remove(key);
return this;
}
/**
* Use alternate mutation accessors instead.
*/
@java.lang.Deprecated
public java.util.Map
getMutableTablesErrors() {
return internalGetMutableTablesErrors().getMutableMap();
}
/**
* map<string, string> tables_errors = 1;
*/
public Builder putTablesErrors(
java.lang.String key,
java.lang.String value) {
if (key == null) { throw new NullPointerException("map key"); }
if (value == null) {
throw new NullPointerException("map value");
}
internalGetMutableTablesErrors().getMutableMap()
.put(key, value);
return this;
}
/**
* map<string, string> tables_errors = 1;
*/
public Builder putAllTablesErrors(
java.util.Map values) {
internalGetMutableTablesErrors().getMutableMap()
.putAll(values);
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesIgnored_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesIgnoredIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
tablesIgnored_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(tablesIgnored_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated string tables_ignored = 2;
* @return A list containing the tablesIgnored.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesIgnoredList() {
return tablesIgnored_.getUnmodifiableView();
}
/**
* repeated string tables_ignored = 2;
* @return The count of tablesIgnored.
*/
public int getTablesIgnoredCount() {
return tablesIgnored_.size();
}
/**
* repeated string tables_ignored = 2;
* @param index The index of the element to return.
* @return The tablesIgnored at the given index.
*/
public java.lang.String getTablesIgnored(int index) {
return tablesIgnored_.get(index);
}
/**
* repeated string tables_ignored = 2;
* @param index The index of the value to return.
* @return The bytes of the tablesIgnored at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesIgnoredBytes(int index) {
return tablesIgnored_.getByteString(index);
}
/**
* repeated string tables_ignored = 2;
* @param index The index to set the value at.
* @param value The tablesIgnored to set.
* @return This builder for chaining.
*/
public Builder setTablesIgnored(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesIgnoredIsMutable();
tablesIgnored_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tables_ignored = 2;
* @param value The tablesIgnored to add.
* @return This builder for chaining.
*/
public Builder addTablesIgnored(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesIgnoredIsMutable();
tablesIgnored_.add(value);
onChanged();
return this;
}
/**
* repeated string tables_ignored = 2;
* @param values The tablesIgnored to add.
* @return This builder for chaining.
*/
public Builder addAllTablesIgnored(
java.lang.Iterable values) {
ensureTablesIgnoredIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tablesIgnored_);
onChanged();
return this;
}
/**
* repeated string tables_ignored = 2;
* @return This builder for chaining.
*/
public Builder clearTablesIgnored() {
tablesIgnored_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* repeated string tables_ignored = 2;
* @param value The bytes of the tablesIgnored to add.
* @return This builder for chaining.
*/
public Builder addTablesIgnoredBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesIgnoredIsMutable();
tablesIgnored_.add(value);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesUnchanged_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesUnchangedIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
tablesUnchanged_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(tablesUnchanged_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string tables_unchanged = 3;
* @return A list containing the tablesUnchanged.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesUnchangedList() {
return tablesUnchanged_.getUnmodifiableView();
}
/**
* repeated string tables_unchanged = 3;
* @return The count of tablesUnchanged.
*/
public int getTablesUnchangedCount() {
return tablesUnchanged_.size();
}
/**
* repeated string tables_unchanged = 3;
* @param index The index of the element to return.
* @return The tablesUnchanged at the given index.
*/
public java.lang.String getTablesUnchanged(int index) {
return tablesUnchanged_.get(index);
}
/**
* repeated string tables_unchanged = 3;
* @param index The index of the value to return.
* @return The bytes of the tablesUnchanged at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesUnchangedBytes(int index) {
return tablesUnchanged_.getByteString(index);
}
/**
* repeated string tables_unchanged = 3;
* @param index The index to set the value at.
* @param value The tablesUnchanged to set.
* @return This builder for chaining.
*/
public Builder setTablesUnchanged(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUnchangedIsMutable();
tablesUnchanged_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tables_unchanged = 3;
* @param value The tablesUnchanged to add.
* @return This builder for chaining.
*/
public Builder addTablesUnchanged(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUnchangedIsMutable();
tablesUnchanged_.add(value);
onChanged();
return this;
}
/**
* repeated string tables_unchanged = 3;
* @param values The tablesUnchanged to add.
* @return This builder for chaining.
*/
public Builder addAllTablesUnchanged(
java.lang.Iterable values) {
ensureTablesUnchangedIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tablesUnchanged_);
onChanged();
return this;
}
/**
* repeated string tables_unchanged = 3;
* @return This builder for chaining.
*/
public Builder clearTablesUnchanged() {
tablesUnchanged_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string tables_unchanged = 3;
* @param value The bytes of the tablesUnchanged to add.
* @return This builder for chaining.
*/
public Builder addTablesUnchangedBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUnchangedIsMutable();
tablesUnchanged_.add(value);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesUpdated_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesUpdatedIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
tablesUpdated_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(tablesUpdated_);
bitField0_ |= 0x00000008;
}
}
/**
* repeated string tables_updated = 4;
* @return A list containing the tablesUpdated.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesUpdatedList() {
return tablesUpdated_.getUnmodifiableView();
}
/**
* repeated string tables_updated = 4;
* @return The count of tablesUpdated.
*/
public int getTablesUpdatedCount() {
return tablesUpdated_.size();
}
/**
* repeated string tables_updated = 4;
* @param index The index of the element to return.
* @return The tablesUpdated at the given index.
*/
public java.lang.String getTablesUpdated(int index) {
return tablesUpdated_.get(index);
}
/**
* repeated string tables_updated = 4;
* @param index The index of the value to return.
* @return The bytes of the tablesUpdated at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesUpdatedBytes(int index) {
return tablesUpdated_.getByteString(index);
}
/**
* repeated string tables_updated = 4;
* @param index The index to set the value at.
* @param value The tablesUpdated to set.
* @return This builder for chaining.
*/
public Builder setTablesUpdated(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUpdatedIsMutable();
tablesUpdated_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tables_updated = 4;
* @param value The tablesUpdated to add.
* @return This builder for chaining.
*/
public Builder addTablesUpdated(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUpdatedIsMutable();
tablesUpdated_.add(value);
onChanged();
return this;
}
/**
* repeated string tables_updated = 4;
* @param values The tablesUpdated to add.
* @return This builder for chaining.
*/
public Builder addAllTablesUpdated(
java.lang.Iterable values) {
ensureTablesUpdatedIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tablesUpdated_);
onChanged();
return this;
}
/**
* repeated string tables_updated = 4;
* @return This builder for chaining.
*/
public Builder clearTablesUpdated() {
tablesUpdated_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
return this;
}
/**
* repeated string tables_updated = 4;
* @param value The bytes of the tablesUpdated to add.
* @return This builder for chaining.
*/
public Builder addTablesUpdatedBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesUpdatedIsMutable();
tablesUpdated_.add(value);
onChanged();
return this;
}
private alluxio.shaded.client.com.google.protobuf.LazyStringList tablesRemoved_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureTablesRemovedIsMutable() {
if (!((bitField0_ & 0x00000010) != 0)) {
tablesRemoved_ = new alluxio.shaded.client.com.google.protobuf.LazyStringArrayList(tablesRemoved_);
bitField0_ |= 0x00000010;
}
}
/**
* repeated string tables_removed = 5;
* @return A list containing the tablesRemoved.
*/
public alluxio.shaded.client.com.google.protobuf.ProtocolStringList
getTablesRemovedList() {
return tablesRemoved_.getUnmodifiableView();
}
/**
* repeated string tables_removed = 5;
* @return The count of tablesRemoved.
*/
public int getTablesRemovedCount() {
return tablesRemoved_.size();
}
/**
* repeated string tables_removed = 5;
* @param index The index of the element to return.
* @return The tablesRemoved at the given index.
*/
public java.lang.String getTablesRemoved(int index) {
return tablesRemoved_.get(index);
}
/**
* repeated string tables_removed = 5;
* @param index The index of the value to return.
* @return The bytes of the tablesRemoved at the given index.
*/
public alluxio.shaded.client.com.google.protobuf.ByteString
getTablesRemovedBytes(int index) {
return tablesRemoved_.getByteString(index);
}
/**
* repeated string tables_removed = 5;
* @param index The index to set the value at.
* @param value The tablesRemoved to set.
* @return This builder for chaining.
*/
public Builder setTablesRemoved(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesRemovedIsMutable();
tablesRemoved_.set(index, value);
onChanged();
return this;
}
/**
* repeated string tables_removed = 5;
* @param value The tablesRemoved to add.
* @return This builder for chaining.
*/
public Builder addTablesRemoved(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesRemovedIsMutable();
tablesRemoved_.add(value);
onChanged();
return this;
}
/**
* repeated string tables_removed = 5;
* @param values The tablesRemoved to add.
* @return This builder for chaining.
*/
public Builder addAllTablesRemoved(
java.lang.Iterable values) {
ensureTablesRemovedIsMutable();
alluxio.shaded.client.com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, tablesRemoved_);
onChanged();
return this;
}
/**
* repeated string tables_removed = 5;
* @return This builder for chaining.
*/
public Builder clearTablesRemoved() {
tablesRemoved_ = alluxio.shaded.client.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000010);
onChanged();
return this;
}
/**
* repeated string tables_removed = 5;
* @param value The bytes of the tablesRemoved to add.
* @return This builder for chaining.
*/
public Builder addTablesRemovedBytes(
alluxio.shaded.client.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureTablesRemovedIsMutable();
tablesRemoved_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final alluxio.shaded.client.com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:alluxio.grpc.table.SyncStatus)
}
// @@protoc_insertion_point(class_scope:alluxio.grpc.table.SyncStatus)
private static final alluxio.grpc.table.SyncStatus DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new alluxio.grpc.table.SyncStatus();
}
public static alluxio.grpc.table.SyncStatus getDefaultInstance() {
return DEFAULT_INSTANCE;
}
@java.lang.Deprecated public static final alluxio.shaded.client.com.google.protobuf.Parser
PARSER = new alluxio.shaded.client.com.google.protobuf.AbstractParser() {
@java.lang.Override
public SyncStatus parsePartialFrom(
alluxio.shaded.client.com.google.protobuf.CodedInputStream input,
alluxio.shaded.client.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (alluxio.shaded.client.com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.alluxio.shaded.client.io.IOException e) {
throw new alluxio.shaded.client.com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static alluxio.shaded.client.com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public alluxio.shaded.client.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public alluxio.grpc.table.SyncStatus getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}