@java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof com.google.protobuf.UInt32Value)) { return super.equals(obj); } com.google.protobuf.UInt32Value other = (com.google.protobuf.UInt32Value) obj; boolean result = true; result = result && (getValue() == other.getValue()); result = result && unknownFields.equals(other.unknownFields); return result; }
@java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue(); hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; }
/** * <pre> * The uint32 value. * </pre> * * <code>optional uint32 value = 1;</code> */ public int getValue() { return instance.getValue(); } /**
/** * Returns the effective config version. Chooses the current default if the service config does * not specify it. */ @Requires(Merged.class) public int getConfigVersion() { Service config = getServiceConfig(); if (config.hasConfigVersion()) { return config.getConfigVersion().getValue(); } return CURRENT_CONFIG_DEFAULT_VERSION; }
/** * Returns the effective config version. Chooses the current default if the service config does * not specify it. */ @Requires(Merged.class) public int getConfigVersion() { Service config = getServiceConfig(); if (config.hasConfigVersion()) { return config.getConfigVersion().getValue(); } return CURRENT_CONFIG_DEFAULT_VERSION; }
case UINT32: case FIXED32: return parseAny(value, com.google.protobuf.UInt32Value.parser()).getValue(); case UINT64: case FIXED64:
case UINT32: case FIXED32: return parseAny(value, com.google.protobuf.UInt32Value.parser()).getValue(); case UINT64: case FIXED64: