public org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse buildPartial() { org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse result = new org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (indexBuilder_ == null) { result.index_ = index_; } else { result.index_ = indexBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, state_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, index_); } getUnknownFields().writeTo(output); }
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.google.protobuf.UnknownFieldSet.Builder unknownFields = break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable();
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse)) { return super.equals(obj); } org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse other = (org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse) obj; boolean result = true; result = result && (hasState() == other.hasState()); if (hasState()) { result = result && getState() .equals(other.getState()); } result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && getIndex() .equals(other.getIndex()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse buildPartial() { org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse result = new org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (stateBuilder_ == null) { result.state_ = state_; } else { result.state_ = stateBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (indexBuilder_ == null) { result.index_ = index_; } else { result.index_ = indexBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; }
@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse)) { return super.equals(obj); } org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse other = (org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse) obj; boolean result = true; result = result && (hasState() == other.hasState()); if (hasState()) { result = result && getState() .equals(other.getState()); } result = result && (hasIndex() == other.hasIndex()); if (hasIndex()) { result = result && getIndex() .equals(other.getIndex()); } result = result && getUnknownFields().equals(other.getUnknownFields()); return result; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!getState().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasIndex()) { if (!getIndex().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasState()) { memoizedIsInitialized = 0; return false; } if (!getState().isInitialized()) { memoizedIsInitialized = 0; return false; } if (hasIndex()) { if (!getIndex().isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } if (hasIndex()) { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasState()) { hash = (37 * hash) + STATE_FIELD_NUMBER; hash = (53 * hash) + getState().hashCode(); } if (hasIndex()) { hash = (37 * hash) + INDEX_FIELD_NUMBER; hash = (53 * hash) + getIndex().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, state_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, index_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, state_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, index_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; }
public org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse getDefaultInstanceForType() { return org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse.getDefaultInstance(); }
public org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse getDefaultInstanceForType() { return org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse.getDefaultInstance(); }
public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, state_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, index_); } getUnknownFields().writeTo(output); }
public Builder mergeFrom(org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse other) { if (other == org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse.getDefaultInstance()) return this; if (other.hasState()) { mergeState(other.getState()); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public Builder mergeFrom(org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse other) { if (other == org.apache.tajo.catalog.CatalogProtocol.GetIndexeDescResponse.getDefaultInstance()) return this; if (other.hasState()) { mergeState(other.getState()); } if (other.hasIndex()) { mergeIndex(other.getIndex()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }