@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptorForType().hashCode(); if (hasSpaceName()) { hash = (37 * hash) + SPACENAME_FIELD_NUMBER; hash = (53 * hash) + getSpaceName().hashCode(); } if (hasUri()) { hash = (37 * hash) + URI_FIELD_NUMBER; hash = (53 * hash) + getUri().hashCode(); } if (hasHandler()) { hash = (37 * hash) + HANDLER_FIELD_NUMBER; hash = (53 * hash) + getHandler().hashCode(); } if (hasId()) { hash = (37 * hash) + ID_FIELD_NUMBER; hash = (53 * hash) + getId(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; }
public Builder mergeFrom(org.apache.tajo.catalog.proto.CatalogProtos.TablespaceProto other) { if (other == org.apache.tajo.catalog.proto.CatalogProtos.TablespaceProto.getDefaultInstance()) return this; if (other.hasSpaceName()) { bitField0_ |= 0x00000001; spaceName_ = other.spaceName_; onChanged(); } if (other.hasUri()) { bitField0_ |= 0x00000002; uri_ = other.uri_; onChanged(); } if (other.hasHandler()) { bitField0_ |= 0x00000004; handler_ = other.handler_; onChanged(); } if (other.hasId()) { setId(other.getId()); } this.mergeUnknownFields(other.getUnknownFields()); return this; }
public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; if (!hasSpaceName()) { memoizedIsInitialized = 0; return false; } if (!hasUri()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; }